vb.org Archive

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

kiFF 05-09-2008 03:34 PM

I've been getting a lot of database errors since I upgraded to 3.7. For this product, I'm getting this error:

Quote:

Invalid SQL:

UPDATE vbulletin_session
SET lastactivity = 1210350669, location = '/admincp/plugin.php?do=productversioncheck&productid=cfrule s&s=', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0, useragent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)'
WHERE sessionhash = '4c6c8bf60283e0a01763b853e5a041c2';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Friday, May 9th 2008 @ 12:31:09 PM
Error Date : Friday, May 9th 2008 @ 12:31:23 PM
Script : http://politicity.net/admincp/plugin...tid=cfrules&s=
Referrer : http://politicity.net/admincp/index....3Fdo%3Dproduct
I have the latest version installed...what's the problem?

joakandr 05-10-2008 04:11 AM

How do I change the color? Currently it is green on the navbar.

Valter 05-10-2008 06:37 AM

Phrase Manager

joakandr 05-10-2008 07:00 PM

Under what phrase type?

Arachnophiles 05-11-2008 02:21 AM

Nice work updating to 3.7 thanks!

Cyb, I previously made a suggestion for this to be implemented on a 'per forum' basis (ie I want to force users entering our 'For Sale' section to accept the rules before they gain access).

Would you consider adding this to future versions ?

Cheers,
Adam.

junaid 05-12-2008 10:42 AM

why I canot uninstall this script

Mondi 05-13-2008 10:13 AM

Hmm..

Somehow lost all connections with my Forum Rules page. Anyone know top-of-head what the url/ext is leading me back to it?

Or, of course, any other idea on how I can get to this page?

Cheers!

freebase69 05-13-2008 11:33 AM

Code:

http://www.mysite.com/forums/misc.php?do=cfrules&adis=1
or whatever your main link to your forums is. That should work.

Or if you look up in his demo link in the mod description, the path is:

Code:

http://www.bihforum.com/misc.php?do=cfrules
Try that.

webspider 05-13-2008 11:43 AM

Anyone else with this problem?


Quote:

Originally Posted by webspider (Post 1510906)
I'm getting the link "Force User To Accept Forum Rules" showing up twice (link hr link) in the user profile.


freebase69 05-13-2008 11:54 AM

Not me.

Are you using custom skins or something similar to that?

I don't have the my rule link in the Navbar. Did you tell the mod to auto add it and then did you manually do this to:

Code:

2. OPTIONAL (for some customized styles)
        Open template "navbar" and add "$cyb_frules_link" after "vbphrase[faq]</a></td>".
3. OPTIONAL (to add 'reset acceptance status' to different place than default one)
        Open template "MEMBERINFO" and add "$cyb_frules_force" wherever you wish.

That would throw it off.

Say3 05-13-2008 12:59 PM

installed Thanx :rolleyes:

mojo8850 05-14-2008 04:14 AM

Quote:

Originally Posted by Cybernetec (Post 1514639)
Phrase Manager

What Exactly Are We Looking For In Pharase Manager, To Change Font Colour.
Also If You View The Navbar I Get A Purple Underline Through It, I Think Is My Theme, But How I Remove It..

Screenshot Below. :):):)

myown 05-14-2008 10:47 AM

Quote:

Originally Posted by Inferno Dragon (Post 1507965)
one question: Can I use HTML instead of BBcode in the rules field in admincp? as I feel more comfortable in formating my rules in a HTML editor then wasting my time in adding bbcode tags in formating the rules page?

any thing about it ?

vithorius 05-16-2008 10:29 AM

Hi! Is it possible to enabe/disable this hack for some selected sub-forums only? :confused:

I mean, I do not need my users to accept some rules, except on the "Classifieds" sub-forum.

Thank you so very much! :up:

Boards.ie 05-20-2008 11:21 AM

Quote:

Originally Posted by Arachnophiles (Post 1515506)
Nice work updating to 3.7 thanks!

Cyb, I previously made a suggestion for this to be implemented on a 'per forum' basis (ie I want to force users entering our 'For Sale' section to accept the rules before they gain access).

Would you consider adding this to future versions ?

Cheers,
Adam.

Would also like to see this.

digicom 05-20-2008 10:51 PM

Installed Much Aprrciated :up:

Pamela 05-25-2008 03:27 AM

This is awesome! Just what I needed...thanks! :D

*clicks install*

Pamela 05-25-2008 07:29 PM

Quote:

Originally Posted by epoc fitness (Post 1505065)
How do I do that?

Quote:

Originally Posted by joakandr (Post 1514552)
How do I change the color? Currently it is green on the navbar.

Quote:

Originally Posted by mojo8850 (Post 1519041)
What Exactly Are We Looking For In Pharase Manager, To Change Font Colour.


In your AdminCP, go to:

Languages & Phrases >> Search in Phrases

Then type in:

Forum Rules (click on Find)


Look for the Phrase:

cybfrules_rules (click on Edit)


You will see this line as the Standard Phrase:

<font color="#66ff00">Forum Rules</font>


Change the font color to anything you want in the box that says "English (US) Translation", then click save.


HTH! :)

GeoMapia 05-26-2008 10:44 PM

How do I change the background color on the navbar in customized style?

Parture 05-27-2008 04:07 PM

When a new registrant tries to post they are directed to the advanced rules page, but the screen loads to the top of that page. I have Notices for that new registrant that are in the way and would prefer the top of the screen starts where you see the phrase, "Forum Rules". How can this be done? I designated <a name="forumrules">Forum Rules</a> for the phrase forum_rules, but that is as far as I got. I have to find where there instructions are to go to the forum rules page and start the screen at #forumrules.

Chimpie 05-28-2008 03:36 AM

In my Forum Rules page there is a 'body >' above the rules, but the template looks fine.

http://www.skywarnforum.org/forums/misc.php?do=cfrules

Quote:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="210">
<thead>
<tr>
<td class="thead">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumrules')"><img id="collapseimg_forumrules" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumrules].gif" alt="" border="0" /></a>
$vbphrase[posting_rules]
</td>
</tr>
</thead>
<tbody id="collapseobj_forumrules" style="$vbcollapse[collapseobj_forumrules]">
<tr>
<td class="alt1" nowrap="nowrap"><div class="smallfont">
<if condition="!$show['codeonly']">
<div><if condition="$can['postnew']">$vbphrase[you_may_post_new_threads]<else />$vbphrase[you_may_not_post_new_threads]</if></div>
<div><if condition="$can['reply']">$vbphrase[you_may_post_replies]<else />$vbphrase[you_may_not_post_replies]</if></div>
<div><if condition="$can['attachment']">$vbphrase[you_may_post_attachments]<else />$vbphrase[you_may_not_post_attachments]</if></div>
<div><if condition="$can['editpost']">$vbphrase[you_may_edit_your_posts]<else />$vbphrase[you_may_not_edit_your_posts]</if></div>
<hr />
</if>
<div><phrase 1="misc.php?$session[sessionurl]do=bbcode" 2="$bbcodeon">$vbphrase[bb_code_is_x]</phrase></div>
<div><phrase 1="misc.php?$session[sessionurl]do=showsmilies" 2="$smilieson">$vbphrase[smilies_are_x]</phrase></div>
<div><phrase 1="misc.php?$session[sessionurl]do=bbcode#imgcode" 2="$imgcodeon">$vbphrase[img_code_is_x]</phrase></div>
<div><phrase 1="$htmlcodeon">$vbphrase[html_code_is_x]</phrase></div>
</div></td>
</tr>
</tbody>
</table>
Thoughts?

unforsaken 06-04-2008 03:10 PM

How can I make it where all my admins have access to reset a users acceptance of the rules thru the admincp user profile? I used to have this on the old version, but now only I can do it. I am user 1 so I didn't know if this was a default, or if there was a way to make it for the whole user group, etc.

Valter 06-04-2008 04:52 PM

Chimpie, your page and codes seems fine.

unforsaken, all Staff members able to moderate users will be able to reset forum rules acceptance status too.

Chimpie 06-04-2008 05:05 PM

Quote:

Originally Posted by Cybernetec (Post 1540767)
Chimpie, your page and codes seems fine.

unforsaken, all Staff members able to moderate users will be able to reset forum rules acceptance status too.

Thanks... the problem was corrected last week. Thanks for replying though.

ChrisDean 06-05-2008 03:39 PM

I have installed this fine :) and want to use it to force acceptance of the forum rules for all users, so when a new member registers they are taken directly to the signup form, bypassing the rules page.

How do i do this?

I tried adding $cyb_frules_force to MEMBERINFO but that didn't do it.

Thanks in advance for any help

Chris

TheInsaneManiac 06-13-2008 05:30 PM

Is it possible to rename it to where I can have a file like rules.php?

Scandal 06-13-2008 11:15 PM

Thanks for the updated version!!! :D




-petros

g0dfather1984 06-14-2008 04:15 AM

I love this! Thank you!

WXM Matty 06-18-2008 03:44 PM

I installed but its not working. I now have a nice Rules page but every time I rest acceptance status in the options it never prompts me. I also reset it on a single user and it still does not prompt them to accept the rules. They can still vie the forum, post ect....

Any ideas as to whats wrong?

I had to manualy make a button on my style to point to http://www.xninelivesx.com/forums/misc.php?do=cfrules

Is this the problem?

Valter 06-19-2008 12:23 PM

v3.8 - Jun 19. 2008.
-Fixed bug where user is able to submit form without checking "agree"
-Option to disable BB Codes in Forum Rules
-Option to change "Forum Rules" link color or set to style's default
-Better placement of "Force User To Accept Forum Rules" link in user profiles

To upgrade:
-Import XML, allow overwrite
-Revert hack templates if any modified

M-Tuning 06-19-2008 01:07 PM

Thanks for the update!

WXM Matty 06-19-2008 04:06 PM

Installed the update but still it never asks anyone to accept the rules. I have the rules page and reset the acceptance but nothing happens.

Can you help?

EDIT: Got it to work, best mod I have so far, thanks!

dannykilla 06-19-2008 04:22 PM

I now have 3 forum rules links in my navbar, can anyone help?

DAn

Valter 06-19-2008 04:29 PM

Quote:

Originally Posted by dannykilla (Post 1553720)
I now have 3 forum rules links in my navbar, can anyone help?

DAn

Save your rules to your computer (to txt, doc etc... document), then uninstall all instances of Forum Rules hack, then install latest version and update settings.

dannykilla 06-19-2008 04:41 PM

Cheers Cyb,

Sorted now

Dan

Mrdby 06-19-2008 06:02 PM

i installed it..and 3.7 was still there along with 3.8 I removed 3.7 and now 3.8 is showing in my productions section but not under vbulletin options. thoughts?

Chimpie 06-19-2008 10:05 PM

Thanks for the update/upgrade!

RvG2 06-20-2008 01:55 AM

Quote:

Originally Posted by Mrdby (Post 1553813)
i installed it..and 3.7 was still there along with 3.8 I removed 3.7 and now 3.8 is showing in my productions section but not under vbulletin options. thoughts?

did you use allow overwrite in your upgrade?

newguy 06-20-2008 09:08 AM

v3.8 - Jun 19. 2008 has a bug.
Quote:

-Fixed bug where user is able to submit form without checking "agree"
After I installed v3.8 on Jun 19 all my members check I agree and click submit and nothing happens. The page does not do anything and they can't agree. I have turned this mod off until you can check into this.

pauldack 06-20-2008 10:13 AM

Excellent mod from Cybernetec again. This is my 4th mod from you that I've installed. Please, please keep up the good work.


All times are GMT. The time now is 12:53 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.01520 seconds
  • Memory Usage 1,828KB
  • 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
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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