Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBRules Details »»
vBRules
Version: 2.1.0, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 10-22-2005 Last Update: 06-04-2009 Installs: 121
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 10-29-2005, 12:23 PM
Regenerate Regenerate is offline
 
Join Date: Aug 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi. I did everyting, seemed to be going fine, but on the rules page (http://www.dutchjoomlers.com/rules.php) there're no rules... Where can I put these in?

Thanks in advance...
Reply With Quote
  #23  
Old 10-29-2005, 01:19 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can write them in using your vBulletin Options (category vBRules)
Reply With Quote
  #24  
Old 10-30-2005, 12:32 AM
Dougie Nunny Dougie Nunny is offline
 
Join Date: Mar 2004
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, I am still having major problems with your script.

Are you going to help?

EVERYTHING you're manual says to do has been done.

Phrase translated...
Rules.php writen...
XML uploaded...

And it STILL shows as a blank page.

Why?
Reply With Quote
  #25  
Old 10-30-2005, 12:51 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PM me with your admincp access and I'll take a look at it.
Reply With Quote
  #26  
Old 11-06-2005, 06:36 AM
jokerz jokerz is offline
 
Join Date: Oct 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfectly fine! BUT.. I'm having a problem with forum rules page. I get:
Fatal error: Call to a member function on a non-object in /home/xxxx/public_html/forums/rules.php on line 25
Reply With Quote
  #27  
Old 11-06-2005, 10:23 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you kidding me?

Line 25 and around, code is:

PHP Code:
// pre-cache templates used by all actions
$globaltemplates = array(
    
'RULES',
); 
Maybe you are using a different rules page? Upload the one in my archive
Reply With Quote
  #28  
Old 11-06-2005, 12:40 PM
The M.I.P.'s Avatar
The M.I.P. The M.I.P. is offline
 
Join Date: Nov 2002
Location: 127.0.0.1
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe, you should also have a look at Forumteaser (moderator-editable texts in forumdisplay) which gives you the possibility to add forum-specific rules editable by moderators.
Reply With Quote
  #29  
Old 11-06-2005, 01:43 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe I should, but that is irrelevant to this hack... You forget that I did this hack for my purposes, and I only share it here for those who might find it useful.
Reply With Quote
  #30  
Old 11-06-2005, 02:08 PM
jokerz jokerz is offline
 
Join Date: Oct 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
Are you kidding me?

Line 25 and around, code is:

PHP Code:
// pre-cache templates used by all actions
$globaltemplates = array(
    
'RULES',
); 
Maybe you are using a different rules page? Upload the one in my archive
omg!? I do not have that line 25 in rules.php

line 25 is:
PHP Code:
// ########################################################################
// ######################### START MAIN SCRIPT ############################
// ########################################################################
==== this is line 25 as blank line ==== 
$parser =& new vB_BbCodeParser($vbulletinfetch_tag_list()); 
Reply With Quote
  #31  
Old 11-06-2005, 02:24 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are in the wrong thread buddy. That question is pertinent to HiDeo's rules hack, which is located in his thread

If you are trying to install my hack, install my rules.php...
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05308 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete