![]() |
Simple Rules Page
This will work with any version of 3.6:)
Installation Time: 10 minutes or less Demo Page: www.qskglobal.com/rules.php Step One: Log into your admin control panel, go to Styles and Templates and find the style you'd like to add the rules page to and click Add Template. Step Two: Name this templete custom_Rules Copy and Paste the following code to the body of this new template (edit the text in bold with your info): Code:
$stylevar[htmldoctype] Fill in your rules. Step Four: Add the rules.php file (attached) to your sites main directory. Step Five (optional): This will add the sites rules link to your navbar Find in template navbar: Code:
<if condition="$show['registerbutton']"> Code:
<td class="vbmenu_control"><a href="rules.php$session[sessionurl_q]">Site Rules</a></td> Now you have a clean Rules page where you can link people to read in their welcome PM. This will help new members learn more about your board and hopefully save you some frustrations new members sometimes cause. ;) |
nice mod, thanks
will install this later |
I can't get the stinkin rules.php to open correctly. Help?
|
Did you name the new template custom_Rules? That's the only reason it wouldn't show up correctly. The .php file is already precoded to pick up the template, so that's not the problem.
|
Shouldnt this be in addons
|
Quote:
|
Yea but it has file additions
|
Thanks
|
I think it's mistake - there's no symbol > after width="468px"
Code:
<div style="padding:0px 0px 0px 0px"> |
I had to modify the html so that it could work with my forum, this should be the correct html:
HTML Code:
<table class="tborder" border="0" cellpadding="6"> HTML Code:
</tr> --- Great Mod, thanks. |
Hmm... Is anybody notice that (after installing this mod) WHO IS ONLINE page does not properly display those users who are reading page http://myforum/rules.php
Users who are reading page http://myforum/rules.php on WHO IS ONLINE page are displayed as Unknown location :eek: How to fix it? :confused: |
Quote:
To anyone having trouble, if you follow those intructions perfect...you should have no trouble. |
great mod.
|
Just what I was looking for, thank you.
Another mod to add, if you want the box to be the same width as the forum, try this... Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> Code:
<table class="tborder" cellpadding="0px" cellspacing="1" border="0" width="468px" <td align="center"> Glen |
I know this is not related to your mod. But thought I might give you a challenge:)
Everything works. Except I have Vbadvanced CMPS and Vbadvanced Links. When clicking the Navbar it fails to find the right path. I am learning on this but haven't yet found a way to make it work. If no ideas, I will start poking around in the vbadvanced sutff. |
Quote:
nice mod. |
Quote:
Click here to see a great article that shows you. Or you can use the xml attached.Remember its a plugin, not a product. Quote:
Code:
<td class="vbmenu_control"><a href="$vboptions[bburl]/rules.php$session[sessionurl_q]">Site Rules</a></td> |
All times are GMT. The time now is 04:57 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:
|