vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBRules (https://vborg.vbsupport.ru/showthread.php?t=99060)

akanevsky 10-22-2005 10:00 PM

vBRules
 
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 10-23-2005 12:25 AM

FAQ POST

How is this different from HiDeo's Hack?

I did not like HiDeo's hack because of the poor design and because I do not need additional tables and other crap for just one rule block. Also, HiDeo's hack does not allow BBCODE and does not allow parsing customization. Therefore, I decided to make my own hack that would fit my needs. Once I did that I decided to share it here. Hope you like it ;)

Can I disable BBCODE if I don't need it?

Certainly. Look at the screenshots and see for yourself that you can disable any of the following list:
bbcode, html, smilies, [img], automatic line breaks

tnguy3n 10-23-2005 01:37 AM

How is your hack different from this one https://vborg.vbsupport.ru/showthread.php?t=97605 ?

InfiniteWebby 10-23-2005 05:04 AM

FYI: You forgot the rules.php file. =)

XoticGuru 10-23-2005 07:48 AM

./rules.php => ./rules.php

Theres No Rules.php

/me Claps

akanevsky 10-23-2005 10:50 AM

Quote:

How is your hack different from this one https://vborg.vbsupport.ru/showthread.php?t=97605 ?
Read the FAQ post (post #2 in this thread).

Quote:

FYI: You forgot the rules.php file. =)
* XoticGuru Claps
Look again :)

tcs 10-23-2005 10:59 AM

Looks Nice, Less clutter. Will install when I get around to upgrading.

nexialys 10-23-2005 11:05 AM

...

ok, i'm completely stupid maybe, but as the admin is the one to write rules, why do you add html/smilies etc filters ?!

a simple page with the content of your choice can be parsed with all settings activated, so there is no need to set the smilies or bbcodes on... admins usually have permission to use all these codes anyway, so why add the settings in the Rules edition ?!...

anyway... good idea!

XoticGuru 10-23-2005 11:15 AM

Can you explain why when i go to rules.php on my forum all i get is a blank page? I followed all the steps correctly etc and i even tried setting Permissions to 777 still no luck

/me Hopes Its Not Something Stupid

Snake 10-23-2005 12:18 PM

Awesome, having a rules page as a hack is much better than creating a custom vB page... :) Thanks man, I've been looking for this ages ago!


All times are GMT. The time now is 03:10 AM.

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.01267 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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