![]() |
Force Site Rules (Announcements) to be read
====================
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.
Update the users to 'not read'.
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:
PHP Code:
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. Open forums/usercp.php and find: PHP Code:
PHP Code:
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...
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. |
Now this is a great idea and one that will come in handy for any board :) Fantastic.
I will install later as i have a banging head through to much ale :) But i clicked install :) |
Not installed yet but one quick question, is the navbar included on the rules page? Sorry i know i should read the code/install file but im abit drunk so dare not touch my board yet :)
|
From the screenshot, I say probably not.
Great hack, LiveWire! :) |
Updated with link added to Navbar.
|
Love it :D
One question... I rule an auction type site. Would it be possible to hook this up to the forums? Thanks :D |
What is it that you want it to do? You can make it so it forces in the index.php page of your vB forums
|
Yes that would be great :D
If someone sends them a URL to a post on the forum, will the rules still popup ? |
Very nice, not gonna install as yet but I am sure I will be.. Thanks
The user will only see the rules once? is that based on cookies? |
you mean any url to your forum? If so i might be able to work that, Gotta check it out.
|
All times are GMT. The time now is 11:24 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|