Version: 1.00, by Logikos
Developer Last Online: Sep 2023
Category: Miscellaneous Hacks -
Version: 3.0.3
Rating:
Released: 07-23-2004
Last Update: Never
Installs: 35
No support by the author.
====================
Author: Ken 'LiveWire' Iovino
Site: www.initialz.com
Hack: Force Site Rules`
Version: 1.0.0
====================
Notes to me rules_on_index_page.txt (9.4 KB, 21 views) Before update
Updates Now have 2 methods of using this.
For the rules to be forced on the index page please download rules_on_index_page.txt
For the rules to be forced on the usercp page please download rules_on_usercp_page.txt
Update the users to 'not read'.
The abilty to set all users back to "not read", so you can update the rules.
Important Notice To Existing Users Update #1
If you are using the index.php method please do this important update. I found a bug in the hack that will show guest the rules and try to force them to agree with them, and if they did it still wouldn't allow them to see the fourms, it would just redirect them back to the rules page. Please do this update so you don't lose your guest viewing your site. All new users, i have updated the install file.
In Index.php find:
PHP Code:
if ($agree)
Replace with
PHP Code:
if (!$bbuserinfo['userid'] or $agree)
---------------------------------
Update #2
If you installed this hack before 10-03-2004, and are using the usercp.php method, please do this important update. This will delete one less query. All new users, the files have been updated.
What this does
This will force your members to read the site rules. When they try to go in the UserCp or the main forums (depending on the method you are using) they will be directed to the Site Rules. (which you make) and have to agree to them in order to use the usercp or forumshome.. Once they agree to the sites forum rules, they will be directed back to the user cp, or forumhome and not be forced to see that page again.
If you want this to force members on a difrrent page, please request it here and i will release how to do it on another page.
To do list...
Time to install: 5 minutes
Queries to run: 1
New Files: 1
/forum/rules.php
File Mods: 1
/forum/usercp.php
Templates to add: 1
New Phrases: 1
Please read carefully and make all the necessary changes as stated. This is will work if installed properly. PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack
Click It
Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.
Please post bugs and errors here. Hope you like, feedback welcomed.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
<fieldset class="fieldset">
<legend>Forum Rules</legend>
<table cellpadding="0" cellspacing="3" border="0" width="100%">
<tr>
<td>In order to proceed, you must agree with the following rules:</td>
</tr>
<tr>
<!-- regular forum rules -->
$vbphrase[custom_forum_rules]
<!-- regular forum rules -->
</div>
<div><label><input type="checkbox" name="agree" value="1" /><strong>I have read, and agree to abide by $vboptions[bbtitle] rules.</strong></label>
</div>
</td>
</tr>
Hello everyone, I am using the cp version of this mod on vb 3.0.7.... All is working except that when the cp linked the person will put a check mark in the the I agree and when they go back to the CP they have to again agree to the terms.
Did I install something incorrectly which is causing the rules to be agreed to everytime someone goes to the CP panel or is this how this was designed?