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
  #532  
Old 01-15-2014, 10:32 AM
btedition btedition is offline
 
Join Date: Jun 2012
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working here on 4.2.0!

vsarules page taking me to Smilies page and I'm not able to edit the rules as well. Something is wrong for sure there.
Reply With Quote
  #533  
Old 03-18-2014, 12:50 PM
dariyos dariyos is offline
 
Join Date: Nov 2011
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fine,

need only a german translation for this...

does it have a german language pack?

edit: solved
Reply With Quote
  #534  
Old 05-20-2014, 01:29 PM
dariyos dariyos is offline
 
Join Date: Nov 2011
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a function that shows, who accepted the rules and who not?

it should generate a list, that shows who accepted it or who not..
Reply With Quote
  #535  
Old 05-21-2014, 10:17 PM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dariyos View Post
is there a function that shows, who accepted the rules and who not?

it should generate a list, that shows who accepted it or who not..
Works fine for us on vB4.2.2.

You can generate you own reports via a database query, there are extra fields on the user table.
Reply With Quote
  #536  
Old 05-24-2014, 07:29 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just upgraded to PHP 5.4 and the edit rules does not work
The edit window is empty

This change fixed it... (adding ,ENT_COMPAT | ENT_HTML401,"ISO-8859-1" to the htmlspecialchars call -- don't know why it works??
See: http://docs.php.net/manual/en/functi...ecialchars.php

PHP Code:
            if (($_REQUEST['do'] == 'vsaafr_addedit') AND $vbulletin->userinfo['userid'] AND is_member_of($vbulletin->userinfo,6))
            {
                
$vsafr_getrule_set $vbulletin->input->clean_gpc('r''cfrset'TYPE_UINT);
                if (
$vsafr_getrule_set>0)
                {
                    
$vbulletin->db->hide_errors();
                    
$vsafr_getrule $vbulletin->db->query_first("
                        SELECT id, name, rules
                        FROM " 
TABLE_PREFIX "vsa_frules AS vsa_frules
                        WHERE id = '" 
$vbulletin->db->escape_string($vsafr_getrule_set) . "'
                    "
);
                    
$vsafr_getrule['name'] = htmlspecialchars($vsafr_getrule['name'],ENT_COMPAT ENT_HTML401,"ISO-8859-1");
                    
$vsafr_getrule['rules'] = htmlspecialchars($vsafr_getrule['rules'],ENT_COMPAT ENT_HTML401,"ISO-8859-1");
                    
$vbulletin->db->show_errors();
                } 
Edit: The two htmlspecialchars would seem to be pointless anyway
Reply With Quote
Благодарность от:
sevenmix
  #537  
Old 06-01-2014, 01:32 PM
forums55 forums55 is offline
 
Join Date: May 2014
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dariyos View Post
works fine,

need only a german translation for this...

does it have a german language pack?

edit: solved
How did you solve this? I'm trying to translate the rules phrases but I cannot find the VSA phrases in the Phrase Manager. Need support please!
Reply With Quote
  #538  
Old 06-02-2014, 06:47 PM
forums55 forums55 is offline
 
Join Date: May 2014
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod doesn't have the vb rawphrase so I cannot seem to be able to translate it. Should I edit the whole Mod ?
Reply With Quote
  #539  
Old 06-03-2014, 02:17 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Given the rules themselves are an editiable text, there is very little text that can be phrased.

In other words it is a single language mod
Reply With Quote
  #540  
Old 06-03-2014, 01:28 PM
forums55 forums55 is offline
 
Join Date: May 2014
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AusPhotography View Post
Given the rules themselves are an editiable text, there is very little text that can be phrased.

In other words it is a single language mod
Thanks.

Sad though, otherwise is a nice mod.
Reply With Quote
  #541  
Old 06-04-2014, 01:42 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can set up multiple rule sets.
You could do the following:
1. Set up the default set with links to each language specific set of rules
2. Create a rule set for each language you need

You can link each rule by using a syntax like:
.../misc.php?do=vsarules&cfrset=7
The &cfrset=X (X = a number) allows a specific set to be linked.

We use multiple rule sets on our site.
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 12:06 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.08860 seconds
  • Memory Usage 2,374KB
  • 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
  • (1)bbcode_php
  • (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
  • (13)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)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