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)

Taurus1 10-01-2010 06:28 AM

When the accept rules page comes up, I do not have the countdown timer or accept button/links showing. Can you please help. Thanks!

jluerken 10-06-2010 02:32 PM

Hi Valter,

thanks for this great mod.
I have two questions:

1. I want to disable the default rules. They are shown during registration anyhow. Is there a way I can do this?

2. The "forum rules" link in the Navbar should move as sublink to "useful links". How can I do this?

Regards
jluerken

Bobbo 10-07-2010 06:12 PM

First of all, great mod! Thank you!

Does everyone else see their Forums displayed by the proper display order when they click on the Apply to Forums link? Mine certainly don't, which makes if confusing if you have a large number of forums.

Wajdan 10-09-2010 05:05 PM

Need all fixes please, developer.

GeorgeB85 10-14-2010 04:38 PM

I would like to make a feature request. I would like a feature that forces users to accept the forum rules BEFORE they can do anything at all on the site.

Videx 10-14-2010 05:54 PM

Quote:

Originally Posted by GeorgeB85 (Post 2110133)
I would like to make a feature request. I would like a feature that forces users to accept the forum rules BEFORE they can do anything at all on the site.

This is how vbulletin behaves by default. Are you having some specific trouble?

GeorgeB85 10-14-2010 06:30 PM

Quote:

Originally Posted by Videx (Post 2110153)
This is how vbulletin behaves by default. Are you having some specific trouble?


No, not that I am aware of. I am meaning, that I would like for all users to accept forum rules before doing anything at all on the site, even viewing threads. Right now, there is just a few options.

Videx 10-14-2010 07:03 PM

You can stop Guests viewing threads, but I'm not sure it's a good idea. Remember this will also block search bots and your external RSS provider. AdminCP>Usergroups>User Group Manager>edit Unregistered/Not logged in>Forum Viewing permissions.

A much better solution is Limited Guest Viewing -- Motivate Guests to Register which allows search bots and teasers while encouraging people to join.

GeorgeB85 10-14-2010 07:45 PM

Quote:

Originally Posted by Videx (Post 2110170)
You can stop Guests viewing threads, but I'm not sure it's a good idea. Remember this will also block search bots and your external RSS provider. AdminCP>Usergroups>User Group Manager>edit Unregistered/Not logged in>Forum Viewing permissions.

A much better solution is Limited Guest Viewing -- Motivate Guests to Register which allows search bots and teasers while encouraging people to join.

I am not talking about guests. Just registered members. Meaning before any registered member can do anything, they must accept the forum rules.

Videx 10-14-2010 08:06 PM

This mod will force all existing members to accept the rules. Caused quite a stir when I installed it.

cr8or 10-15-2010 08:20 AM

Quote:

Originally Posted by TCB (Post 2013105)
Thanks :D

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.

shanef 10-21-2010 12:04 AM

Quote:

Originally Posted by Valter (Post 2026521)
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?

msolano 10-21-2010 08:04 PM

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.

AusPhotography 11-04-2010 02:36 AM

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>" ;
                        }


LordMike 11-11-2010 08:22 AM

Awesome mod !

marcopolo 11-12-2010 09:48 AM

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?

CoryHawk 11-15-2010 05:21 AM

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

DaPro 11-21-2010 11:44 AM

Quote:

Originally Posted by CoryHawk (Post 2122006)
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!

Valter 11-21-2010 01:36 PM

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

Taurus1 11-21-2010 02:18 PM

Thanks for the update Valter. But I still don't get the countdown timer or accept button. Can you please help with that. Thanks.

haytham 11-21-2010 02:29 PM

Thanks for the update.

SwollenCranium 11-21-2010 02:46 PM

Thanks for the mod !

Q. Is there an aggregate list of who has or who has not accepted the rules?

If there is I'm missing it.

LordMike 11-21-2010 03:27 PM

thanks for the update although I didn't had any problems with it I'm very happy :)

Valter 11-21-2010 07:14 PM

Quote:

Originally Posted by Taurus1 (Post 2124203)
Thanks for the update Valter. But I still don't get the countdown timer or accept button. Can you please help with that. Thanks.

Ensure that there is no something wrong in your style, or another hack, or template edit,... which is messing JavaScript.

Taurus1 11-21-2010 08:43 PM

Thanks for the response. It does not work on any of my styles. And how will I know if something is messing with Javascript?

Peter_AUS 11-21-2010 09:29 PM

Thanks for the update.

msolano 11-23-2010 06:28 PM

Great, you fixed the vsa_frules template. I fixed it some days ago because I have css definitions in additional.css and "{vb:raw headinclude_bottom}" instruction was missing.

Thank you for this great mod.

E.T. 11-23-2010 08:03 PM

Thanks for this great mod :up:

Is it possible to hide the VSa - Chatbox also till a user have accept the rules ? Or at least a message the user must first accept the forum rules before he can do any shout in the chatbox.

Please advise

CvP 11-25-2010 05:57 PM

Is the "unable to accept rules if script is disabled" (mainly people using mobile browsers) problem has been fixed yet?

SEW810 11-26-2010 03:58 AM

https://vborg.vbsupport.ru/external/2012/01/11.gif Updated
https://vborg.vbsupport.ru/external/2012/01/11.gif Works on vB 4.0.8 PL 2

Thnx !!!!

alencete 12-09-2010 07:31 AM

Work in 4.1 PL2, Thanks Valter, good work :)

Paul. 12-11-2010 04:55 PM

Can I just ask a question .. after doing some reading, I'm seeing that for every post or thread someone makes they need to say they agree to the forum's rules or can be set that way if you like?

SnapOff Racing 12-14-2010 10:36 AM

As a future feature I would like to suggest the option to allow separate permission settings for each rule. So in addition to the already separate rules and per forum rules....

Example:
RULE 1
Before Accepting Rules User Can Not: View Forums, View Threads

RULE 2
Before Accepting Rules User Can Not: Post Threads, Post Replies

This way users wouldn't have to read/accept certain rules depending on what they are doing in the forum. If they are just VIEWING then no need to accept certain rules. But if they decide to POST then that would trigger them to read/accept a certain set of rules.

onehost 12-18-2010 03:02 AM

Quote:

Originally Posted by SnapOff Racing (Post 2133681)
As a future feature I would like to suggest the option to allow separate permission settings for each rule. So in addition to the already separate rules and per forum rules....

Example:
RULE 1
Before Accepting Rules User Can Not: View Forums, View Threads

RULE 2
Before Accepting Rules User Can Not: Post Threads, Post Replies

This way users wouldn't have to read/accept certain rules depending on what they are doing in the forum. If they are just VIEWING then no need to accept certain rules. But if they decide to POST then that would trigger them to read/accept a certain set of rules.

I would never post on such a forum..one blanket TOS/rules is all you
need, they either agree, or they leave..its that simple.

SnapOff Racing 12-18-2010 10:15 PM

Quote:

Originally Posted by onehost (Post 2135725)
I would never post on such a forum..one blanket TOS/rules is all you
need, they either agree, or they leave..its that simple.

How the hell do YOU know what I NEED? My forum currently has over ~200,000 members and receives over ~80,000+ visits per day, so don't try to act like you know what it is that I need. I have lots of different sections of my forum that require members to know and understand SPECIFIC RULES/GUIDELINES before they can be posting in those forums. Rather than force ALL members to read those SPECIFIC RULES/GUIDELINES it would be much simpler to just force only those members who are attempting to POST in those sections as the SPECIFIC RULES/GUIDELINES only apply to those users.

godarium 12-22-2010 03:25 PM

all "Usergroups excluded from restrictions" can read the text.. if i register a bot ttest i can read it at end of form.. but if i look in forum rule by my self, with a non "Usergroups excluded from restrictions" status, i can see page but, and button with timer, but not the rule text himself, and not see scrool rule list



i use vbulletin 4.1.0 patch level 2

thanks for answer

Martini-man 12-22-2010 05:58 PM

I have a huge problem with this mod.

When I try do disable it, the users STILL can't post. They always get the "don't have permission to..." message and even when I enable it and change the settings, it still doesn't let them post.

I've tried to unnistall it, and even then it STILL won't let the users post.

Please, I need help desperately, as my users are starting going ballistic on me!

AusPhotography 12-23-2010 06:56 AM

Quick hack to put Forum Rules in its own navbar TAB (diff file) V5.0.2

Code:

146d145
<
149,160c148,154
<                                $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;
---
>                                $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>" ;


Videx 12-23-2010 12:04 PM

Quote:

Originally Posted by Martini-man (Post 2137735)
I have a huge problem with this mod.

When I try do disable it, the users STILL can't post.

I don't recall seeing anything like that before, but I assume you've read the entire thread?

If so, then you should probably post a lot more info. What versions of vb and afr are you running? Was afr working previously? Maybe a screenshot of your admincp vfr settings. And of course a forum link and a test account.

dontpanic 12-24-2010 03:46 AM

This has always been one of the best mods out there and I've used it for many, many years...back when it was Cyb instead of VSa. :)

Feature request: Is it possible to modify this mod so that new users cannot create a signature (or even edit their profile beyond the initial registration) without accepting the rules? What I'm seeing a lot of is signature spammers that never actually post anything in the forums.


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

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.01927 seconds
  • Memory Usage 1,842KB
  • 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
  • (3)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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