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

Dream 08-14-2005 12:21 AM

Quote:

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

import as a plugin not a product

MThornback 08-15-2005 02:33 AM

Quote:

Originally Posted by Dream
import as a plugin not a product

Right then :p that worked...

new problem now though, I seem to be getting a parse error above my forumdisplay.php & showthread.php in includes/functions_bigthree.php

Quote:

Parse error: parse error, unexpected '<' in /includes/functions_bigthree.php(251) : eval()'d code on line 1

csidlernet 10-05-2005 03:07 AM

/me installs

Kaishi 10-09-2005 04:34 AM

is there a way i can create more than 1 of these pages?

Dream 10-09-2005 05:41 AM

Quote:

Originally Posted by Kaishi
is there a way i can create more than 1 of these pages?

https://vborg.vbsupport.ru/showthrea...threadid=92203

murrtex 10-18-2005 02:37 AM

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/httpd/vhosts/4umturk.com/httpdocs/forum/register.php(82) : eval()'d code(7) : eval()'d code on line 3

and nothing happen...
i mean, header and footer are ok bu there is no rules

bigmonay2k 10-18-2005 11:17 PM

please add, direction in the zip folder..

murrtex 10-19-2005 02:14 AM

Quote:

Originally Posted by bigmonay2k
please add, direction in the zip folder..

ok.thanks

gonon 01-03-2006 11:31 AM

Unfotunatly I installed the Custom Template Manager, and when I attempt to import ctm-forum-rules-page-0.1-templates.xml I recieve the following error message:

The XML file you are trying to import is outdated. Supported versions are 0.5 and up, yours is 0.4.

Now attempting to do it manualy :p

Snake 01-03-2006 11:58 AM

Thanks for the hack.

whitetigergrowl 01-03-2006 03:35 PM

Nice hack...but I just use the FAQ option...then change the FAQ Phrase so it says 'FAQ/Rules'.

I use BB code for the font and I believe you can still link to the image files the same way. :)


All times are GMT. The time now is 03:12 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.01062 seconds
  • Memory Usage 1,753KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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