vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Cyb - Advanced Forum Rules (https://vborg.vbsupport.ru/showthread.php?t=122998)

redlabour 04-25-2008 04:36 PM

Where did i have to add :

Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
in the Template?

Link : https://vborg.vbsupport.ru/showthread.php?t=177013

Sph1nX 04-25-2008 06:30 PM

Quote:

Originally Posted by redlabour (Post 1499181)
Where did i have to add :

Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
in the Template?

Link : https://vborg.vbsupport.ru/showthread.php?t=177013

If you need this extension and want to get it running like normal
Quote:

open misc.php
get to line 18
change define('CSRF_PROTECTION', true);
to define('CSRF_PROTECTION', false);
BUT,this will turn the security for this script off, so think twice about it

redlabour 04-26-2008 04:52 AM

??? This is not what i have been asking for ???

Anyone knows how to edit the Hack to run with (!) a Security Token?

SeV3n 04-26-2008 10:25 AM

I have the same problem.

Disasterpiece 04-26-2008 10:57 AM

I have a working solution to make it use the new securitytoken system. it is very easy, just one line to add.

1. open styles management
2. select "Cybernetec" -> cyb_frules
3. search for:
HTML Code:

<form action="misc.php?do=cfrulesagree" name="agree_cfrules" method="post" onsubmit="return Cafr_checkAgree();">
4. After this line, ADD:
HTML Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
5. Save

6. select "Cybernetec" -> cyb_frules_reset
7. search for:
HTML Code:

<form action="misc.php?do=cfrreset" name="cfrreset" method="post">
8. After this line, ADD:
HTML Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
9. Save
10. Be happy =D

redraider 04-26-2008 11:32 PM

Thanks for the above post ... gotcha!

joe1989 04-28-2008 07:52 PM

Does this mod work so that we can add SPECIFIC rules to a SPECIFIC forum, and require them to accept that set of rules, which can be different for each forum?

Make sense?

I want separate rules for each forum...can I do that with this mod??

Videx 04-28-2008 08:07 PM

Quote:

Originally Posted by joe1989 (Post 1501731)
I want separate rules for each forum...can I do that with this mod??

Sure, you can write as many different rules for different forums as you want.

This mod doesn't try to enforce rules, nor does it display different rules for different forums.

joe1989 04-28-2008 08:10 PM

Quote:

Originally Posted by Videx
Sure, you can write as many different rules for different forums as you want.

This mod doesn't try to enforce rules, nor does it display different rules for different forums.

OK...I don't think you understood quite what I was asking. I have many different forums on my vBulletin, and I want to set something up where I can have separate rules for each forum, so that when they go to that forum they have to click through the permissions page, which is separate per forum.

Example:

Forum 1 has rules A, B, C, and D. I want users accessing this forum have to "accept" rules A, B, C, and D when they try to enter that forum.

Forum 2 has rules E, F, and G. I want users accessing THIS forum to have to "accept" these rules, which are specific to FORUM 2.

Make sense??

webspider 04-28-2008 08:34 PM

Quick answer. NO it does not do what you are asking.

Videx 04-28-2008 09:13 PM

We're getting confused by semantics here. If you have completely different forums as in separate vBulletin licenses, installed to different locations, then yes, each forum can have it's own set of rules.

If it's the same forum (you only have one vBulletin license), then you only get one set of rules, and you just have to word them to specify different regulations for different locations. In this case, this mod will not allow you to force acceptance of more than one set of rules.

turbo.:R 04-29-2008 02:05 AM

Quote:

Originally Posted by Disasterpiece (Post 1499684)
I have a working solution to make it use the new securitytoken system. it is very easy, just one line to add.

1. open styles management
2. select "Cybernetec" -> cyb_frules
3. search for:
HTML Code:

<form action="misc.php?do=cfrulesagree" name="agree_cfrules" method="post" onsubmit="return Cafr_checkAgree();">
4. After this line, ADD:
HTML Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
5. Save

6. select "Cybernetec" -> cyb_frules_reset
7. search for:
HTML Code:

<form action="misc.php?do=cfrreset" name="cfrreset" method="post">
8. After this line, ADD:
HTML Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
9. Save
10. Be happy =D

perfect.. thank you...

Valter 04-29-2008 11:24 PM

FEATURE UPDATES WILL BE RELEASED HERE:
https://vborg.vbsupport.ru/showthread.php?t=177559

vithorius 04-30-2008 07:54 AM

Quote:

Originally Posted by joe1989 (Post 1501731)
Does this mod work so that we can add SPECIFIC rules to a SPECIFIC forum, and require them to accept that set of rules, which can be different for each forum?

Make sense?

I want separate rules for each forum...can I do that with this mod??

Total sense! :up: THAT would be something I would like to have too!

I run a board with several different sub-forums, where the rules are quite different from each-other. So this would be the best 'upgrade' for this hack...! ;)




Quote:

Originally Posted by joe1989 (Post 1501742)
OK...I don't think you understood quite what I was asking. I have many different forums on my vBulletin, and I want to set something up where I can have separate rules for each forum, so that when they go to that forum they have to click through the permissions page, which is separate per forum.

Example:

Forum 1 has rules A, B, C, and D. I want users accessing this forum have to "accept" rules A, B, C, and D when they try to enter that forum.

Forum 2 has rules E, F, and G. I want users accessing THIS forum to have to "accept" these rules, which are specific to FORUM 2.

Make sense??

Yep, just what I need too! :up: :up:




Quote:

Originally Posted by Videx (Post 1501789)
If it's the same forum (you only have one vBulletin license), then you only get one set of rules, and you just have to word them to specify different regulations for different locations. In this case, this mod will not allow you to force acceptance of more than one set of rules.

Yep, my case is ONLY ONE vbulletin licence with several sub-forums that have different rules.

This Mod would be JUST PERFECT if we could specify what forums do we want to users accept the rules, with different text for sub-forums "A" and sub-forums "B".

:eek: Also, the perfect 'mod' to this mod, would be the possibility for us to choose the rules text from a previous post inside our forums. :) That would just be PERFECT! :up:

I guess that this would be just easy for the author to code, as each post has a specific and individual URL inside vbulletin, so this specific URL would be the text to show up when the users try to post messages and must accept the rules. How about this idea? :rolleyes:





Quote:

Originally Posted by Cybernetec (Post 1502828)
FEATURE UPDATES WILL BE RELEASED HERE:
https://vborg.vbsupport.ru/showthread.php?t=177559

hummm... As you all can see, I would like to ask the author some questions concerning this Mod... Should I do it here or there? :confused:

Videx 04-30-2008 08:15 PM

Quote:

I run a board with several different sub-forums, where the rules are quite different from each-other.
Somehow I doubt that, but being the inquisitive type, please tell me how.

And tell me why you would go to the trouble of coding separate rules, rather than just including them all in the main rules e.g.:
"Don't post porn anywhere but in Category xxx", "No flaming in any subforum except Flamez", etc.

Soidberg 05-04-2008 09:48 AM

Quote:

Originally Posted by Cybernetec (Post 1502828)
FEATURE UPDATES WILL BE RELEASED HERE:
https://vborg.vbsupport.ru/showthread.php?t=177559

Hy,

is this Update for 3.6.10 (Sec.Token)?

I read it works only on 3.7...

Gru? Soidberg

Valter 05-04-2008 09:55 AM

Most of my vB 3.7 hacks works with 3.6.10 too.

It's only confirmed that "PM System Enhancements " does not work with 3.6.10.

Crystal Shards 05-13-2008 10:45 PM

Cyb - Big fan of your stuff, have multiple mods installed by you.

My biggest question is if you look here: http://mercury.kametsu.com/forums

For some reason, Forum Rules is showing up twice, and I have all but one of my files as default (header has an added center tag in it), and can't find it in navbar or anything. Do ya know what's up?

~Crystal

nul7 05-15-2008 04:09 PM

Great stuff, thanks for this great Hack!

KAWIE1 07-24-2008 03:02 PM

Thanks, I will try this on my 3.6.8 vb

KAWIE1 07-24-2008 05:30 PM

Works like a charm...love it!

Peter_AUS 09-25-2008 01:33 AM

I have installed this on my forum 3.7.3 Patch Level 1, using the settings as described in the info.txt, haven't done any of the coding changes that say optional. I am getting emails regarding it with the following.

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Any idea why this might be happening, have disabled the hack for the moment.

PinkLiquorice 11-02-2008 08:40 AM

Sorted now thank you

PinkLiquorice 11-02-2008 10:56 AM

Have sorted now thank you

Kwikms 12-30-2008 09:46 PM

Users are forced to accept the new rules. But there is no button to accept the rules. I had 2.9, uninstalled it and did a new 3.8 installation now. What could be wrong here?

CeBra 12-17-2009 09:30 AM

hi, I'm still on 3.6.3 but cannot get the hack to work. Installed and configured by following the instructions, excluded groups etc. but dialog to accept rules is not showing up, neither is the memberinfo updated. Manual insert of code here is also not working. Any ideas and help is much appreciated!

Daniel26 03-20-2010 04:22 PM

Nice Hack.
But I have a litle Problem with this Hack on 3.8.4 PL2:
When I got to misc.php?do=cfrules, I only the the Smilies-Page.

Can anybody help me to fix this?

Regards

Daniel

CharlieDelta 04-06-2010 07:55 PM

Does not seem to be working with my Chat Box add on. Errors within the chat box when this is enabled.
Any ideas?

Videx 04-06-2010 10:58 PM

Quote:

Originally Posted by CharlieDelta (Post 2017011)
Does not seem to be working with my Chat Box add on. Errors within the chat box when this is enabled.
Any ideas?

Can you get any more vague? What errors? What chat box? Have you read and searched the chatbox thread to see if anyone else there has trouble?

CharlieDelta 04-07-2010 05:53 PM

Quote:

Originally Posted by Videx (Post 2017129)
Can you get any more vague? What errors? What chat box? Have you read and searched the chatbox thread to see if anyone else there has trouble?

Sorry Videx,

Here is the error I am receiving inside the chat box;
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1146) : eval()'d code on line 173

I am using VSA-Chatbox version 3.1.6

CharlieDelta 04-08-2010 07:03 PM

Can anyone help with this?

Videx 04-08-2010 07:34 PM

Since nobody else has reported this error (I assume you've searched in both threads by now), then you can be fairly sure it's not coming from either of the mods. I have them both installed myself.

It could be a style issue (test it in the default style). Or an issue with another mod - try disabling them all.

A link (and permissions) might be nice so we could see the error for ourselves. Is it always the same error, or different ones? Does it happen for everyone every time, or only occasionally?

CharlieDelta 04-11-2010 11:53 AM

Hi Videx,

I installed the newest version of VSA Advanced forum rules and this fixed the problem.
Thanks

matrixmark 02-09-2011 12:38 PM

Your demo link goes to a smiley page O_o just though you should know if you didnt already :D


All times are GMT. The time now is 07:02 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.01925 seconds
  • Memory Usage 1,829KB
  • 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
  • (8)bbcode_html_printable
  • (13)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
  • (34)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