Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Simple Rules Page Details »»
Simple Rules Page
Version: 1.00, by QsKGlobal.com QsKGlobal.com is offline
Developer Last Online: Mar 2011 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.6.7 Rating:
Released: 05-26-2007 Last Update: Never Installs: 20
Template Edits
Code Changes  
No support by the author.

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]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle]</title>
</head>
<body>

$header
$navbar
<!-- Custom Code Start Here -->
<center>
<div style="padding:0px 0px 0px 0px">

<table class="tborder" cellpadding="0px" cellspacing="1" border="0" width="468px" <td align="center">
<tr>

<td class="thead" align="center">Official Site Rules | What can get you Banned</td>

</tr>
<tr>
<td class="alt1" align="center">
1. 
<br />
<br />
2. 
<br />
<br />
3. 
<br />
<br />
4. 
<br />
<br />
5. 
<br />
<br />
6. 


	</td>

</tr>
</table>

</div>
</center>
<!-- / Custom Code Ends here -->
$footer
</body>
</html>
Step three:

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']">
			<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
		</if>
Add the following below:

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 07-15-2007, 11:17 PM
Free-D Free-D is offline
 
Join Date: Jul 2007
Location: Ukraine
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

How to fix it?
Reply With Quote
  #13  
Old 08-23-2007, 11:18 AM
QsKGlobal.com QsKGlobal.com is offline
 
Join Date: Mar 2007
Location: Rockford, IL
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Free-D View Post
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

How to fix it?
The reason it says that is because its not a premade page with vbulletin and Who's Online can't recognize it to specify.

To anyone having trouble, if you follow those intructions perfect...you should have no trouble.
Reply With Quote
  #14  
Old 09-30-2007, 12:04 AM
applyimage applyimage is offline
 
Join Date: Aug 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great mod.
Reply With Quote
  #15  
Old 02-15-2008, 08:02 PM
glennybee glennybee is offline
 
Join Date: Feb 2008
Location: Scotland
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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">
...instead of...

Code:
<table class="tborder" cellpadding="0px" cellspacing="1" border="0" width="468px" <td align="center">
Thanks
Glen
Reply With Quote
  #16  
Old 02-27-2008, 02:30 AM
Magnum164 Magnum164 is offline
 
Join Date: Nov 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #17  
Old 02-27-2008, 03:21 PM
CoryNickerson CoryNickerson is offline
 
Join Date: Oct 2007
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
This Account Has Been Suspended
Please contact the billing/support department as soon as possible.
pwned. lol.

nice mod.
Reply With Quote
  #18  
Old 08-18-2008, 02:40 AM
Bilderback's Avatar
Bilderback Bilderback is offline
 
Join Date: Sep 2007
Location: Illinois
Posts: 214
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Free-D View Post
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

How to fix it?
You have to add two plugins.
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:
Originally Posted by Magnum164 View Post
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.
You can use the variable $vboptions[bburl] in front of the /rules.php
Code:
<td class="vbmenu_control"><a href="$vboptions[bburl]/rules.php$session[sessionurl_q]">Site Rules</a></td>
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05104 seconds
  • Memory Usage 2,277KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete