![]() |
Bypass registration rules and add to signup page
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"> Attached image: The registration process will bring you directly to this page with the registration rules embedded in it. |
Thanks :-)
Just what I needed. |
Quote:
|
I didn't check properly. It doesn't work on my forum (3.8.0 rc1). No matter if I check the box I land on a "You didn't accept rules" page. Any idea what may be wrong?
|
My bad.
Change this in the template edit: Code:
<div><label for="cb_rules_agree"><input type="checkbox" name="agree" id="cb_rules_agree" value="1" /><strong><phrase 1="$vboptions[bbtitle]">$vbphrase[read_agree_abide_by_rules]</phrase></strong></label></div> Code:
<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> |
Thanks. Everything works fine.
|
This mod stopped working in 3.8. Anyway to get this working again?
|
I'd also love to get this for 3.8 if possible?
|
I had to make a super-fast-and-dirty hack to make this work again. This is a core file change, so don't do it unless you're fine doing it before every upgrade:
In register.php find this: PHP Code:
PHP Code:
|
Quick and dirty hack is installed and working on 3.8
|
All times are GMT. The time now is 06:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|