Back to vBulletin 3.7 Add-ons

Bypass registration rules and add to signup page
Mod Version: 1.00, by ringleader

This modification is in the archives.
vB Version: 3.7.4 Rating: (4 votes - 5.00 average) Installs: 31
Released: 15 Dec 2008 Last Update: Never Downloads: 165
Not Supported Uses Plugins Template Edits Re-usable Code Translations  

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
ADD AFTER
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>
4. You're done! Don't forget to click Install.

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.

File Type: %1$s product-moverules.xml (1.3 KB, 178 downloads)

Screenshots

Click image for larger version
Name:	register.jpg
Views:	543
Size:	81.1 KB
ID:	90607  


vblts.ru supports vBulletin®, 2022-2024