Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Bypass registration rules and add to signup page Details »»
Bypass registration rules and add to signup page
Version: 1.00, by ringleader ringleader is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.4 Rating:
Released: 12-14-2008 Last Update: Never Installs: 31
Uses Plugins Template Edits
Re-useable Code Translations  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Dr.CustUmz

Comments
  #12  
Old 02-05-2009, 07:30 PM
CLKeenan CLKeenan is offline
 
Join Date: Feb 2005
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm on vbulletin 3.7.2 and I tried installing this mod and it only worked halfway. It added the forum rules to the registration page, but it didn't remove the forum rules page before it.

Has anyone else had this problem with 3.7.2? Another thing that could be causing this problem is the fact that I'm using a vbDrupal installation as my backbone. However, I do have my registration method set to vbulletin so I dont think that would be the cause of the problem.

Thanks for any help in advance!
Reply With Quote
  #13  
Old 02-06-2009, 06:04 PM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haha love the plugin was playing around with the register php and that plugin
messed it up so now it skips age verification + rules alltogether and jumps straigth
to normal registrations.
Reply With Quote
  #14  
Old 02-06-2009, 06:18 PM
Vaupell's Avatar
Vaupell Vaupell is offline
 
Join Date: Apr 2008
Location: Esbjerg, Denmark
Posts: 1,036
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit with this plugin edit.. it works on 3.8.1 as intended.

changeing signup to checkdate
which still enableds DOB on 3.8.1
else its without DOB.
PHP Code:
// if ($_REQUEST['do'] == 'signup')
if ($_REQUEST['do'] == 'checkdate')
{
$_REQUEST['do'] = 'register';
$_POST['agree'] = '1';

Mod installed.. tx. :up: :up:
Reply With Quote
  #15  
Old 06-11-2009, 07:26 AM
timhj timhj is offline
 
Join Date: Jan 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No issues with 3.8.2 fyi... thanks.
Reply With Quote
  #16  
Old 12-09-2009, 10:04 PM
ihstiv ihstiv is offline
 
Join Date: Jan 2009
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great. thanks.
Reply With Quote
  #17  
Old 09-24-2011, 02:33 PM
JohorBahru JohorBahru is offline
 
Join Date: Jan 2009
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's working on 3.8.4 without any extra modification
Reply With Quote
  #18  
Old 08-26-2012, 07:04 AM
doob doob is offline
 
Join Date: Dec 2009
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had to hack the plugin to this to get it to work on 3.8.2.
PHP Code:
if ($_REQUEST['do'] = 'signup')
{
$_REQUEST['do'] = 'register';
$_POST['agree'] = '1';

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.17305 seconds
  • Memory Usage 2,277KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (1)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete