PDA

View Full Version : Administrative and Maintenance Tools - vBRules


akanevsky
06-04-2009, 10:00 PM
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*=============================================*\
|| vBRules
||
|| Author : Anton Kanevsky
|| Works on : vBulletin 3.5.x - 3.8.x
|| Released : Jun 04, 2009
||
|| Time required to install: ~30 seconds
|| Difficulty: easy
\*=============================================*/

DESCRIPTION

Do you need to create a custom "Website Rules" page within your forums? This modification features a friendly admin cp control, where you can easily create a page of rules for your website.

STATISTICS

Products to Install: 1


FEATURES


Zero file or template modifications.
Automatic generation of the table of contents.
Support for multiple rule sections with titles.
Support for vB Code, HTML and Smilies.
Ability to remove native vBulletin rules from registration system and replace them with your own set of rules.
Flexible per-rule settings

Title
Message
Display in Site Rules
Display in Registration
Display in Table of Contents
Allow HTML
Allow Smilies
Allow BB Code
Allow [IMG] Code
Auto Linebreaks
Display Order




VERSION HISTORY

2.1.0
[+] The hack is now compatible with vBulletin 3.5.x - 3.8.x.
[+] Eliminate all template edits.

2.0.3
[+] The software is now free.

2.0.2
[F] Corrected a Phrasing Issue
[F] Corrected a couple of Template Issues
[+] Officially Compatible With vBulletin 3.6.0

2.0.1
[F] Corrected a Licensing Issue

2.0.0
[F] First Release of the Gold Edition.

1.0.0
Initial Release of Lite Edition

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=215381)

akanevsky
06-05-2009, 12:59 AM
First Post Reserved.

BobbyT
06-05-2009, 03:06 AM
Looks promising. Will try this out sometime. Tagged for now.

mokonzi
06-06-2009, 07:22 PM
Does this allow both the normal rules and the rules from this hack to be listed a the time of registration?

akanevsky
06-06-2009, 07:31 PM
Does this allow both the normal rules and the rules from this hack to be listed a the time of registration?

Currently, the hack gives you a choice of whether to display the normal rules or the rules of this hack. You have to choose one. However, if you think it's necessary to be able to display both, this might be implemented in a future release.

mokonzi
06-06-2009, 07:59 PM
It would be something I'd consider. I will probably have a play around with this when I get some time this next week and see if I would like it or not.

I'm thinking mainly from the context of the regular rules being sufficient, but with some unique rules for the forum that would be nice to have displayed similarly.

Will see how it works first though :)

m_k
08-02-2009, 05:55 PM
if you think it's necessary to be able to display both, this might be implemented in a future release.

I solved this by linking to the vbRules page from the default registration rules -->

102805

m_k
08-02-2009, 06:08 PM
Having only recently upgraded to 3.7.6 from 3.6.x, it would seem there is something different in how the navbar is coded

I have installed the vbRules hack which has added a link in my navbar to the new rules page. I would like to delete this entry and instead stick it on my secondary navbar to make things a bit less crowded. When I go to edit the navbar template however, I can't figure out where to make the changes - before I could just look for "rules.php" and narrow down the place to edit, but so far am stumped... any suggestions?