<!-- * Set EDITMETHOD = raw --> ---+ User Registration for the GNHLUG Wiki <div class="twikiNotification"> %X% __IMPORTANT:__ Before you attempt to register, please [[Main.UserRegProcess][read the registration instructions]]. You will not get far without them. %X% </div> <!-- The name="" parameter of the form input tags must start with: Twk0 = for optional fields Twk1 = for required fields --> <script language="javascript"> <!-- function capitalise(name) { var sIn = name; var sOut = ''; var chgUpper = true; for ( var i = 0; i < sIn.length; i++ ) { var ch = sIn.charAt( i ); var chVal = ch.charCodeAt(0); var ch1 = ''; var ch2 = ''; if( ((chVal>=48) && (chVal<=57)) || ((chVal>=65) && (chVal<=90)) || ((chVal>=97) && (chVal<=122)) ) { ch1 = ch; } else if( chVal<=126 ) { ch1 = ' '; } if( (chVal==192) || (chVal==193) || (chVal==194) || (chVal==195) ) { ch1 = 'A'; } if( chVal==196) { ch1 = 'A'; ch2 = 'E'; } if( chVal==197) { ch1 = 'A'; ch2 = 'A'; } if( chVal==198) { ch1 = 'A'; ch2 = 'E'; } if( chVal==199) { ch1 = 'C'; } if( (chVal==200) || (chVal==201) || (chVal==202) || (chVal==203) ) { ch1 = 'E'; } if( (chVal==204) || (chVal==205) || (chVal==206) || (chVal==207) ) { ch1 = 'I'; } if( chVal==208) { ch1 = 'd'; } if( chVal==209) { ch1 = 'N'; } if( (chVal==210) || (chVal==211) || (chVal==212) || (chVal==213) ) { ch1 = 'O'; } if( chVal==214) { ch1 = 'O'; ch2 = 'E'; } if( chVal==216) { ch1 = 'O'; ch2 = 'E'; } if( (chVal==217) || (chVal==218) || (chVal==219) ) { ch1 = 'U'; } if( chVal==220) { ch1 = 'U'; ch2 = 'E'; } if( chVal==221) { ch1 = 'Y'; } if( chVal==222) { ch1 = 'P'; } if( chVal==223) { ch1 = 's'; ch2 = 's'; } if( (chVal==224) || (chVal==225) || (chVal==226) || (chVal==227) ) { ch1 = 'a'; } if( chVal==228) { ch1 = 'a'; ch2 = 'e'; } if( chVal==229) { ch1 = 'a'; ch2 = 'a'; } if( chVal==230) { ch1 = 'a'; ch2 = 'e'; } if( chVal==231) { ch1 = 'c'; } if( (chVal==232) || (chVal==233) || (chVal==234) || (chVal==235) ) { ch1 = 'e'; } if( (chVal==236) || (chVal==237) || (chVal==238) || (chVal==239) ) { ch1 = 'i'; } if( chVal==240) { ch1 = 'd'; } if( chVal==241) { ch1 = 'n'; } if( (chVal==242) || (chVal==243) || (chVal==244) || (chVal==245) ) { ch1 = 'o'; } if( chVal==246) { ch1 = 'o'; ch2 = 'e'; } if( chVal==248) { ch1 = 'o'; ch2 = 'e'; } if( (chVal==249) || (chVal==250) || (chVal==251) ) { ch1 = 'u'; } if( chVal==252) { ch1 = 'u'; ch2 = 'e'; } if( chVal==253) { ch1 = 'y'; } if( chVal==254) { ch1 = 'p'; } if( chVal==255) { ch1 = 'y'; } if( ch1!=' ' ) { if( chgUpper ) { ch1 = ch1.toUpperCase(); chgUpper = false; } sOut+=ch1; sOut+=ch2; } else { chgUpper = true; } } return sOut; } //--> </script> <form action="%SCRIPTURLPATH{"register"}%/%USERSWEB%/%HOMETOPIC%" method="post"> <div class="twikiFormSteps"> <div class="twikiFormStep"> To register a wiki account, [[Main.UserRegProcess][read the instructions]], then fill out this form: </div> <div class="twikiFormStep"> <table border="0" cellpadding="0" cellspacing="6"> <tr> <td></td> <td>%MAKETEXT{"Fields marked [_1] are required" args="=<font color='red'>**</font>="}%</td> </tr> <tr> <td align="right"> %MAKETEXT{"First Name:"}% </td> <td><input %NOREGISTRATION% type="text" name="Twk1FirstName" size="40" class="twikiInputField" value="%URLPARAM{"FirstName" encode="entity"}%" onblur="this.form.Twk1WikiName.value=capitalise(this.value)+capitalise(this.form.Twk1LastName.value)" /> =<font color="red">**</font>= </td> </tr> <tr> <td align="right"> %MAKETEXT{"Last Name:"}% </td> <td><input %NOREGISTRATION% type="text" name="Twk1LastName" size="40" class="twikiInputField" value="%URLPARAM{"LastName" encode="entity"}%" onblur="this.form.Twk1WikiName.value=capitalise(this.form.Twk1FirstName.value)+capitalise(this.value)" /> =<font color="red">**</font>= </td> </tr> <td align="right"> TWiki.WikiName: </td> <td><input %NOREGISTRATION% type="text" name="Twk1WikiName" size="40" class="twikiInputField" value="%URLPARAM{"WikiName" encode="entity"}%" onblur="" /> =<font color="red">**</font>= </td> </tr> <!-- ## NOTE: Optional row for login name, enabled by {Register}{AllowLoginName} option in =configure= * Set BESPOKE_AUTH = <tr><td align=\"right\"> %MAKETEXT{"(how you log in) LoginName:"}% </td><td><input %NOREGISTRATION% type=\"text\" name=\"Twk1LoginName\" size=\"40\" class=\"twikiInputField\" value=\"%URLPARAM{"LoginName" default="%REMOTE_USER%" encode="entity"}%\" /> =<font color='red'>**</font>= </td></tr> --> %IF{"$ ALLOWLOGINNAME" then="%BESPOKE_AUTH%"}% <tr> <td align="right"> %MAKETEXT{"E-mail address:"}% </td> <td><input %NOREGISTRATION% type="text" name="Twk1Email" size="40" class="twikiInputField" value="%URLPARAM{"Email" encode="entity"}%" /> =<font color="red">**</font>= </td> </tr> <!-- ## NOTE: Optional rows for password, enabled by {Register}{AllowLoginName} option in =configure=, we assume that login name means that TWiki does not handle passwords * Set BESPOKE_PASSWORD = <tr><td align=\"right\"> Your password: </td><td><input %NOREGISTRATION% type=\"password\" name=\"Twk0Password\" size=\"40\" class=\"twikiInputField\" value=\"%URLPARAM{"Password" encode="entity"}%\" /> =<font color=\"red\">**</font>= (__not__ the =register= password) </td></tr>\ <tr><td align=\"right\"> %MAKETEXT{"Retype password:"}% </td><td><input %NOREGISTRATION% type=\"password\" name=\"Twk0Confirm\" size=\"40\" class=\"twikiInputField\" value=\"%URLPARAM{"Confirm" encode="entity"}%\" /> =<font color=\"red\">**</font>= </td></tr> --> %IF{"$ ALLOWLOGINNAME < 1" then="%BESPOKE_PASSWORD%"}% <!-- ## NOTE: Optional "system generated password" row for administrators * Set SYSTEM_GENERATED_PASSWORD = <tr><td align=\"right\"> </td><td> <input %NOREGISTRATION% type=\"checkbox\" name=\"Twk0SystemGeneratedPassword\" id=\"SGP\" class=\"twikiCheckbox\" /><label for=\"SGP\"> %MAKETEXT{"Use system generated password"}% </label> </td></tr> --> %IF{"$ ALLOWLOGINNAME < 1 AND '%USERNAME%' ingroup 'TWikiAdminGroup' AND {Register}{AllowSystemGeneratedPassword}" then="%SYSTEM_GENERATED_PASSWORD%" else="<nop>"}% <!--## NOTE: Optional "must change password" row for administrators * Set MUST_CHANGE_PASSWORD = <tr><td align=\"right\"> </td><td> <input %NOREGISTRATION% type=\"checkbox\" name=\"Twk0MustChangePassword\" id=\"MCP\" class=\"twikiCheckbox\" /><label for=\"MCP\"> %MAKETEXT{"Must change password"}% </label> </td></tr> --> %IF{"$ ALLOWLOGINNAME < 1 AND '%USERNAME%' ingroup 'TWikiAdminGroup'" then="%MUST_CHANGE_PASSWORD%" else="<nop>"}% <tr> <td align="right"> %MAKETEXT{"Organization:"}% </td> <td><input %NOREGISTRATION% type="text" name="Twk0Organization" size="40" class="twikiInputField" value="%URLPARAM{"Organization" encode="entity"}%" /></td> </tr><tr> <td align="right"> %MAKETEXT{"URL:"}% </td> <td><input %NOREGISTRATION% type="text" name="Twk0URL" size="40" class="twikiInputField" value="%URLPARAM{"URL" encode="entity"}%" onBlur="if(this.value=='http://') { this.value='' }" onFocus="if(this.value=='') { this.value='http://' }" /></td> </tr><tr> <tr> <td> </td> <td> <input type="hidden" name="rx" value='%BLACKLISTPLUGIN{ action="magic" }%' /> <input type="hidden" name="topic" value="%TOPIC%" /> <input type="hidden" name="topicparent" value="UserList" /> <input type="hidden" name="action" value="register" /> <input %NOREGISTRATION% type="submit" class="twikiSubmit" value=' %MAKETEXT{"Submit"}% ' /> (and then enter the =register= password) </td> </tr> </table> </div><!-- /twikiFormStep--> <div class="twikiFormStep twikiLast"> * Registration is subject to the terms in our GNHLUG.LegalNotice * All entries will be recorded, and all except the password published </div><!-- /twikiFormStep--> </div><!-- /twikiFormSteps--> </form> <div class="twikiNotification"> %X% __IMPORTANT:__ Before you attempt to register, please [[Main.UserRegProcess][read the registration instructions]]. You will not get far without them. %X% </div>
This topic: TWiki
>
TWikiRegistration
Topic revision: r23 - 2023-12-26 - BenScott
Copyright © 1999-2025 by the contributing authors. All material from TWiki is the property of the contributing authors.
Questions, comments, or concerns?
Contact GNHLUG
.
All use of this site subject to our
Legal Notice
(includes Terms of Service).