vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - vBRules (https://vborg.vbsupport.ru/showthread.php?t=215381)

akanevsky 06-04-2009 10:00 PM

vBRules
 
1 Attachment(s)
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

akanevsky 06-05-2009 12:52 AM

~~~~~~~~~~~~
~~ Translations ~~
~~~~~~~~~~~~


German (DU) - by W!cKeD
Italian (IT) - by cionfs

Daniel_HBK 06-05-2009 12:58 AM

excellent hack! & nice idea!

MyChemicalSelf 06-05-2009 01:03 AM

Looks nice installed.

COBRAws 06-05-2009 01:36 AM

Welcome back Anton, thanks for the update.

W!cKeD 06-05-2009 08:14 AM

1 Attachment(s)
* Thank You *


======================
||٭Translation in German٭||
======================

Version History

v1.0.0
--● First Translation (Du-Version) [Works with 2.1.0]

GhoHan 06-05-2009 09:21 AM

Very Good idea & excellent hack... Thanks & Installed.

TalkVirginia 06-05-2009 10:40 AM

Great idea! Thanks! Installed

EDIT: Any idea why the "Forum Rules Menu" wouldn't be showing up in the ADMINCP?
The only option I have available is the vbRules that's listed with the vb options. I've checked to make sure the xml file got copied to my server, and it's there.

Thanks

EDIT: Nevermind... I got it working... :) It was my own mistake. nothing on your part.

Black Tiger 06-05-2009 11:31 AM

Nice to see you again with a great hack. Thank you and installed!:)

Spikeman 06-05-2009 12:51 PM

A great hack as always, thanks Anton

Stifmeister2 06-05-2009 04:01 PM

Quick question:

I currently have version 2.0.3 installed and in this new 2.1.0 you say all template edits are eliminated... What template edits were there in 2.0.3?? Any other than adding the link to navbar?? I need to know this..

Thanks. ;)

akanevsky 06-05-2009 04:23 PM

The link in the navbar was added, but there was also a replacement in register_rules.

Stifmeister2 06-05-2009 06:05 PM

Quote:

Originally Posted by Psionic Vision (Post 1824008)
The link in the navbar was added, but there was also a replacement in register_rules.

Ok thanks. ;)

Dilldogs 06-05-2009 06:43 PM

Thanks for the update Psionic Vision

djbaxter 06-06-2009 11:24 AM

Quote:

Originally Posted by TalkVirginia (Post 1823829)
Great idea! Thanks! Installed

EDIT: Any idea why the "Forum Rules Menu" wouldn't be showing up in the ADMINCP?
The only option I have available is the vbRules that's listed with the vb options. I've checked to make sure the xml file got copied to my server, and it's there.

Thanks

EDIT: Nevermind... I got it working... :) It was my own mistake. nothing on your part.

How did you get it working? I'm having the same problem.

D'oh! Uploaded to the wrong folder... :o Got it. :)

rknight111 06-06-2009 04:07 PM

Since I don't use the standard nav bar on my site, I have a left side menu and would like to add this to that. I figured out this myself but for those that need more info,
The name where you have to direct it is www.yoursitename.com/forum/rules.php Thanks for the hack, this will be a good way to direct people that seem to break the rules and dont remember them.

cionfs 06-06-2009 10:42 PM

1 Attachment(s)
Italian language ;)

Naberius 06-07-2009 02:38 AM

I feel like I should know this, but I can't find the phrase or the link in the navbar template that links to the rules, I use vBadvanced, so on my "index" which isn't contained in my /forums directory I'm getting a link that doesn't exist. IE: http://www.grievous.us/rules.php instead of http://www.grievous.us/forums/rules.php. Anyone have any ideas?

marshal_ramdev 06-07-2009 05:12 AM

thanks ..

Raug 06-07-2009 05:16 AM

I'm having an odd problem where the first set of rules are the only ones taking BBCode. I have the rest set as BBCode on, but it doesn't parse correctly.

AdrianH 06-07-2009 07:54 AM

Good hack thank you :up:

akanevsky 06-07-2009 11:57 AM

Quote:

Originally Posted by Naberius (Post 1824879)
I feel like I should know this, but I can't find the phrase or the link in the navbar template that links to the rules, I use vBadvanced, so on my "index" which isn't contained in my /forums directory I'm getting a link that doesn't exist. IE: http://www.grievous.us/rules.php instead of http://www.grievous.us/forums/rules.php. Anyone have any ideas?

You need to add rules.php into the vBadvanced list of replacements (in admincp). This is generally true for all hacks that add links to the navbar if the link is also to be displayed in vBadvanced.

bunkum 06-07-2009 03:07 PM

Quote:

Originally Posted by djbaxter (Post 1824408)
How did you get it working? I'm having the same problem.

D'oh! Uploaded to the wrong folder... :o Got it. :)

which is the right folder, djbaxter?

thanks :o

djbaxter 06-07-2009 03:33 PM

Everything is specified in the zip file - Initially, I had uploaded them to a subfolder instead of thr forum root.

rules.php -> forum root

/admincp/rule_admin.php -> /admincp/

/includes/xml/cpnav_psi_vbrules.xml -> /includes/xml/

bunkum 06-07-2009 03:44 PM

Quote:

Originally Posted by djbaxter (Post 1825110)
Everything is specified in the zip file - Initially, I had uploaded them to a subfolder instead of thr forum root.

rules.php -> forum root

/admincp/rule_admin.php -> /admincp/

/includes/xml/cpnav_psi_vbrules.xml -> /includes/xml/

thanks so much.

i've put the first two in the right place, i can't find the /includes folder, but i did import the xml, so i guess that takes care of it?

(edit to add i found the includes folder and sorted that bit out, but i'm still getting a 404)

i've now got a forum rules link but it goes to rules.php and brings up a 404 error message?

sorry to be dumb :(

djbaxter 06-07-2009 03:58 PM

Quote:

Originally Posted by bunkum (Post 1825113)
thanks so much.

i've put the first two in the right place, i can't find the /includes folder, but i did import the xml, so i guess that takes care of it?

i've now got a forum rules link but it goes to rules.php and brings up a 404 error message?

sorry to be dumb :(

No. In the zip file you downloaded, there are two .xml files:

1. product-psi_vbrules.xml is the one you import, the product file

2. cpnav_psi_vbrules.xml has to be uploaded to {forum root}/includes/xml/

If you skip step two, you won't have the item in your Admin CP to add any rules, which may be why you are getting the 404 error. (But also make sure that rules.php is uploaded to the forum root.)

bunkum 06-07-2009 04:19 PM

success!!

thank you djbaxter :)

Naberius 06-07-2009 07:40 PM

Quote:

Originally Posted by Psionic Vision (Post 1825024)
You need to add rules.php into the vBadvanced list of replacements (in admincp). This is generally true for all hacks that add links to the navbar if the link is also to be displayed in vBadvanced.

Many thanks, I figured I should've known that.

itsbobtista 07-21-2009 03:35 AM

1 Attachment(s)
The hooks used point to gamingitis.com/forums/#rule1 when it should be gamingitis.com/forums/rule.php#rule1

Any fix for this?

Mahar 07-21-2009 06:33 AM

Very Nice, Installed.

SorentoUltimate 08-08-2009 04:14 AM

Very Good AddOn

i want to install but i have one big problem !!!

i need to define the Language to the rules !!!!

One Set for English
One Set for Greek

can u do that ???

Thanks In Advance
Giorgos

choccyclaire 08-08-2009 02:57 PM

Never did understand why this isn't a vb default feature.

Many thanks.

Broso 11-20-2009 05:15 PM

hello,

i have 2 problems with it

1. how can remove the link from navbar?
2. rules dont show on reg why??

ricardoNJ 11-21-2009 05:10 PM

Thanks!

dfidler 11-22-2009 09:01 PM

Hey mate,

This is an awesome idea; any chance that you're adding language support?

Cheers,
Dave.

SorentoUltimate 11-22-2009 10:16 PM

Quote:

Originally Posted by dfidler (Post 1919147)
Hey mate,

This is an awesome idea; any chance that you're adding language support?

Cheers,
Dave.

+1

i want also the language support !!!

SorentoUltimate

Iguana Goddess 01-22-2010 06:59 PM

Thanks, nice hack.

Greek76 08-03-2010 01:15 AM

Works great on 4.05. Do you have a branding removal option?

Liberato 01-31-2011 11:33 AM

Does anyone know if this is compatible with 4.1.1? Thanks.

Liberato 02-02-2011 12:10 AM

Oh, well. I guess the only way to find out is to give it a try. :-( Here goes nuthin'. - F.


All times are GMT. The time now is 07:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01305 seconds
  • Memory Usage 1,818KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete