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)

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


All times are GMT. The time now is 09:19 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.01596 seconds
  • Memory Usage 1,741KB
  • 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_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
  • (10)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