Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
VSa - Advanced Forum Rules Details »»
VSa - Advanced Forum Rules
Version: 5.0.8, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 02-16-2010 Last Update: 09-16-2012 Installs: 1259
DB Changes Uses Plugins Auto-Templates
 
No support by the author.

Info:
Advanced Forum Rules system for vBulletin.

Main Features:
-Rules shown on separate page (no file uploads required)
-Several sets of rules can be created and applied to individual forums
-Choose between BB codes and HTML in rules
-Options to force users to accept Forum Rules before can view forums or threads, post replies, PMs, or e-mails...
-Option to replace registration rules with this product ones
-Option to reset user acceptance status when infraction is received

View screenshots.

Installation:
-Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]

To set options:
Go to: AdminCP > vBulletin Options > VSa - Advanced Forum Rules

Versions:
v1.0 - Oct 06. 2005.
-First version
v4.0.2 - May 08. 2009.
-Latest vB 3.x version
v5.0 - Feb 17. 2010.
-Updated for vB 4
-Code optimized, some bugs fixed
v5.0.1 - Apr 18. 2010.
-Fixed: Link to Rules in forumdisplay
-Fixed: Ordered list parsing in Rules
v5.0.2 - Nov 21 2010.
-Fixed: Uncached template
-Fixed: Style issues on Rules page
-Fixed: Style issues on Manage Rules pages
-Fixed: Minor bugs
v5.0.3 - May 04 2011.
-Fixed: Security bug
v5.0.4 - May 06 2011.
-Fixed: vbseo users not able to switch rules
v5.0.5 - May 18 2011.
-Fixed: Security bug
-Improved rule acceptance check
v5.0.6 - May 22 2012.
-Compatible with vBulletin 4.2
-Increased number of maximum rule sets
-Fixed some minor bugs
v5.0.7 - May 26 2012.
-Fixed: Navbar link
v5.0.8 - Sep 17 2012.
-Fixed: Incorrect acceptance status for some users

Download Now

File Type: zip VSa - Advanced Forum Rules v5.0.8.zip (12.7 KB, 2238 views)

Screenshots

File Type: jpg rules.jpg (148.0 KB, 0 views)
File Type: jpg redirect.jpg (38.1 KB, 0 views)
File Type: jpg user.jpg (58.4 KB, 0 views)
File Type: jpg manage.jpg (119.5 KB, 0 views)
File Type: jpg apply.jpg (86.3 KB, 0 views)
File Type: jpg acp.jpg (292.3 KB, 0 views)

Show Your Support

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

Comments
  #152  
Old 06-29-2010, 06:01 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
found an uncached template when i check a user's profile ... need a fix
Change this line:
Code:
if ($vbulletin->options['vsafrules_enable_global'] AND (THIS_SCRIPT=='misc'))
to:
Code:
if ($vbulletin->options['vsafrules_enable_global'] AND ((THIS_SCRIPT=='misc') OR (THIS_SCRIPT=='member')))
in "VSa - Advanced Forum Rules - CT" plug-in.
Reply With Quote
  #153  
Old 06-29-2010, 06:21 PM
LuisManson LuisManson is offline
 
Join Date: Jun 2010
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LuisManson View Post
how do i add rules to just one specific forum??
someone could please helpme here?
Reply With Quote
  #154  
Old 07-08-2010, 05:21 PM
orok orok is offline
 
Join Date: Jun 2005
Location: Gaza
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made some changes using additional.css template in the forum style those changes work fine with all pages but not with the rules page.
example:
Public page font style:
Attachment 119419

Forum rules font style:
Attachment 119420

thank you for your great job ...
Reply With Quote
  #155  
Old 07-12-2010, 04:51 PM
snnggledel's Avatar
snnggledel snnggledel is offline
 
Join Date: Dec 2009
Location: oklahoma city
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome mod thanks
Reply With Quote
  #156  
Old 07-20-2010, 12:02 AM
Toni3055 Toni3055 is offline
 
Join Date: Jan 2010
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orok View Post
I made some changes using additional.css template in the forum style those changes work fine with all pages but not with the rules page.
example:
Public page font style:
Attachment 119419

Forum rules font style:
Attachment 119420

thank you for your great job ...
I agree, Valter! Thank you so much for a fabulous mod!

I had a similar issue with the CSS. Most of the styling was there, but it seemed to be missing the components from the additional.css template. (I'm not storing my style sheets externally/as files.)

Here's what worked for me to fix the styling of the rules page. I have no idea if this is the best way, but it seems harmless enough! LOL!

Edit the template Valter Templates ? vsa_frules and add the following after {vb:raw headinclude}:

PHP Code:
{vb:cssfile additional.css

Then scroll down to find the background and text colors for the "highlight" bars at the top and bottom of the rules page. Change them to match your color scheme, save, and you're good to go.

Hope this helps!
Reply With Quote
  #157  
Old 09-14-2010, 03:57 AM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If browser has disabled JS, user will not be able to click "accept" button. Here fix:

In template "vsa_frules"
========================================

REPLACE:

<vb:if condition="($vboptions[vsafrules_time]==0)">value="{vb:rawphrase submit}"<vb:else />value="{vb:raw vboptions.vsafrules_time}" disabled="disabled"</vb:if> />

TO:

value="{vb:rawphrase submit}"

REPLACE:

function VSaFR_buttonCounter() { vsaafr_counter = fetch_object('vsaafr_counter');

TO:

vsaafr_counter = fetch_object('vsaafr_counter');
vsaafr_counter.disabled = true;
vsaafr_counter.value = '{vb:raw vboptions.vsafrules_time}';
function VSaFR_buttonCounter() {
=================================

Patched version here:
http://github.com/rcdesign/vb-foreig...d_forum_rules/
Reply With Quote
  #158  
Old 09-22-2010, 02:45 PM
MonsterDK MonsterDK is offline
 
Join Date: Nov 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, great addon.

How can I change the...
"I have read, and agree to abide by the *** ****** rules. " colour?
At the moment it's in black but my forum is dark so members cannot really see it.

Also how can I change so that the banner on the rules page is centered?
Thanks
Reply With Quote
  #159  
Old 09-23-2010, 02:24 PM
taxick taxick is offline
 
Join Date: Aug 2005
Location: Denmark
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Toni3055 View Post
I agree, Valter! Thank you so much for a fabulous mod!

I had a similar issue with the CSS. Most of the styling was there, but it seemed to be missing the components from the additional.css template. (I'm not storing my style sheets externally/as files.)

Here's what worked for me to fix the styling of the rules page. I have no idea if this is the best way, but it seems harmless enough! LOL!

Edit the template Valter Templates ? vsa_frules and add the following after {vb:raw headinclude}:

PHP Code:
{vb:cssfile additional.css
Then scroll down to find the background and text colors for the "highlight" bars at the top and bottom of the rules page. Change them to match your color scheme, save, and you're good to go.

Hope this helps!
Thanks - This fix help me a lot..
Reply With Quote
  #160  
Old 09-24-2010, 09:07 PM
pgc-cs pgc-cs is offline
 
Join Date: Mar 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there!

I have one question. Is there any way to integrate It with VSa - ChatBox? I mean to create rules for ChatBox and before user accept it, he can't chat (for example displaying small notification to accept these rules instead of place to type the text).
Reply With Quote
  #161  
Old 09-29-2010, 12:20 AM
mishb68 mishb68 is offline
 
Join Date: Sep 2007
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod (as always). Thanks
Reply With Quote
Reply

Thread Tools

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 08:21 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.05524 seconds
  • Memory Usage 2,367KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (12)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete