PDA

View Full Version : Mini Mods - Remove 'agree to forum rules' step from registration


MaestroX
03-11-2007, 10:00 PM
Removed

MaestroX
03-12-2007, 03:29 PM
-Reserved-

Sychev_S
03-12-2007, 04:23 PM
Thank you!

SaN-DeeP
03-12-2007, 11:43 PM
Thanks its indeed better to have a Check Box (by default checked) @ end of registration form..

momo2
03-13-2007, 02:29 AM
Excellent, I always hated that most people don't have time to read it anyway and most forums have thier own rules anyway..
________
iphone games (http://macgame.org)

jagari
03-13-2007, 06:21 AM
Couldn't this bring up legal issues for the sites..?


I mean..if they have no rules to agree with..:(

erinys
03-13-2007, 06:56 AM
great mod, i like it!

ninjamaster
03-13-2007, 07:52 AM
thank you

MaestroX
03-13-2007, 10:20 AM
Couldn't this bring up legal issues for the sites..?


I mean..if they have no rules to agree with..:(

You could get round this by putting the rules in the FAQ and then putting at the bottom: "By registering and participating in FORUMNAME, you agree to abide by these rules"

:)

Hensa
03-13-2007, 02:34 PM
Thanks MaestroX! :)

When it says 'upload product', where do I upload it to?

Also, once I have installed it, will I need to do so again each time I upgrade vBulletin?

MaestroX
03-13-2007, 03:36 PM
Hi Hensa, once you've downloaded the .xml go to your adminCP ->Plugins & Products->Manage Products ->[Add/Import Product]

Also, once I have installed it, will I need to do so again each time I upgrade vBulletin?

No, installed products will continue to be installed after vbulletin upgrades.

Hope this helps :)

Hensa
03-13-2007, 04:12 PM
Thanks - got it working. :)

Subah
03-13-2007, 06:56 PM
Tnanks :)

Hensa
03-13-2007, 07:24 PM
I've unsubscribed from this thread - will I still receive notifications of new releases?

MaestroX
03-13-2007, 08:04 PM
I've unsubscribed from this thread - will I still receive notifications of new releases?

Nope, so its probably best if you subscribe but set the notification to weekly. ;)

Hensa
03-13-2007, 08:31 PM
Okay - will do.

s0b
03-16-2007, 03:20 PM
Very much thanks for this add-on, i were looking for it.

Now, how can I add a checkbox in the register page (username, password, email,...) to agree the rules?

Some like "I agree the rules (http://www.myforum.com/rules.php)?"

ra7al
03-31-2007, 11:30 PM
Nice and Good

thanx

:: Install ::

ElfMage
04-05-2007, 12:56 PM
Very much thanks for this add-on, i were looking for it.

Now, how can I add a checkbox in the register page (username, password, email,...) to agree the rules?

Some like "I agree the rules (http://www.myforum.com/rules.php)?"

Open the register template, and find this line:


$customfields_other



And right under it, add the following:


<div><label for="cb_rules_agree"><input type="checkbox" name="agree" id="cb_rules_agree" value="1" /><strong><phrase 1="$vboptions[bbtitle]">$vbphrase[read_agree_abide_by_rules]</phrase></strong></label></div>



This will add the checkbox. But it will not verify whether the user agreed or not... :rolleyes:

DementedMindz
04-08-2007, 06:54 AM
nice mod would be nice to see it remove the Additional Information also.

aceofspades
04-08-2007, 09:20 AM
<3 <3 <3

I asked for this a while ago, thank you for doing this!

MaestroX
04-12-2007, 06:39 PM
Very much thanks for this add-on, i were looking for it.

Now, how can I add a checkbox in the register page (username, password, email,...) to agree the rules?

Some like "I agree the rules (http://www.myforum.com/rules.php)?"


Sorry, haven't checked this thread in a while. Thanks ElfMage for the tips :)

ElfMage
04-12-2007, 08:04 PM
:) Any time..

CNC Venture
04-18-2007, 12:45 AM
Couldn't this bring up legal issues for the sites..?
You could get round this by putting the rules in the FAQ and then putting at the bottom: "By registering and participating in FORUMNAME, you agree to abide by these rules":)
Open the register template, and find this line:

This will add the checkbox. But it will not verify whether the user agreed or not... :rolleyes:Would you run into legal issue if you just had a statement to the effect of "By registering and participating in FORUMNAME, you are agreeing to abide by the forum's rules."?

MaestroX
04-24-2007, 06:37 PM
Would you run into legal issue if you just had a statement to the effect of "By registering and participating in FORUMNAME, you are agreeing to abide by the forum's rules."?

If you have any doubts it would probably be best for you not to install this product.

IMO the forum rules on registering aren't legally binding anyway (and are just as legally solid as the alternative method)

Hard*Drive
05-16-2007, 03:32 PM
Thanks for this great mod! :)

AzH
11-06-2007, 02:30 PM
This conflicts with having "Require users to provide a valid date of birth (1901 to current year)." set to yes. The D.O.B entry section for registration is before the forum rules. It's removed both that and the rules and now I can't get it back despite uninstalling this mod.

Any assistance on putting things back as they should be would be appreciated.

Borden
11-07-2007, 12:01 PM
This conflicts with having "Require users to provide a valid date of birth (1901 to current year)." set to yes. The D.O.B entry section for registration is before the forum rules. It's removed both that and the rules and now I can't get it back despite uninstalling this mod.

Any assistance on putting things back as they should be would be appreciated.

I have the same problem.

AzH
11-07-2007, 04:06 PM
Fixed.

BioWaffen
11-08-2007, 02:33 PM
Excellent mod =)

Sychev_S
01-03-2008, 07:50 AM
Denied before 13 COPPA registration doesn't work with this hack...

TCE Killa
01-14-2008, 11:14 AM
Just what I needed, thanks.

chris1979
01-18-2008, 03:08 PM
Is there a way to make this work with 3.7?

IsMaR
01-24-2008, 09:10 PM
Is there a way to make this work with 3.7?

remove these lines from register.php(somewhere around line 561)

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

and install and enable the hack. im not sure how to make it work but enabling that hack and removing these lines works.

the hack removes the rules page, but it dont make it so that its like the check box is checked in so then it says you did not agree to the rules, that code above is the code that says you did not agree to the rules.

logicuk
02-19-2008, 10:23 PM
this dont work with vb 3.7 i get this error

You have chosen not to accept the forum rules, so registration cannot continue.

Click here to return to the main forums page, or click the 'Back' button on your browser if you now want to agree with the forum rules.

logicuk
02-24-2008, 01:04 PM
has anyone managed to fix this for vb 3.7 b5?

jGas
03-12-2008, 09:05 PM
it doesn't work for me too.. :(

basketmen
03-31-2008, 07:05 PM
Open the register template, and find this line:


$customfields_other



And right under it, add the following:


<div><label for="cb_rules_agree"><input type="checkbox" name="agree" id="cb_rules_agree" value="1" /><strong><phrase 1="$vboptions[bbtitle]">$vbphrase[read_agree_abide_by_rules]</phrase></strong></label></div>



This will add the checkbox. But it will not verify whether the user agreed or not... :rolleyes:
Hi guys, this is my code, it is better than the above code

<div><label for="cb_rules_agre4e"><input disabled checked type="checkbox" name="agree" id="cb_rules_agree" value="1" /><strong><phrase 1="$vboptions[bbtitle]">$vbphrase[read_agree_abide_by_rules]</phrase></strong></label></div>

Skavenger
04-04-2008, 06:04 PM
after upgrade to 3.6.9 this mod stop working for me. I get this error message when I try to register

You have chosen not to accept the forum rules, so registration can not continue.

Click here to return to the main forums page, or click the 'Back' button on your browser if you now want to agree with the forum rules.

momo2
04-05-2008, 09:04 AM
same here after upgrade to 3.6.9 u can not register anymore.. :( no wonder i did not get any new members, good thing i check now

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

if (!$vbulletin->GPC['agree'])
{
eval(standard_error(fetch_error('register_not_agre ed', $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:

$_REQUEST['agree'] = 1;

and change it to:

$_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
If you have installed the product, uninstall it. Then edit the product_removerules.xml and find the line:

$_REQUEST['agree'] = 1;

and change it to:

$_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
If you have installed the product, uninstall it. Then edit the product_removerules.xml and find the line:

$_REQUEST['agree'] = 1;

and change it to:

$_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
If you have installed the product, uninstall it. Then edit the product_removerules.xml and find the line:

$_REQUEST['agree'] = 1;

and change it to:

$_POST['agree'] = 1;

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

Enjoy.

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?