![]() |
Move Forum Rules Checkbox
This modification moves the checkbox within the forum rules that a user reads when registering to your forums. This forces them to at least scroll through the rules before skipping by.
Idea by: boeserwolf https://vborg.vbsupport.ru/showthread.php?t=138514 Pretty quick and easy, just one file edit to "register_rules". This should really help those boards that have alot of rules they wish users would at least skim through before skipping by :) |
nice work:)
|
Can this also help me change the colors of the forum rules without changing other things?
If so, how? |
The font color of the forum rules comes from the "page" setting in your styles and templates.
You can either change the color of the font in your page setting of your style. Or you can change this Code:
<div class="page" style="border:thin inset; padding:$stylevar[cellpadding]px;<if condition="!is_browser('konqueror')"> height:175px; overflow:auto</if>"> Code:
<div class="alt1" style="border:thin inset; padding:$stylevar[cellpadding]px;<if condition="!is_browser('konqueror')"> height:175px; overflow:auto</if>"> I would suggest changing your setting rather then changing the class though as if you are having an issue with the text being hard to read in the rules box, there is a good chance that you are having other issues on your site with visibility that you may not be aware of :) |
Lovely, I've been searching for something like that for months. So simple!
Thanks! |
when I applied this mod ( a great idea) my rules disappeared adn only a checkbox sits in the rules box now. the rules are gone. Could you update this hack to work with 3.6.7
thanks, Gread mod |
I ansswered my own question. All you have to do is the following:
in the register_rules template Find: Code:
<div><label for="cb_rules_agree"><input type="checkbox" name="agree" id="cb_rules_agree" value="1" /><strong><phrase 1="$vboptions[bbtitle]">$vbphrase[read_agree_abide_by_rules]</phrase></strong></label></div> Code:
<!-- regular forum rules --> |
All times are GMT. The time now is 01:33 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|