The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Cyb - Advanced Forum Rules Details »» | |||||||||||||||||||||||||
FEATURE UPDATES WILL BE RELEASED HERE:
https://vborg.vbsupport.ru/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" - https://vborg.vbsupport.ru/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 Show Your Support
|
Comments |
#142
|
|||
|
|||
Thanks Cybernetec for a brilliant hack!
I've had it installed (very fast, easy, and troublefree) while my forum (3.6.2) was under development and now that its going live I realise I have created a problem for myself. I'm using a custom style and am not using the navbar at all, and I have a link to the forum rules showing at all times. The problem with that is that guests who are about to register get to see the acceptance bar and they are checking it, thinking this then signifies their acceptance of the rules. This throws them back to the index page, but then, of course, they get the rules that they thought they had accepted all over again before they can post. I just cant work out how or where to do a conditional statement so the acceptance does not show up unless a user is logged in. Can you help please? |
#143
|
|||
|
|||
Nice hack
*farooq clicks install (i think) |
#144
|
|||
|
|||
Are the usergroup ids that are in the exception list only based of primary user group?
I installed the hack as I am an admin in my board. But I have myself and all the other members in the Registered Users group for primary and then additional groups as secondary. My secondary group is Admins and when I enabled the hack, I had to accept the rules, even though the admin group user id is in the exceptions list. Is there a way to have it cover additional usergroups in the exception list? Or did I miss something? |
#145
|
|||
|
|||
Excellent work. Thank you!
|
#146
|
|||
|
|||
Installed, and works perfect.
But I want to display the Navbar link for Guests too. How to modify the Navbar? |
#147
|
|||
|
|||
What is the phrase for the manual reset of individual members? I do not have it at the profile page.
|
#148
|
|||
|
|||
Quote:
Code:
http://yourdomain/forums/misc.php?do=cfrules |
#149
|
|||
|
|||
heres a idea or suggestion.. but first I want to say this is the best rules hack out there today. ok here we go I want to have a seperate set of rules for differatn usergroups. I have a company setup here so i got members need 1 type of rules and i got employees that need another type if rules then i got a single guy i need a special set or rules for him.is there a way to do that or can that be future rules settings on the hack?
|
#150
|
|||
|
|||
*Installed*
Thanks for the great hack.... 2 Things I would like to request or ask about tho, 1) Is there a way to make them agree to this before viewing the website or forum sections at all? Perhaps whenever they try to enter any forum catagory other then the index, it would popup, rather then waiting until the try to post? (some of my members have been angered, because they are about to make a post, they have what they want to post fresh in their mind, then out of nowhere they have to read and agree to something before they can post...) 2) Is there a way that you could make a PM agreement? So that, just like when someone tries to post, it will popup a "PM rules agreement" and/or the forum rules agreement before they can send any PMs? Obviously it would probably be best to have it popup when they try to create a PM rather then when they try to send it, but if it's something you are willing to do at all , I would be very appreciative. -Thanks, WebSpidey |
#151
|
||||
|
||||
great,I like it thnx
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|