New Account Form Mod/de
![]() |
The mod New Account Form Mod/de is now obsolete. It may have been included in TNG core or another Mod. | ![]() |
New Account Form Mod | |
---|---|
Übersicht | Changes $text variable for override and adds a Reason to Request an account |
Validation | {{{mod_validation}}} |
Download | noch nicht verfügbar |
Download Stats | {{{download_stats}}} |
Autor(en) | ![]() |
Mod-Seite | New Account Form Mod (This page) |
Support | [deutsche TNG-Mailingliste] |
Version | 8.1.1 for TNG V8 |
Min TNG V. | 7.0.0 |
Max TNG V. | 8.1.0 |
Dateien | newacctform.php |
Ähnliche Mods | |
Hinweise | You need to edit the config file to reflect your own reasons for a User Account Request and the information required in the Notes field. If using multiple languages, please add the custom text for your other languages |
Beschreibung
Dies ist eine leicht abgewandelte Version von Ken Roy's New Account Request Form-Mod:
Diese Änderung des Formular fordert neben der standartmäßigen Abfrage von Name, Realname, Passwort und e-mail zusätzlich auch Telefonnummer, Ort und Grund der Beantragung.
Ersteller
Vorteile
Könnte die Anfragen mit mehr Informationen ausstatten, wenn in den zusätzlichen *-Pflichtfelder sinnvolle Informationen reingeschrieben werden.
Änderungshistory
Version | Date | Contents |
---|---|---|
V8.1.0 | 06 Feb 2011 | Versionstart TNG V8 |
Manuelle Installation
Nach diesen Zeilen
else if( form.realname.value.length == 0 ) { alert("<?php echo $text['enterrealname']; ?>"); rval = false; }
wird folgendes eingefügt.
else if( form.phone.value.length == 0 ) { alert("<?php echo $text['enterphone']; ?>"); rval = false; } else if( form.city.value.length == 0 ) { alert("<?php echo $text['entercity']; ?>"); rval = false; } else if( form.notes.value.length == 0 ) { alert("<?php echo $text['enteracctcomments']; ?>"); rval = false; }
dann wird das Sternchen[*] hinzugefügt:
<tr><td valign="top"><?php echo $text['phone']; ?>*:</td><td><input type="text" name="phone" size="30" maxlength="30" /></td></tr> <tr><td valign="top"><?php echo $text['city']; ?>*:</td><td><input type="text" name="city" size="50" maxlength="64" /></td></tr> <tr><td valign="top"><?php echo $text['acctcomments']; ?>*:</td><td><textarea cols="50" rows="4" name="notes"></textarea></td></tr>
Automatische Installation
noch nicht verfügbar!
Custom Text Änderungen
Deutscher Custom Text
languages/German-UTF8/cust_text.php
$text['acctcomments'] = "Grund der Beantragung";
$text['enterphone'] = "Bitte geben Sie Ihre Telefonummer ein.";
$text['entercity'] = "Bitte geben Sie Ihren Wohnort ein.";
$text['enteracctcomments'] = "Bitte geben Sie Ihren Grund der Beantragung ein.";
Englischer Custom Text
languages/English-UTF8/cust_text.php
$text['acctcomments'] = "Reason for applying";
$text['enter phone'] = "Please enter your telephone number.";
$text['enter city'] = "Please enter your residence.";
$text['enteracctcomments'] = "Please enter your reason of the application.";
Anzeige der Änderung
Mit dieser Änderung des New Account Request Form wird der neue beantragende User zusätzlich aufgefordert Telefonnummer, Ort und Grund der Beantragung in das Formular einzugeben. |