vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forum Rules page (https://vborg.vbsupport.ru/showthread.php?t=91645)

Dream 07-04-2005 10:00 PM

Forum Rules page
 
Description
Creates a page that shows your forum rules at "register.php?do=showrules"

Installation
- Create a "forum_rules" template in your root style (or in all styles you use) with the content provided in forum_rules.txt, or import it with Custom Template Manager using "ctm-forum-rules-page-0.1-templates.xml"
- Import the "Forum Rules page 0.1.xml" plug-in and activate it

Access it with the url

http://www.yourforums.com/register.php?do=showrules

You can change the looks of it by editing the "forum_rules" template.

To add a link in any template use

Code:

<a href="register.php?$session[sessionurl]do=showrules">forum rules</a>
if you don't know where to put the link for it, check double navigation buttons bar


works with: beta 3, beta 4

Marco van Herwaarden 07-06-2005 09:42 AM

Thank you for sharing this Dream.

Could you please also include a text version for that template, so it can be installed manually. We don't allow that you need to install another hack first in order to install this one.

Dream 07-06-2005 03:15 PM

you don't allow it on the plug-in forum or you don't allow it anywhere?

and can it be just a code in the first post?

Marco van Herwaarden 07-06-2005 08:32 PM

We don't allow any hack/modification/plugin that needs another hack to be installed. The only exception to this is an addon to an existing hack.

dreck 07-11-2005 12:23 AM

I got an error trying to add the text template:
Code:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/thisdarn/public_html/vb/includes/adminfunctions_template.php(3504) : eval()'d code on line 3

Dream 07-11-2005 12:31 AM

my bad, download the zip again

dreck 07-11-2005 10:09 PM

Nice, thank you.
*install*

edeab220 07-13-2005 02:35 PM

Sorry if I'm just ignorant, but how do I change the rules? lol

*edeab220 clicks install*

dreck 07-13-2005 03:36 PM

AdminCP / Languages & Phrases / Search in Phrases / Phrase Variable Name Only / forum_rules_description / edit to your likings

MThornback 08-13-2005 11:47 PM

I get "Invalid File Specified" when I try and import the XML file...either of my PC or off the server


All times are GMT. The time now is 09:39 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.01126 seconds
  • Memory Usage 1,728KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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