Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-14-2007, 11:07 PM
Aur-Phala.Com Aur-Phala.Com is offline
 
Join Date: Jan 2006
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default do not require rules tick

do not require rules tick
ok basicly i was wondering how ican make it so in registration a user does not have to tick the box and agree to the rules
i kinda want to shorten the registration steps a little by taking out this page or having to tick the box

can anyone help
Reply With Quote
  #2  
Old 05-17-2007, 01:55 PM
Aur-Phala.Com Aur-Phala.Com is offline
 
Join Date: Jan 2006
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #3  
Old 05-17-2007, 02:08 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add the word checked to the input line, like so in the template.

value="1" checked />
Reply With Quote
  #4  
Old 05-18-2007, 11:55 AM
Aur-Phala.Com Aur-Phala.Com is offline
 
Join Date: Jan 2006
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try this it still requires a user to press the submit button
want it to basicly take that page out
Reply With Quote
  #5  
Old 05-18-2007, 12:51 PM
WhaLberg's Avatar
WhaLberg WhaLberg is offline
 
Join Date: Nov 2006
Location: Dersaadet
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to your register.php and find:
PHP Code:
else
    {
        
$show['coppa'] = false;
        
$templatename 'register_rules';
    } 
Change the 'register_rules' to 'register'.
Reply With Quote
  #6  
Old 05-18-2007, 03:48 PM
Aur-Phala.Com Aur-Phala.Com is offline
 
Join Date: Jan 2006
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edited: worked

some reason doesnt show referer form bit,and noticed when you fill the form in it still asks for the rules to be sumbitted :s

i changed url for u to see so i can still keep default one up
http://www.thedesichill.com/forum/register2.php
Reply With Quote
  #7  
Old 05-18-2007, 03:50 PM
WhaLberg's Avatar
WhaLberg WhaLberg is offline
 
Join Date: Nov 2006
Location: Dersaadet
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Find the code exactly. If you just searched register_rules, there are two more register_rules in register.php.
Reply With Quote
  #8  
Old 05-18-2007, 05:17 PM
Aur-Phala.Com Aur-Phala.Com is offline
 
Join Date: Jan 2006
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have and it still requires the user to go bk and do the rules of agreement in register_rules
Reply With Quote
  #9  
Old 05-18-2007, 05:26 PM
WhaLberg's Avatar
WhaLberg WhaLberg is offline
 
Join Date: Nov 2006
Location: Dersaadet
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you sure you are editing this
PHP Code:
else
    {
        
$show['coppa'] = false;
        
$templatename 'register_rules';
    } 
as
PHP Code:
else
    {
        
$show['coppa'] = false;
        
$templatename 'register';
    } 
Reply With Quote
  #10  
Old 05-18-2007, 05:33 PM
Aur-Phala.Com Aur-Phala.Com is offline
 
Join Date: Jan 2006
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yup 100% sure i amdoign that

PHP Code:

    
}
            else
            {
                if (
$vbulletin->options['checkcoppa'])
                {
                    
vbsetcookie('coppaage'$month '-' $day '-' $year1);
                }
                
$show['coppa'] = true;
                
$templatename 'register_rules';
            }
        }
    }
    else
    {
        
$show['coppa'] = false;
        
$templatename 'register';
    }

    (
$hook vBulletinHook::fetch_hook('register_signup')) ? eval($hook) : false;

    
$url =& $vbulletin->url;
    eval(
'print_output("' fetch_template($templatename) . '");');

Reply With Quote
Reply

Thread Tools
Display Modes

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 01:48 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.09537 seconds
  • Memory Usage 2,256KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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