GPTEngine logo

GPTEngine End User Documentation

<prev | up | next>

Sign up manager

The entire signup process is controlled by the file gpte33.cgi.

Forms may have different configurations depending on the email verification policy in use, on the required information during the signup process and on what stage of the sig nup process an user is.

General usage:
      (Beginning process)
      
      <a href="cgi-bin/gpte33.cgi?step=0&user_type=UserType">Sign up now!</a>
      
      Where UserType is either Member or Advertiser.
      
      ---------------------------------------------------------------------------
      
      (Entering email address for verification)
      
      <form action="cgi-bin/gpte33.cgi" method="post">
       <input type="text" name="email" />
       <input type="hidden" name="user_type" value="UserType" />
       <input type="hidden" name="step" value="1" />
       <input type="hidden" name="rm" value="Referrer" />
       <input type="submit" name="Submit" />
      </form>
      
      Where UserType is either Member or Advertiser and
       Referrer is the referring member's username (for members only).
      
      ---------------------------------------------------------------------------
            
      (Entering user information)
      
      <form action="cgi-bin/gpte33.cgi" method="post">
       <input type="hidden" name="user_type" value="UserType" />
       <input type="hidden" name="step" value="3" />
       <input type="hidden" name="VC" value="VerificationCode" />
       <input type="hidden" name="referrer"  value="Referrer"/>
       <input type="text" name="email" />
       <input type="text" name="username" />
       <input type="password" name="password" />
       <input type="password" name="password_again" />
       .
       .
       .
       (Other information)
       .
       .
       .       
       <input type="submit" name="Submit" />
      </form>
      
      Where UserType is either Member or Advertiser.
      Referrer is the referring member's username (for members only) got from the
       cookie gpte_referrer.
      If email verification has been done before signup, VerificationCode is contained
       in the cookie gpte_usertype_verified_code.
      Any form submission error is handled by the cookie gpte_form_error.
      Any user information field must have lowercase names disregarding the actual case
       of the information name.
      All required user information must be retrieved by the signup form.         
      
For a better understanding and examples of usage, refer to the code included with your pages.
© 2015 by popux. All rights reserved.