Register Members List Search Today's Posts Mark Forums Read

Mod Options
Cyb - Advanced Forum Rules Details »
Cyb - Advanced Forum Rules
Mod Version: 3.6, by Valter (Coder) Valter is offline
Developer Last Online: May 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (58 votes - 4.72 average) Installs: 971
Released: 04 Aug 2006 Last Update: 14 Oct 2007 Downloads: 4151
Not Supported DB Changes Uses Plugins Template Edits  



Advanced Forum Rules system for vBulletin.

Main Features:
-Rules shown on separate page (no file uploads required)
-BB codes enabled
-Options to force users to accept Forum Rules before can view forums, post, send PMs,...

See screenshots.

1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
2. OPTIONAL (for some customized styles)
Open template "navbar" and add "$cyb_frules_link" after "vbphrase[faq]</a></td>".
3. OPTIONAL (to add 'reset acceptance status' to different place than default one)
Open template "MEMBERINFO" and add "$cyb_frules_force" wherever you wish.

To set options:
Go to: AdminCP > vBulletin Options > Cyb - Advanced Forum Rules

NOTE: You can check which users are (not) accepted Forum Rules by running db queries:
(Run queries through: AdminCP > Execute SQL Query)
List users who had accepted Rules:
SELECT * FROM `user` WHERE cfrules_read_status > 0;
List users who hadn't accepted Rules:
SELECT * FROM `user` WHERE cfrules_read_status = 0;

v1.0 - Oct 06. 2005.
-First version
v1.5 - Apr 22. 2006.
-Navbar link is added automatically now (one installation step less)
-Navbar "Forum Rules" link can be disabled in hack settings
-"Manage Rules" link is on settings page now (no need for .xml menu file anymore - one file less to upload when installing)
-"Unknown Location" fixed
-Added function to enable/disable whole hack (predefined error message is displayed instead)
-Templates now goes to "Cybernetec" group in Style Manager
To upgrade from 1.0 to 1.5:
-Import product XML through AdminCP > Plugin System > Manage Products > [Add/Import Product] (Be sure "overwrite" is checked). Upload cfrules.php and cfrulesadmin.php (replace old files). Delete file \includes\xml\cpnav_cfrulesadmin.xml.
v1.6 - Aug 04. 2006.
-Release of this hack for vB v3.6
v1.7 - Aug 05. 2006.
-Uncached template bug fixed
v2.0 - Aug 07. 2006.
-Completely changed way this hack works. No more queries, no more file uploads. Now Rules can be exported because it's part of vB settings. Now you can use BB Codes, which means you can use all standard text formatting functions, smilies, etc. To upgrade: Uninstall old version > Import XML as product > Delete "cfrules.php" from your forums root > Delete "cfrulesadmin.php" from "admincp" folder of your forums
v2.1 - Aug 07. 2006.
-Fixed "Edit Forum Rules" link (didn't worked for some users)
v2.2 - Aug 25. 2006.
-If your forum's index.php file was renamed, for any reason, now you can enter new filename in ACP hack options to have this hack working properly
-Added "Product Version Checking" -
v2.3 - Aug 26. 2006.
-New: User must accept Rules to be able to post on Forums (option can be disabled/enabled)
-Look improved (see screenshots)
-Codes improved
-Hack name changed to "Cyb - Advanced Forum Rules"
v2.4 - Aug 27. 2006.
-Fixed small javascript bug
-Removed redirection to forum index after Rules acceptance
-Note 1/2 lines replaced by boxes in hack settings
-Removed navbar link HTML Markup options
-Separate phrase created for navbar link
v2.5 - Aug 31. 2006.
-Added ability to reset read status for all users. After this they will need to accept the Forum Rules again
-Added note at the top of Forum Rules when user need to accept it to be able to post on forums
-Added explanation on how to check which users had (not) accepted Rules
v2.6 - Aug 31. 2006.
-Fixed bug (index file location/name setting doesn't work)
-Fixed bug (if user who haven't accepted Rules try to post via quick reply in IE he gets undefined error)
-Fixed bug (resetting the accepts doesn't work if index file was renamed)
-Added: Guests now also need to accept Forum Rules to be able to post (cookie-based)
-Added: redirection message for user who try to post but haven't accepted Rules
v2.6.1 - Aug 31. 2006.
-Fixed bug (if user has no permissions to post he will get standard "no permission" message, not redirection to Forum Rules)
v2.7 - Sep 11. 2006.
-After acceptance users are redirected to the page they were previously viewing
-No more need to set filename for "index.php" if it was renamed. Now misc.php is used, which nobody has need to rename.
NOTE: Don't forget to update the links to the Rules you were posted on your site - change it to YOURFORUMS/misc.php?do=cfrules
-Added confirmation dialog for resetting acceptance status for all registered users
v2.8 - Sep 14. 2006.
-Added option to exclude usergroups from accepting Rules
-Navbar link title moved from phrases to settings for easier translation/make-up
v2.9 - Sep 24. 2006.
-Added option to reset acceptance status for individual member
v3.0 - Oct 30. 2006.
-Whole code is now valid XHTML 1.0 Transitional
v3.1 - Nov 13. 2006.
-Option to force user to accept rules again in member profile can be turned off
-Added variable for above function that you can place it to another place in MEMBERINFO template ($cyb_frules_force)
-Bug fixed (if some user knows exact link for resetting acceptance status he can do it)
-Several other improvements/fixes
v3.2 - Mar 06. 2007.
-New: User must accept Rules before can send PMs
-New: Options to choose what user can't do before accepting Rules
-New: Option to replace Registration Rules with this hack's one
-New: Better counter (with miliseconds, improved browser compatibility)
-Fixed some "invisible" bugs in code and improved compatibility with the latest vB releases
v3.3 - Apr 21. 2007.
-New: Option to force user to accept Rules before can view forums
-Fixed bug where three queries are executed on places where not needed
-Fixed bug where blank rows are shown twice on registration rules page
-New in registration rules options (disable completely)
-Better redirection after Rules acceptance
-Some other optimizations in codes...
v3.4 - Apr 22. 2007.
-Fixed bug where PMs can not be sent even Rules are accepted
-Fixed bug where Quick Reply does not work even Rules are accepted
-Improved counter and added ability to completely disable it (tested and worked on IE, Firefox, and Opera)
-Improved compatibility with right-to-left styles (note: in Rules use [right] tags anyway)
-Fixed navbar link
v3.5 - Jul 22. 2007.
-Fixed bug (MySQL injection vulnerability - attacker can trick admin to reset rules acceptance status for all members)
-Group membership checking works now for supplementary usergroups too
-Several code improvements
v3.5.1 - Jul 22. 2007.
-Fixed bug (XSS Vulnerability)
v3.5.2 - Jul 23. 2007.
-Another security exploit fixed
v3.5.3 - Jul 25. 2007.
-Fixed bug where user is not properly redirected after accepting rules
v3.5.4 - Jul 25. 2007.
-Bug fixed where username info is not shown when going to reset acceptance status
v3.6 - Oct 14. 2007.
-Fixed bug where some mods are not able to reset acceptance status
-Improved javascript code to fix problems with the counter some users reported
-Minor bug fixes

If you like this hack please click INSTALL.

Rules page demo:

Download Now

Only licensed members can download files, Click Here for more information.


Click image for larger version

Name:	rules.jpg
Views:	6824
Size:	173.6 KB
ID:	52710   Click image for larger version

Name:	needtoaccept.jpg
Views:	6857
Size:	154.2 KB
ID:	52899   Click image for larger version

Name:	redirection.jpg
Views:	4430
Size:	74.9 KB
ID:	52903   Click image for larger version

Name:	forceuser.gif
Views:	3285
Size:	2.0 KB
ID:	53837  

Click image for larger version

Name:	forceuserconfirm.gif
Views:	4199
Size:	10.2 KB
ID:	53838   Click image for larger version

Name:	resetall.gif
Views:	4153
Size:	7.3 KB
ID:	53839   Click image for larger version

Name:	acp.jpg
Views:	2607
Size:	128.7 KB
ID:	63451  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Cyb - Advanced Forum Rules Valter vBulletin 3.7 Add-ons 347 18 Apr 2013 04:22
Cyb - Advanced Forum Rules Valter vBulletin 3.5 Add-ons 21 05 Dec 2007 08:24

Old 30 Dec 2007, 21:39
Bounce's Avatar
Bounce Bounce is offline
Join Date: Mar 2004
Real name: J
Originally Posted by TCooper View Post
anyone have it working on 3.7 beta 2 yet?
Originally Posted by hIBEES View Post
I upgraded and it never stopped working for me mate
Cancel that the Forum Rules link does not appear in the navbar automatically nor does it appear in the members profile...

Will this be available for 3.7.x soon
Thanks for your help

Reply With Quote
Old 30 Dec 2007, 21:46
Alibass's Avatar
Alibass Alibass is offline
Join Date: Mar 2007
Originally Posted by doc1975 View Post
Can anyone please provide me a source where I can copy/use some generic premade forum rules that I may manipulate and change to suit my needs... very inexperienced here, and working on my first forum/site... Thanks in advanced!
Mate you're welcome to use mine and modify to suit your board. I think we all have done that when first starting up a board. Just click the forum rules in the side column.
Reply With Quote
Old 01 Jan 2008, 21:11
Raptor Raptor is offline
Join Date: Nov 2001
Upgraded from 3.1 to 3.54

Now Note 1 and Note 2 do not show & Countdown box doesnt work at all


Have tried uninstalling and installing clean - same results.

3.1 worked fine with both of those features - does anyone have a fix ? or a link back to 3.1


Last edited by Raptor; 01 Jan 2008 at 22:05.
Reply With Quote
Old 12 Jan 2008, 23:31
Alphawolf83's Avatar
Alphawolf83 Alphawolf83 is offline
Join Date: Mar 2005
Real name: Oliver
It returned an JS error when you've already agreed the rules that said that Carf_buttonCounter was not found. To fix this, just edit in template cyb_frules:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Old 18 Jan 2008, 07:01
Alfa1's Avatar
Alfa1 Alfa1 is offline
Join Date: Dec 2005
Does this work in vb 3.7?
Reply With Quote
Old 25 Jan 2008, 18:52
Alfa1's Avatar
Alfa1 Alfa1 is offline
Join Date: Dec 2005
This works well in vb 3.7 B4.

Originally Posted by hIBEES View Post
Cancel that the Forum Rules link does not appear in the navbar automatically nor does it appear in the members profile...
You need to insert $cyb_frules_force in the MEMBERINFO template just like before.When you do that it will work fine.

Originally Posted by Cybernetec View Post
For some reason it stopped working in Firefox.

It works fine in IE and Opera.

I'll fix this later...
Has this been fixed?

I want to implement a forum rules force with every infraction or warning given. Can you please advise on what code I can use to do this? This would really help lessen the workload for my staff. Would you be willing to implement this function into your addon?
Reply With Quote
Old 26 Jan 2008, 12:33
hippiesimz hippiesimz is offline
Join Date: Oct 2006
does anyone have problem with this hack ?
mine , user still can click submit ( after countdown ) without ticking " agree "

please help. thanks

btw, its on 3.68
Reply With Quote
Old 28 Jan 2008, 19:13
netcommander netcommander is offline
Join Date: Dec 2004
i would you like to learn this hack can work without database changes
thank you
Reply With Quote
Old 15 Feb 2008, 22:25
MdrNate MdrNate is offline
Join Date: Feb 2008
Stupid Simple Fix for the Dumb Green color on "Forum Rules" Nav Link

Because it took me nearly 2 hours to parse through the old posts and figure out which ones were out of date and finally resolve this issue (why the creator doesn't just remove the code from the install himself is any body's guess, or spent 5 mins creating a simple outline like this to include in the install notes), I created a simple fix for this.

This was done for a vBulletin 3.6.8 install and using Cyb Advanced Forum Rules 3.6

1. After install, click on "Languages & Phrases" in the left nav of AdminCP
Click "Search in Phrases"

In Search for Test enter "font"
in Product Drop down: select "Cyb - Advanced Forum Rules"
Click Find

Search results will spit out the following:

"cybfrules_rules Standard Phrase <font color="#66ff00">Forum Rules</font>"

Click Edit button

Click Copy Default Text button, remove font tags, so only "Forum Rules" is left, click save
Alternatively you could just copy and paste "Forum Rules" (without the quotes) into the English (US) Translation text box.

Click Save

Reply With Quote
Old 16 Feb 2008, 01:17
Videx's Avatar
Videx Videx is offline
Join Date: Feb 2007
Thanks, done. I didn't mind the green too much until I finally settled on a default forum skin for a new vb and only later found out the colors clashed.
Reply With Quote
Old 16 Feb 2008, 09:50
Valter Valter is offline
Join Date: Aug 2005
All text added with any of my hacks is stored in phrases. So if you want to remove/translate/change anything just search for it in Phrase Manager.

For example you want to change "Forum Rules" color:
-Go to "Phrase Manager"
-Search for "Forum Rules"
-Open for editing phrase where you see FONT tags (phrase name: "cybfrules_rules")
-Remove tags, or change color, or make translations, then save...

This has been explained a million of times.
Reply With Quote
Old 16 Feb 2008, 11:25
Videx's Avatar
Videx Videx is offline
Join Date: Feb 2007
I'm sure it has, but if that's the case, why not put that paragraph up in the initial post right next to the installation instructions where it's easy to find? Be lots easier than re-explaining it a million times. You could remove the long version history to make room.

Then again, I wonder how difficult it might be to add an option to change the link color?
Reply With Quote
Old 16 Feb 2008, 13:23
MdrNate MdrNate is offline
Join Date: Feb 2008
I totally agree. Anytime someone says they've explained it a million times it makes me wonder why. Usually it's because the explanations are either hard to find or are difficult to understand. In this situation it's both. I'm new to vBulletin, but I've installed over 10 hacks in 4 days, this was the first hack that I needed to use the Phrase Manager.

I'd vote to have the "stupid simple" instructions put in the downloaded instructions txt file or on the front page, it's one of the most asked questions what's the resistance to adding it early so you never have to answer it again?
Reply With Quote
Old 21 Feb 2008, 05:25
mariocaz mariocaz is offline
Join Date: Feb 2008
Excellent and useful mod.

Only it will be better if you disable the Mod automatically disable the link in the Nav Bar, only a nice suggestion.
Reply With Quote
Old 21 Feb 2008, 05:43
mariocaz mariocaz is offline
Join Date: Feb 2008
And how can I change the green color of the link in the navbar ??

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 03:43.

Layout Options | Width: Wide Color: