vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   do not require rules tick (https://vborg.vbsupport.ru/showthread.php?t=147273)

Aur-Phala.Com 05-14-2007 11:07 PM

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

Aur-Phala.Com 05-17-2007 01:55 PM

bump

snakes1100 05-17-2007 02:08 PM

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

value="1" checked />

Aur-Phala.Com 05-18-2007 11:55 AM

try this it still requires a user to press the submit button
want it to basicly take that page out

WhaLberg 05-18-2007 12:51 PM

Go to your register.php and find:
PHP Code:

else
    {
        
$show['coppa'] = false;
        
$templatename 'register_rules';
    } 

Change the 'register_rules' to 'register'.

Aur-Phala.Com 05-18-2007 03:48 PM

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

WhaLberg 05-18-2007 03:50 PM

Find the code exactly. If you just searched register_rules, there are two more register_rules in register.php.

Aur-Phala.Com 05-18-2007 05:17 PM

i have and it still requires the user to go bk and do the rules of agreement in register_rules

WhaLberg 05-18-2007 05:26 PM

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';
    } 


Aur-Phala.Com 05-18-2007 05:33 PM

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) . '");');




All times are GMT. The time now is 07: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
  • Page Generation 0.01004 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete