Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501

Deprecated: Function create_function() is deprecated in /opt/lampp/htdocs/aiedam/aiesite/pmwiki.php on line 501
AIEDAM - ZAPSupport-Extensions - Register

Documentation Support > Extensions > Register

Format:   (:zap register="<Password>,<field>":)

Requirements to Use: ZAP | ZAP Toolbox

Explanation: The Register command is a shortcut that makes it easier to allow users to create new member accounts. When using the Register command you must have an input field for "Member" and "Password" in the form. When submitted, this command does the following:

1). Verifies that Member and Password are in the form. Member must be in a format acceptable for a valid pagename. The password must not be blank. Register also checks that no member with the same name already exists.

2). Register saves the Password and any other specified fields at <Profiles>.<Member> depending on the value of the "Member" field. The group can be reset by assigning Login: a new value in the Site.ZAPConfig page. Passwords, and Emails (if Email field is saved) are automatically encoded using ZAP's internal coding mechanism.

If field loginfmt is set to "encrypt", the password is encrypted instead of encoded and the email address is left plain text. If field loginfmt is set to "plaintext" both fields are saved plain text. See the Code command for more information about ZAP's encoding mechanism.

3). If you wish to automatically log a member into their new account, add login=auto to the page before the register command. You will probably also want to use nextpage to send them to a Success page.

Note: To using these <login> accounts, you must have AuthUser enabled, and you must use a ZAP Login form.

As a security feature, this command can ONLY be set using the (:zap field="value":) format.