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)

CvP 05-03-2010 06:16 PM

Hi Valter.
Is there any way to make this mod work for users using Opera Mini?
some of my users can't post anymore as they are using Opera mini and they are unable to accept the rules.

Alex@Mk3OC 05-04-2010 05:19 PM

I found that the time delay on the accept button wasn't working for some mobile browsers so had to take the time delay down to '0' to allow the button to show and for people to accept them

CvP 05-05-2010 10:24 AM

then there should be a no script version of the "accept" button even if it is with loss of delay functionality.
also:
Quote:

Any plan to include "before posting blog" and "before posting article" option?

CvP 05-07-2010 11:42 AM

Hi Valter, how can we link to specific rules?
For example, I have ToS, Privacy Statement, Guidelines, Trade Center Rules, Infraction Rules.
I can not link them to directly from anywhere :(

dd365media 05-07-2010 03:01 PM

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 would like to have it like that too.

Valter 05-07-2010 08:11 PM

Quote:

Originally Posted by CvP (Post 2033075)
Hi Valter, how can we link to specific rules?
For example, I have ToS, Privacy Statement, Guidelines, Trade Center Rules, Infraction Rules.
I can not link them to directly from anywhere :(

misc.php?do=vsarules&cfrset=X

Where X is rules ID.

CvP 05-08-2010 05:11 PM

:thumbs up:

I wish it supported some kind of SEF urls.
www.example.com/go/rules
www.example.com/go/ToS
www.example.com/go/privacy

^^ this'd rock. I'm currently using htaccess to achieve this.

CvP 05-09-2010 02:59 AM

Hi Valter.
Is it possible to manual-sort the rulesets? The only current way I see is to edit and switch ruleset contents.

also, I want to remove all rules assignment from "cms comment" forum as it people can't post comment in cms unless they have accepted rules and there is no msg telling them to.

gle041 05-24-2010 01:06 PM

When I enable Automatically add "Force User To Accept Forum Rules" to member profiles it makes it so that EVERYONE can view this in the profile, even regular members. How can I fix this?

HolyKiller 05-25-2010 06:24 PM

Is there option to force user to accept rules before every reply in defined forum? I mean, user sent reply in thread/forum, but he need to check and accept defined rules. After accept, reply will be sent in topic. Otherwise reply will be not sent.

Videx 05-25-2010 07:22 PM

Quote:

Originally Posted by HolyKiller (Post 2043301)
Is there option to force user to accept rules before every reply

Sounds like a good way to really upset members. "Sorry, your reply has been trashed because you forgot to check the box. Try again.".

Alfa1 05-25-2010 08:31 PM

Please add rules for social groups.

Videx 05-25-2010 10:24 PM

Quote:

Originally Posted by Alfa1 (Post 2043336)
Please add rules for social groups.

Actually, if you choose "Automatically add "Forum Rules" to Navbar" then it already shows while browsing Social Groups.

HolyKiller 05-26-2010 12:10 AM

Quote:

Originally Posted by Videx (Post 2043317)
Sounds like a good way to really upset members. "Sorry, your reply has been trashed because you forgot to check the box. Try again.".

Upset? Why? After hit [Send Message] button, rulles appears, user need to accept them, then reply will be sent. Otherweise, he does not accept section/forum rules, so the message will be not sent.

Why? Because some (lot of them) users again and again does not accepting rules in one special forum section. I don't ban them, but if i show them that rules every time when they want to post, i think, lot of them says "Hey, i forgot this" and maybe they edit their post.

Alfa1 05-26-2010 01:26 AM

Quote:

Originally Posted by Videx (Post 2043386)
Actually, if you choose "Automatically add "Forum Rules" to Navbar" then it already shows while browsing Social Groups.

I mean 'rules per social group'. This feature was planned by Cyb, before this modification was taken over by Valter.

Cosmo321 05-27-2010 03:52 PM

Quote:

Originally Posted by Valter (Post 2029581)
Registration Rules are accepted separately.

They need to accept this product's rules before posting or viewing forums, depending on your settings in product options.

Would it be possible to not having to accept the rules separately? I feel the point of adding the rules to the registration is somewhat useless if users must accept it one more time straight after registration.

CvP 05-31-2010 12:15 AM

desperately need this mod to convert from "forum rules" to "site rules".
new people are flooding blogs with things that should go into the forum.

CALComm 06-04-2010 06:50 PM

Freakin' sweet!

Thanks!

ShadowStalker 06-04-2010 08:53 PM

Having an interesting issue, viewing the rules as a guest on IE doesn't actually show the rules, just the accept button. Anyone else?

Mrdby 06-06-2010 10:36 PM

How can we set it for the count down when they actually register for the first time? That would be awesome! Thanks

Shanti Nanda 06-07-2010 04:09 PM

<font color="DarkOrchid">How can I do to allow other usergroups apart of 6 (admin) to be able to manage rules?</font>

CvP 06-09-2010 04:18 PM

Hi. Will you please consider a feature that will allow us to display multiple sets of rules at registration time (one accept button for all)?

KURTZ 06-22-2010 10:39 AM

NVM: Fixed! :D

sergioloporto 06-24-2010 08:34 PM

Hello... I am noticing an issue:

when the user accepts the rules, it is being redirected to accept the rule one more time... one more time... on loop...

The rules never get accepted.

Could you please help?

Videx 06-24-2010 08:42 PM

Quote:

Originally Posted by sergioloporto (Post 2059035)
when the user accepts the rules, it is being redirected to accept the rule one more time... one more time... on loop...

The user's cookies are being blocked. Probably an overzealous antivirus app.

sergioloporto 06-24-2010 08:55 PM

Quote:

Originally Posted by Videx (Post 2059038)
The user's cookies are being blocked. Probably an overzealous antivirus app.

Hi... I think this is not the reason. I have been notified by a guest about this less than 2 hours after the activation of the plugin.

I have then tried myself with different browsers and different accounts and the issue is persisting.... any idea?


Some more informations that may help to understand what is happening:
  • if I go to the profile of one of these users with the admin account I can read that the rules have been accepted "Rules accepted: 06-24-2010, 10:53 PM"
  • But it's not true. If the users go back and try to start a thread, they are redirected to the Forum Rules
  • Even if I change the timer to 0, the loop persists

P.s. in other forums using the same application it works

KURTZ 06-25-2010 10:04 AM

1 Attachment(s)
found an uncached template when i check a user's profile ... need a fix ;)

twitch 06-26-2010 03:17 PM

this is great. Thanks

LuisManson 06-27-2010 07:31 PM

how do i add rules to just one specific forum??

sergioloporto 06-29-2010 12:30 PM

Is it an error? There is written that this mod is supported, but I think it's not.
The last time Valter wrote here was one month ago and people are asking and asking...

Valter 06-29-2010 06:01 PM

Quote:

Originally Posted by KURTZ (Post 2059304)
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.

LuisManson 06-29-2010 06:21 PM

Quote:

Originally Posted by LuisManson (Post 2060644)
how do i add rules to just one specific forum??

someone could please helpme here?

orok 07-08-2010 05:21 PM

1 Attachment(s)
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 ...

snnggledel 07-12-2010 04:51 PM

Awesome mod thanks

Toni3055 07-20-2010 12:02 AM

Quote:

Originally Posted by orok (Post 2066423)
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! :)

Vitaly 09-14-2010 03:57 AM

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/

MonsterDK 09-22-2010 02:45 PM

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

taxick 09-23-2010 02:24 PM

Quote:

Originally Posted by Toni3055 (Post 2071777)
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..

pgc-cs 09-24-2010 09:07 PM

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).

mishb68 09-29-2010 12:20 AM

Great mod (as always). Thanks :)


All times are GMT. The time now is 07:43 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.01557 seconds
  • Memory Usage 1,836KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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