vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forum Rules - Specific to Usergroup... (https://vborg.vbsupport.ru/showthread.php?t=39842)

Chris M 06-13-2002 10:00 PM

Forum Rules - Specific to Usergroup...
 
I got bored, and decided to make some forum rules for my new forum...

As I got engrosed into it, I decided to make it a hack...

ZIP File Contents

Instructions.txt - A Basic Instruction File
Shell.txt - The Shell of the Templates you will need to install
templates to create.txt - The Templates you will need to create (it also has variable information in it)
Additions.txt - It has options for making additions, such as more variables and adding the location to online.php
screenshot 1.jpg - A screenshot of a working version (I couldnt be bothered to add content, but I used the "$adminrules" and "$memberrules" variables in, and seperated them on different lines)

In the default installation, there are 8 templates to install, and one file to upload...

Hack Description
Basically, it looks to see what usergroup you are in, and displays the Rules for that usergroup. Not only can you target it to just those rules, but you can add variables which allow you to insert Moderator, Super Moderator and Member Rules into any template you wish...

I have attached the forumrules.zip file to this post, and for those of you who do not wish to download the file just to see the screenshot, a screenshot on the next post...

Satan

Chris M 06-14-2002 02:25 PM

Here you are...

Satan

ZiRu$ 06-15-2002 06:31 AM

dope man........will defenetily install.....

Chris M 06-15-2002 02:48 PM

Cool...

Anyone else like it?

Satan

Size 06-26-2002 10:26 PM

I don't know why you're not getting any more replies on this one.. It's great (and simple)! Exactly what I was looking for.

Size

Chris M 06-27-2002 08:26 PM

Yeh...

Thanks...

Its just something I decided to do:)

Satan

Zachariah 07-24-2002 01:04 PM

Ill add it to the next u/g and try it out :D


All times are GMT. The time now is 04:53 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.01009 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete