vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Rules (https://vborg.vbsupport.ru/showthread.php?t=138193)

Shazz 01-31-2007 10:00 PM

Rules
 
/*================================================= =====================*\
|| Rules
||
|| ================================================== =====
|| Brought to you by:
|| vBCoderz.com
|| ShazzDesigns.com
|| ================================================== =====
||
|| Author : Shawn
|| Works on : vBulletin 3.5 / 3.6
|| Released : 01. Feb 2007
||
|| Time required to install: ~3 minutes
|| Difficulty: medium
\*================================================ ======================*/
--
There are probablly some similar to this

Preview: http://www.vbcoderz.com/rules.php?

What is this?
It adds a rules page to your site, check the preview for a better description.

-----------
Instructions

1. Import the product

2. In the navbar template find:

HTML Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
After add:

HTML Code:

<td class="vbmenu_control"><a href="rules.php$session[sessionurl_q]">Rules</a></td>


3. To Customize your rules
Go to your admincp>styles and templates>edit template>
Find the template called rules

4. After your done hit save.

5. Upload rules.php to your forums root then access it by
www.yoursite.com/rules.php
or how ever you have it
www.yoursite.com/forums/rules.php

6. Your Done!
Be sure to click install :cool:

projectego 02-01-2007 11:00 PM

Looks good, Shazz. I'll check this hack out later.

/me clicks install

blogtorank 02-01-2007 11:10 PM

Shazz, Good job man installing this tomorrow in the AM!

DementedMindz 02-01-2007 11:23 PM

why open another thread of the same hack that you posted before? https://vborg.vbsupport.ru/showthread.php?t=134740

Shazz 02-01-2007 11:57 PM

Its more simple, plug and play type thing :)

Merriweather 02-03-2007 03:28 AM

It's nice, but can it somehow be tied into the rules you see when registering? it doesn't make sense to me that you'd have different rules after you register, and I would love to update in one place -- not two. ;)

Another great add would be if you could make it make users re-agree to the rules should the rules be updated at any time -- is this possible?

Shazz 02-03-2007 03:56 AM

Quote:

Originally Posted by Merriweather (Post 1173440)
It's nice, but can it somehow be tied into the rules you see when registering? it doesn't make sense to me that you'd have different rules after you register, and I would love to update in one place -- not two. ;)

Another great add would be if you could make it make users re-agree to the rules should the rules be updated at any time -- is this possible?

Possibly...Updating the rules at anytime would have to be a $varname possibly editing the standard vB rules agreement and inserting that in there
Yea, that could come in the next update

gullystation 02-11-2007 09:42 AM

Hi there guys. I have one problem!

I've put my rules up in the rules template. admincp > styles & templates > etc..

Then when I go on my site rules, it comes as together!

See attachment :

If you see vbcoderz rules..each rule has it's own paragraph...but mine doesn't. Can someone please help me!

Shazz 02-11-2007 01:50 PM

Put
<br>
At the end of each line

gullystation 02-11-2007 05:37 PM

Quote:

Originally Posted by Shazz (Post 1179899)
Put
<br>
At the end of each line

cheers shazz!


All times are GMT. The time now is 12:02 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.01309 seconds
  • Memory Usage 1,736KB
  • 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_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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