PDA

View Full Version : Forum Rules page


Dream
05 Jul 2005, 04:53
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 (http://www.vbulletin.org/forum/showthread.php?t=91038) 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

<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 (http://www.vbulletin.org/forum/showthread.php?p=734210)


works with: beta 3, beta 4

Marco van Herwaarden
06 Jul 2005, 10:42
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
06 Jul 2005, 16:15
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
06 Jul 2005, 21:32
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
11 Jul 2005, 01:23
I got an error trying to add the text template:
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
11 Jul 2005, 01:31
my bad, download the zip again

dreck
11 Jul 2005, 23:09
Nice, thank you.
*install*

edeab220
13 Jul 2005, 15:35
Sorry if I'm just ignorant, but how do I change the rules? lol

*edeab220 clicks install*

dreck
13 Jul 2005, 16:36
AdminCP / Languages & Phrases / Search in Phrases / Phrase Variable Name Only / forum_rules_description / edit to your likings

MThornback
14 Aug 2005, 00:47
I get "Invalid File Specified" when I try and import the XML file...either of my PC or off the server

Dream
14 Aug 2005, 01:21
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
15 Aug 2005, 03:33
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


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

csidlernet
05 Oct 2005, 04:07
/me installs

Kaishi
09 Oct 2005, 05:34
is there a way i can create more than 1 of these pages?

Dream
09 Oct 2005, 06:41
is there a way i can create more than 1 of these pages?

http://www.vbulletin.org/forum/showthread.php?s=&threadid=92203

murrtex
18 Oct 2005, 03:37
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
19 Oct 2005, 00:17
please add, direction in the zip folder..

murrtex
19 Oct 2005, 03:14
please add, direction in the zip folder..

ok.thanks

gonon
03 Jan 2006, 12:31
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
03 Jan 2006, 12:58
Thanks for the hack.

whitetigergrowl
03 Jan 2006, 16:35
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. :)