PDA

View Full Version : Forum Rules page


Dream
07-04-2005, 10:00 PM
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 (https://vborg.vbsupport.ru/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 (https://vborg.vbsupport.ru/showthread.php?p=734210)


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:
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
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
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
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
is there a way i can create more than 1 of these pages?

https://vborg.vbsupport.ru/showthread.php?s=&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
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. :)