vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - VSa - Advanced Forum Rules (https://vborg.vbsupport.ru/showthread.php?t=236069)

Valter 02-16-2010 10:00 PM

VSa - Advanced Forum Rules
 
1 Attachment(s)
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

Valter 02-16-2010 10:08 PM

If you have Advanced Forum Rules for 3.x installed:
- Save your Rules to TXT document, to have it in case something goes wrong during upgrade
- This product will automatically save your old rules to a new table (used by vB4 version)
- Remove old version after upgrade if everything works as expected

Please report any bugs you discover.
Mark as Installed, and/or nominate/rate if you like it.

BlackJacket 02-16-2010 10:15 PM

Thanks Valter! This is much needed. Tagged

LuckyNeo 02-16-2010 10:28 PM

Cool! Thanks a lot! this is FIVE and install! You are the one of the BEST!
And please, Advanced Registration :)

AzzidReign 02-16-2010 10:52 PM

Thank you!!! Very nice mod.

fogjuice 02-16-2010 11:06 PM

awesome, you're a hero

GeorgeB85 02-16-2010 11:26 PM

Valter:

Been waiting for this for a long time! My thanks goes to you and SteveM both for this hack!

Trumpetrhapsody 02-17-2010 12:47 AM

So glad this finally got ported, thanks!

One issue.... a number ordered list using the [ list=1 ] code isn't adding the numbers for some reason.

Supramania 02-17-2010 01:23 AM

When I click on the "Manage Rules" link in the mod in the Admin CP, it opens the smile manager?

The link is:

http://www.mysite.com/forums/misc.php?do=vsaafr_mng

GeorgeB85 02-17-2010 02:02 AM

Valter:

Forgot to mention. One thing that would be awesome is to be able to edit the rules text such as bold, hyper links, etc with out doing all the html coding. A set up like when you are posting a new thread or something.

Fastbird 02-17-2010 04:06 AM

Is there any way to have all the rules show up when clicking "Forum Rules" in the navbar? I have it setup in different rule categories and the users have to manually view each rule category. I'd like to keep it separated by category, but I guess I'll put all the rules in one massive category if I have to.

dacho 02-17-2010 06:20 AM

thanx man

Is it possible to allow the spider to skip the rules and explore the content?

Gnoll 02-17-2010 06:39 AM

Tagged for future use :) - cool system

Skyrider 02-17-2010 06:43 AM

Thank u! :D

Bellethiel 02-17-2010 07:44 AM

It seems that the bb code for a unsorted list doesn´t work properly. Besides from that it´s great :3

RedTrinity 02-17-2010 08:00 AM

Quote:

Originally Posted by Supramania (Post 1984247)
When I click on the "Manage Rules" link in the mod in the Admin CP, it opens the smile manager?

The link is:

http://www.mysite.com/forums/misc.php?do=vsaafr_mng

Doing the same for me too :confused:

Quote:

Originally Posted by Fastbird (Post 1984301)
Is there any way to have all the rules show up when clicking "Forum Rules" in the navbar? I have it setup in different rule categories and the users have to manually view each rule category. I'd like to keep it separated by category, but I guess I'll put all the rules in one massive category if I have to.

I'd like this too :)

Valter 02-17-2010 08:51 AM

Are you a member of usergroup 6-Admin?

You must be to access these pages...

RedTrinity 02-17-2010 08:55 AM

Quote:

Originally Posted by Valter (Post 1984410)
Are you a member of usergroup 6-Admin?

You must be to access these pages...

Yep :) And it does let me edit the pages if I go in via the "manage rules" link on the actual rules page. Just takes me to the smilies page if I use the link of the same name/type in the AdminCP, which is a little odd.

mitch84 02-17-2010 09:24 AM

1 Attachment(s)
hi, this hack work on vb4.0.2? please look my navbar,thx

PeteBlume 02-17-2010 10:23 AM

Hey,

is there any possibility to restrict the Access to DownloadsII, if the user doesn't accept the Forum- Rules?

Thenk you

ProFifaLeagues 02-17-2010 10:29 AM

superb mod many thanks installed!

Skyrider 02-17-2010 12:37 PM

1 Attachment(s)
Here's a small bug for you (see attachment)

GeorgeB85 02-17-2010 12:48 PM

Quote:

Originally Posted by FF|Skyrider (Post 1984548)
Here's a small bug for you (see attachment)

Not sure if this is on your end, or another mod is conflicting with this one, as I do not have this issue.

The alignment is a bit off which is a little odd.

Front Range 4x4 02-17-2010 01:08 PM

Quote:

Originally Posted by Supramania (Post 1984247)
When I click on the "Manage Rules" link in the mod in the Admin CP, it opens the smile manager?

Happens to me too.

Skyrider 02-17-2010 01:13 PM

I did noticed the following feature:
Quote:

Reset acceptance status when user received infraction
Would be great if we can set our own rules for them to read when a infraction has been given.

cloferba 02-17-2010 01:27 PM

Quote:

Originally Posted by dacho (Post 1984339)
thanx man

Is it possible to allow the spider to skip the rules and explore the content?

yes! it should..

try to allow guest to see all the forums without accept rules (spiders are not registered)

i know a forum which has this mod (for 3.8.4) and spiders can explore all site

Skyrider 02-17-2010 01:50 PM

Quote:

Originally Posted by cloferba (Post 1984592)
yes! it should..

try to allow guest to see all the forums without accept rules (spiders are not registered)

i know a forum which has this mod (for 3.8.4) and spiders can explore all site

Answer to Dacho:

Before Accepting Rules User Can Not --> View Forums [untag]

OR

Usergroups excluded from restrictions (comma separated ID list) --> 1 (unregistered users)

BUG
I've also found a bug! I just added a new rule and specified a forum. How ever, I removed it because people not withint that usergroup saw the rules! And now people within that section are stuck of accepting the same rules over and over again. how do I solve this?

Supramania 02-17-2010 02:59 PM

Quote:

Originally Posted by Valter (Post 1984410)
Are you a member of usergroup 6-Admin?

You must be to access these pages...

Yes, I'm userid=1 as well.

PinkLiquorice 02-17-2010 05:14 PM

Thank you!

Neptun 02-17-2010 07:45 PM

great hack - i have been waiting for this ! i hope valter will fix the bugs soon that i can use the hack with my vb 4.x suite ;)

thxx for your work

TCB 02-18-2010 10:58 AM

installing it as I type... thanks a lot :D

meschiash 02-18-2010 04:55 PM

1 Attachment(s)
Super, great mod. Thanks.

For interested. Full polish language translation.

ndut 02-19-2010 12:53 AM

nice

PeteBlume 02-19-2010 03:31 PM

Anybody some ideas to integrate Downloads II with a Plugin?
It is realy possible for our forum, to restrict the access to Downloads II if rules not accepted... :(

Supramania 02-19-2010 03:54 PM

Valter,

Any help for my issue?

Videx 02-21-2010 12:11 AM

Quote:

Originally Posted by Supramania (Post 1986554)
Valter,

Any help for my issue?

https://vborg.vbsupport.ru/showpost....&postcount=181

Videx 02-21-2010 12:15 AM

I don't want my current users to have to accept the rules again. But the option "Reset Acceptance Status For All Members" doesn't make it clear if it's going to accomplish that if I press the button.

I mean, is there an option to set all current users as having accepted Rules?

Valter 02-21-2010 12:49 AM

This is automatically done on upgrade. (General Rules).

"Reset Acceptance Status For All Members" will force them all to re-accept.

Videx 02-21-2010 12:54 AM

Quote:

Originally Posted by Valter (Post 1987727)
This is automatically done on upgrade. (General Rules).

"Reset Acceptance Status For All Members" will force them all to re-accept.

That clears up what I suspected - "reset" in this case means to clear their prior acceptance.

But I'm sorry I don't understand about upgrading. I uninstalled all my add-ons when upgrading to 4.0.1, so I didn't actually 'upgrade' this mod, I installed it new. So they're all going to have to re-accept? Not a big deal, just wondering.

Neptun 02-21-2010 03:38 PM

installed and nominated - i love this hack ! its the most usefull !

Question to coder:

Is there a possibility to add to the "Before Accepting Rules User Can Not" functions that the user can not see the CMS or blogs ?! this will be very userfull for me too !

ONE BUG !
HTML Code is not possible in the "Show 'More Rules' drop-down menu on Rules page" function - can you fix this ?! or is this not possible ?!

or can i display two rule sets together ?


All times are GMT. The time now is 05:22 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.01671 seconds
  • Memory Usage 1,818KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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