Register Members List Search Today's Posts Mark Forums Read

Reply
 
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  

FEATURE UPDATES WILL BE RELEASED HERE:
http://www.vbulletin.org/forum/showthread.php?t=177559



==========


Info:
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.


Installation:
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;


Versions:
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" - http://www.vbulletin.org/forum/showthread.php?t=124679
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: http://www.bihforum.com/misc.php?do=cfrules

Download Now

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

Screenshots

Click image for larger version

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

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

Name:	redirection.jpg
Views:	4431
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:	4154
Size:	7.3 KB
ID:	53839   Click image for larger version

Name:	acp.jpg
Views:	2608
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 03:22
Cyb - Advanced Forum Rules Valter vBulletin 3.5 Add-ons 21 05 Dec 2007 07:24

  #241  
Old 10 Mar 2007, 19:47
Veer Veer is offline
 
Join Date: Feb 2006
version 3.1 was working fine..

I updated to latest version but my forum is not opening,
I disabled the hack and site is fine..

so whats the problem?
Reply With Quote
  #242  
Old 12 Mar 2007, 23:18
captainslater captainslater is offline
 
Join Date: Dec 2005
Real name: Dominic
Hy,

some improvement:

User must re-accept forum rules after eg. 3 months?
Exclude & include usergroups from this.
Reply With Quote
  #243  
Old 15 Mar 2007, 15:20
Makc666's Avatar
Makc666 Makc666 is offline
 
Join Date: Dec 2002
Real name: Maxim
There is a problem with Replace Registration Rules with this one function.

Default forum rules in "$vbphrase[forum_rules_description]" translation string is:

<p><strong>Forum Rules</strong></p> <p>Registration to this forum is free! We do insist that you abide by the rules and policies detailed below. If you agree to the terms, please check the 'I agree' checkbox and press the 'Register' button below. If you would like to cancel the registration, click <a href="{1}">here</a> to return to the forums index.</p> <p>Although the administrators and moderators of {2} will attempt to keep all objectionable messages off this forum, it is impossible for us to review all messages. All messages express the views of the author, and neither the owners of {2}, nor Jelsoft Enterprises Ltd. (developers of vBulletin) will be held responsible for the content of any message.</p> <p>By agreeing to these rules, you warrant that you will not post any messages that are obscene, vulgar, sexually-oriented, hateful, threatening, or otherwise violative of any laws.</p> <p>The owners of {2} reserve the right to remove, edit, move or close any thread for any reason.</p>
When you enable Replace Registration Rules with this one function
and go to Registration page

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

all lines in "new" rules will be separated with double/triple paragrah.

Like this one:

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

But in Forum Rules field these lines are printed like this one:

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

On page:

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

these lines look normal:

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

__________________
...... ...... "А стукачков мы не любим!"

Last edited by Makc666; 15 Mar 2007 at 15:24.
Reply With Quote
  #244  
Old 16 Mar 2007, 02:13
Bree's Avatar
Bree Bree is offline
 
Join Date: Aug 2006
Real name: Bree Davis
*Installed* Thank you bunches!! That was easy as pie, I truly appreciate that LOL vBulletin 3.6.5 http://forum.smnlikdat.com/misc.php?do=cfrules

Also notice the different in the paragraph being spaced on the rules page but it didn't space the rules within the list like that so I'm good... http://smnlikdat.com/Forum/register.php Looks pretty ok to me... at least in IE (don't know about other browsers as I do not use them)..

Anyways, again thanks for a great mod!! Always -Bree
__________________
If something is worth doing....
........................ someone would have done it already =0)
-Unknown
Reply With Quote
  #245  
Old 16 Mar 2007, 18:17
ThePapabear ThePapabear is offline
 
Join Date: Jan 2005
Hello!

I actually installed the newest version of this hack, an promptly running into a problem:
Countdown doesnt work. Neither on Firefox 1.5.0.10 nore on IE7, running on Vista. Even if i set the security setting to lowest available settings.
No Proxy is used.

And then i have a question:
Is it possible to force the Users to accept the rules, when they enter the index?
This would be very fine, because we have installed rules completely new and everybode will have to accept them and i think, this would be a much better place for this step.

Thanks a lot for any help!

greets
ThePapabear
Reply With Quote
  #246  
Old 22 Mar 2007, 21:20
QiK QiK is offline
 
Join Date: Mar 2007
Originally Posted by ThePapabear View Post
Hello!

I actually installed the newest version of this hack, an promptly running into a problem:
Countdown doesnt work. Neither on Firefox 1.5.0.10 nore on IE7, running on Vista. Even if i set the security setting to lowest available settings.
No Proxy is used.
I got the same problem. For the first time it worked very well... but after I have translated this hack to german, countdown doesn't work anymore.
Reply With Quote
  #247  
Old 22 Mar 2007, 22:32
BobbyBig BobbyBig is offline
 
Join Date: Mar 2006
Very nice work Cybernetic, like everytime

I found some Bugs/Errors:

- The "Accept" Button isnt effected by the CSS, even it has set class="button". I dont see why that happens. EDIT: It happens because the javascript which changes the Value for the counter also resets the css calss. So the class must also be set when changing the Value!

- Forum Rules, Note1 , and Note2 are not Phrases. Any way to change that to Phrases ? (we are using English & German for example)

- The Button Counter creates some Problems sometimes, the Button never becomes available.

regards

Last edited by BobbyBig; 30 Mar 2007 at 19:43.
Reply With Quote
  #248  
Old 24 Mar 2007, 18:17
calord calord is offline
 
Join Date: Sep 2006
Awesome hack, small problem

Install went great, configured it and set the options for who to show the rules to and when to show it to them.

I went to post a thread on my forum after install (to test it), and all I get is a blank page. This happens in any forum I test it in. The forum is there, but it disappears when I try to post a new thread. I can reply to existing threads. I cannot create a new thread. I am admin.

Using the latest VB 3.6.5 and a custom template from vbskinworks, if that helps you figure out what the problem is.

Help!

EDIT: Also the "OPTIONAL" instructions posted with your mod are inapplicable; there is no "$vbphrase[faq]" in the navbar template, for starters. There's lots of other $vbphrase but not that one.
Reply With Quote
  #249  
Old 27 Mar 2007, 03:43
daddygrim's Avatar
daddygrim daddygrim is offline
 
Join Date: Mar 2006
Real name: MrGrim
Time (in seconds) user must wait before "Accept" button is enabled this feature doesnt work.
Reply With Quote
  #250  
Old 28 Mar 2007, 16:39
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
I really want to install this hack. I must have all of your other hacks installed.
But I really really really wish you could make this apply to separate forums threads posts.
There is an older hack that allowed you to set the rules to display in any forum or multiples thread etc etc etc.
I've seen this feature requested MANY times in this thread is it possible or out of the question?
Thank you CYB for all your hard work as usual you have another hit on your hands. If you add the suggested feature you have a MOTM for sure.

One other thing. PLEASE READ THE WHOLE THREAD PEOPLE MOST PROBLEMS ARE FIXED YOU JUST HAVE TO FIND IT BY READING!!

Hate when people ask the SAME question 15 times when most the time the answer is a few reply's up.........
Reply With Quote
  #251  
Old 30 Mar 2007, 19:44
dbirosel dbirosel is offline
 
Join Date: Feb 2007
Real name: Dante
Hey, before i install this i have a question. I'm sorry if this been asked already, but what if i just want to apply this to a certain forum? I have a classified section and before my members create a classified, i want them to understand the rules. Can this mod do that?

Thanks!!
Reply With Quote
  #252  
Old 30 Mar 2007, 21:13
daddygrim's Avatar
daddygrim daddygrim is offline
 
Join Date: Mar 2006
Real name: MrGrim
the next release should have a log of people who have read and agreed..and the ones that didnt you can send then an automated message.
Reply With Quote
  #253  
Old 12 Apr 2007, 23:05
mandy71480's Avatar
mandy71480 mandy71480 is offline
 
Join Date: Jun 2005
I would suggest the ability to keep the user from viewing the forums until the rules are accepted. Thanks for this, it has been a big help!
Reply With Quote
  #254  
Old 14 Apr 2007, 07:25
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
I cant get this to work I keep getting some messed up error and now I'm getting the same error when using the WHO VIEWED MY PROFILE hack

300 Mulitple choices? Whats that
Reply With Quote
  #255  
Old 20 Apr 2007, 18:04
gg_luna128 gg_luna128 is offline
 
Join Date: Apr 2007
This product raises the page generation time by 0.3~, which is quite a lot, with 3 new queries everytime a page is loaded.

I might install it again if this is optimized.
Reply With Quote
Reply


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 09:47.

Layout Options | Width: Wide Color: