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

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
  #172  
Old 10-15-2010, 08:20 AM
cr8or cr8or is offline
 
Join Date: Aug 2010
Location: Romania
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCB View Post
Thanks

There's one thing not working: the ordered list isn't showing. When I add the code for the ordered listing, after submitting this listing, it doesn't show. But I see in this topic that this problem has already been submitted weeks ago.

Does this work with other people? I think it's an important part of showing the rules, since this is basically always a sorted list?
First of all I want to thank you valter for all the great plugins you've made!

Now I want to tell u that I have a small problem with displaying the forum rules for registered users. Administrators and moderators can see the forum rules and accepted them but if I log as a simple user I can't see forum rules just the button to accept the forum rules

Thank you,
Cristian

L.E.: A friend of mine helped me fix this problem: Go to AdminCP -> Plugin Manager and Edit "VSa - Advanced Forum Rules - RA". Find the line "$vsafrexclfids .= ','.$vsafrforum['forumid'];" and just before it add "if ($vsafrforum['forumid'] > 0) ". Save and you're done.
Reply With Quote
  #173  
Old 10-21-2010, 12:04 AM
shanef shanef is offline
 
Join Date: Sep 2010
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Valter View Post
Esure that you have no two instances of navbar_end hook in navbar template.
I have another mod that has that in it for there button, Is there a way that i can change yours?
Reply With Quote
  #174  
Old 10-21-2010, 08:04 PM
msolano msolano is offline
 
Join Date: Oct 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod but I had to uninstalled it, the page looks very weird. Seems like the template is broken, I have vb 4.0.7. Tagged for the future.
Reply With Quote
  #175  
Old 11-04-2010, 02:36 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works for us on vB4.0.7

Cheap hack to put rules on its own TAB (this works, but is redacted from what I did for other reasons)

Find
Code:
			if ($vbulletin->options['vsafrules_show_link'])
			{
				$vsa_frules_link .= '<li>';
			}
			$vsa_frules_link .= '<a href="'.$vbulletin->options['bburl'].'/misc.php?do=vsarules"';
			if ($vbulletin->options['vsafrules_link_color']!='')
			{
				$vsa_frules_link .= ' style="color:'.$vbulletin->options['vsafrules_link_color'].'"';
			}
			$vsa_frules_link .= '>'.$vbphrase['vsafrules_rules'].'</a>';
			if ($vbulletin->options['vsafrules_show_link'])
			{
				$vsa_frules_link .= '</li>';
				$template_hook['navbar_end'] .= $vsa_frules_link;
			}
replace with
Code:
			if ($vbulletin->options['vsafrules_show_link'])
			{
				$vsartabselected = '';
				if (THIS_SCRIPT == 'misc' && ($_REQUEST['do'] == 'vsarules' || $_REQUEST['do'] == 'vsaafr_mng'  || $_REQUEST['do'] == 'vsaafr_addedit'))
				{
					$vbulletin->options['selectednavtab']='misc';
					$vsartabselected = ' class="selected"';
				}
				$template_hook['navtab_end'] .= "<li".$vsartabselected."><a class=\"navtab\" href=\"".$vbulletin->options['bburl']."/misc.php?do=vsarules\" title=\"Forum Rules\" >Forum Rules</a></li>" ;
			}
Reply With Quote
  #176  
Old 11-11-2010, 08:22 AM
LordMike LordMike is offline
 
Join Date: Jul 2007
Location: Belgium
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome mod !
Reply With Quote
  #177  
Old 11-12-2010, 09:48 AM
marcopolo marcopolo is offline
 
Join Date: Dec 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to incorporate this into the registration process. We would like to force people to click into the forum rules box as part of the registration rarther than just being able to tick the box?
Reply With Quote
  #178  
Old 11-15-2010, 05:21 AM
CoryHawk CoryHawk is offline
 
Join Date: Apr 2005
Location: Oklahoma City, OK
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This seems to be messing with my theme... any thoughts on what is causing the formatting to go wonky when viewing the rules?

http://www.prisonofficer.org/misc.php?do=vsarules
Reply With Quote
  #179  
Old 11-21-2010, 11:44 AM
DaPro DaPro is offline
 
Join Date: Jan 2003
Location: CT, USA
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CoryHawk View Post
This seems to be messing with my theme... any thoughts on what is causing the formatting to go wonky when viewing the rules?

http://www.prisonofficer.org/misc.php?do=vsarules
Hey bud I figured it out. Valter needs to update his plugins to include

{vb:raw headinclude_bottom}

in the template. Add this to the "vsa_frules" template under the "Valter Templates". Add it under the <title> tags. Best of luck!
Reply With Quote
  #180  
Old 11-21-2010, 01:36 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

To upgrade:
-Import product XML, allow overwrite
Reply With Quote
  #181  
Old 11-21-2010, 02:18 PM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update Valter. But I still don't get the countdown timer or accept button. Can you please help with that. Thanks.
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 08:00 AM.


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.14038 seconds
  • Memory Usage 2,361KB
  • Queries Executed 26 (?)
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
  • (3)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_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