|
Bypass registration rules and add to signup page
This modification is in the archives.
Description: This mod will remove the first step of the registration process that asks a user to agree to the forum rules, and add it to the following registration page where a user normally chooses a username. All steps (except coppa) will now be available as a single-page signup for users.
Tested & Working on 3.6.10 and 3.7.3 PL1 INSTALLATION INSTRUCTIONS: 1. Download product-moverules.xml from this thread. 2. Go to Admincp -> Manage Products -> Add/Import Product to import this product. 3. Edit template register. FIND Code:
$customfields_other Code:
<fieldset class="fieldset">
<legend>$vbphrase[forum_rules]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>$vbphrase[to_proceed_must_agree]</td>
</tr>
<tr>
<td>
<div class="page" style="border:thin inset; padding:$stylevar[cellpadding]px;<if condition="!is_browser('konqueror')"> height:175px; overflow:auto</if>">
<if condition="$show['coppa']">
<!-- coppa regulations -->
<p><strong>$vbphrase[coppa_policy]</strong></p>
<phrase 1="$vboptions[bbtitle]" 2="$vboptions[forumhome].php$session[sessionurl_q]" 3="register.php?$session[sessionurl]do=coppaform" 4="$vboptions[webmasteremail]">$vbphrase[coppa_rules_description]</phrase>
<!-- / coppa regulations -->
</if>
<!-- regular forum rules -->
<phrase 1="$vboptions[forumhome].php$session[sessionurl_q]" 2="$vboptions[bbtitle]">$vbphrase[forum_rules_description]</phrase>
<!-- regular forum rules -->
</div>
<div><label for="cb_rules_agree"><input type="checkbox" name="agreebypass" id="cb_rules_agree" value="1" /><strong><phrase 1="$vboptions[bbtitle]">$vbphrase[read_agree_abide_by_rules]</phrase></strong></label></div>
</td>
</tr>
</table>
</fieldset>
Attached image: The registration process will bring you directly to this page with the registration rules embedded in it. Download
This modification is archived, downloads are still allowed. Screenshots |
|||||||||