Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Message Board Rules 1.5 Details »»
Message Board Rules 1.5
Version: 1.00, by Christine Christine is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-30-2003 Last Update: Never Installs: 23
 
No support by the author.

Update: Zip replaced 22 June to fix missing template instructions here

This is somewhat similar to Logician's Fast Access hack, so if this isn't want you are looking for -- try there!

I will support this hack, so post any questions you may have. I have been running it since 2.2.6, now on 2.3.0.

Situation:

We wanted our members to be shown our board rules before they register. We had a seperate web page for the board rules, so every time we changed them, we had to change them 3 times -- on that page and the signupcoppa and signupadult templates.

What this does:

Sets up the rules as a variable, so they can be used anywhere, sets up the rules page as a standalone URL

Difficulty:

This hack requires a template addition and the difficulty will depend on the complexity of the template that you create. This hack does require a working knowledge of html table structures!

Template Note:

It was our preference to leave Jelsoft's opening statements on the signupcoppa and signupadult
templates, but not on the rules page, so this hack was written with that assumption. If you wish to do differently, adjust the templates as necessary.


There are two sets of instructions in the zip because of the register_imagebit template reference in 2.3.0 that doesn't appear in 2.2.x.

Included in this zip:

rules.php
ruleshack230.txt instructions
ruleshack22x.txt instructions
sample_ruleslist.txt for template help
sample_signupcoppa.txt for template help
rules.gif header button (vB default color)



Cheers!

Show Your Support

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

Comments
  #12  
Old 07-04-2003, 06:49 PM
Aerith_Freak's Avatar
Aerith_Freak Aerith_Freak is offline
 
Join Date: Dec 2001
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Addition, I like the idea.

^-^
Reply With Quote
  #13  
Old 07-20-2003, 02:35 PM
Rubicant's Avatar
Rubicant Rubicant is offline
 
Join Date: Jul 2003
Location: England
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed this hack, thanks!
Reply With Quote
Reply


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 07:09 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.10910 seconds
  • Memory Usage 2,213KB
  • Queries Executed 17 (?)
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
  • (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
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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