vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Remove 'agree to forum rules' step from registration (https://vborg.vbsupport.ru/showthread.php?t=141858)

ElForro 04-06-2008 06:03 PM

Yes, It appears not to be working on 3.6.9... Please, anyone knows how to get it working again?

Edit:

Well, I don't really like to modify PHPs, but I really need to remove the rules... so, here it is:

Comment or remove this lines from your register.php

PHP Code:

    if (!$vbulletin->GPC['agree'])
    {
        eval(
standard_error(fetch_error('register_not_agreed'$vbulletin->options['forumhome'], $vbulletin->session->vars['sessionurl_q'])));
    } 

You must enable this Product also...

davemac 04-09-2008 12:44 AM

If you have installed the product, uninstall it. Then edit the product_removerules.xml and find the line:

PHP Code:

$_REQUEST['agree'] = 1

and change it to:

PHP Code:

$_POST['agree'] = 1

Re-install the product. This probably will work for 3.6.9 but I can't say for sure.

Enjoy.

Skavenger 04-09-2008 01:15 AM

Quote:

Originally Posted by davemac (Post 1486355)
If you have installed the product, uninstall it. Then edit the product_removerules.xml and find the line:

PHP Code:

$_REQUEST['agree'] = 1

and change it to:

PHP Code:

$_POST['agree'] = 1

Re-install the product. This probably will work for 3.6.9 but I can't say for sure.

Enjoy.

your fix works fine, thanks!

edit: works on vb3.7rc2 too

GetWebHost 04-14-2008 05:24 AM

Any comment (from fix above) or update from MaestroX?

myown 05-04-2008 08:45 AM

above fix works

ElForro 05-04-2008 10:57 PM

Thanks Davemac! Your fix works great...

diamond-optic 05-23-2008 06:43 AM

fix works perfect for 3.7.0 gold ty

ChrisDean 06-05-2008 04:04 PM

Quote:

Originally Posted by davemac (Post 1486355)
If you have installed the product, uninstall it. Then edit the product_removerules.xml and find the line:

PHP Code:

$_REQUEST['agree'] = 1

and change it to:

PHP Code:

$_POST['agree'] = 1

Re-install the product. This probably will work for 3.6.9 but I can't say for sure.

Enjoy.

PHP Stores server variables in 3 arrays $_REQUEST, $_POST and $_GET

The reason this probably broke on upgrade is that the newer versions access the $_POST array instead of the $_REQUEST (is more correct IMO) but to attempt to "futureproof" my install of this product I left the $_REQUEST version as is but added the $_POST version as shown and (though they'd only ever use it if they were crazy) I added the $_GET version in too.

So in my case I changed:

$_REQUEST['agree'] = 1;

To:

$_REQUEST['agree'] = 1;
$_POST['agree'] = 1;
$_GET['agree'] = 1;

No sure if that helps anyone but I thought I'd add it anyway

Chris

Mr.Abdullah 07-08-2008 06:52 PM

Thank You

ERAFOX 10-08-2008 02:39 AM

fix works fine :D

lovechandigarh 10-11-2008 06:12 PM

doesnt work with 3.7 ???

mooreaa 01-29-2009 03:36 AM

Yeah seems to have stopped working. It would be nice to be able to get this working again if possible.

zefyx 01-29-2009 04:12 AM

Can anyone get this working with vBulletin 3.8.x? Thanks so much in advance!

Chmura 02-02-2009 04:05 PM

3.8 anyone?

Welshy2008 02-08-2009 03:57 PM

3.8.1 ?

Please.

myown 04-22-2009 12:05 PM

does it works with 3.8.x

Welshy2008 06-26-2009 01:33 PM

Quote:

Originally Posted by davemac (Post 1486355)
If you have installed the product, uninstall it. Then edit the product_removerules.xml and find the line:

PHP Code:

$_REQUEST['agree'] = 1

and change it to:

PHP Code:

$_POST['agree'] = 1

Re-install the product. This probably will work for 3.6.9 but I can't say for sure.

Enjoy.

Quote:

Originally Posted by Welshy2008 (Post 1737833)
3.8.1 ?

Please.


The Above works on 3.8.1 - Thank You. :D

Welshy2008 03-07-2010 11:01 AM

Is there a release of this for 4.0.2 anywhere?


All times are GMT. The time now is 01:33 PM.

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.01237 seconds
  • Memory Usage 1,762KB
  • 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
  • (9)bbcode_php_printable
  • (4)bbcode_quote_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
  • (18)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