PDA

View Full Version : Forumrules Template



WebStyles
Tue 2nd May '00, 2:18pm
It seems as though the forumrules template doesn't have variables in the post rules. For example, I looked in the admin demo here, and the HTML is as follows:

-------------
<B>Who Can Read The Forum?</b> Any registered user or guest.<br>
<b>Who Can Post New Topics?</b> Any registered user.<br>
<B>Who Can Post Replies?</b> Any registered user.<br>
<b>Changes:</b> Messages can be edited by their author. Messages can be deleted by their author.<br>
<b>Posts:</b> HTML code is OFF. <a href="index.php?action=showsmilies" target=_blank>Smilies</a> are ON. <a href="index.php?action=bbcode" target=_blank>vB code</a> is ON. [IMG] code is ON.
-------------

Shouldn't it be something like:

-------------
<B>Who Can Read The Forum?</b> $readstatus.<br>
<b>Who Can Post New Topics?</b> $topicstatus.<br>
<B>Who Can Post Replies?</b> $replystatus.<br>
<b>Changes:</b> $editstatus.<br>
<b>Posts:</b> HTML code is $htmlstatus. <a href="index.php?action=showsmilies" target=_blank>Smilies</a> are $smiliestatus. <a href="index.php?action=bbcode" target=_blank>vB code</a> is $bbcodestatus. [IMG] code is $imgstatus.
-------------

Or do you have to make a different forumrules template to specify in the control panel for each forum? :)

Helza
Sat 8th Jul '00, 6:25pm
I was wondering this myself to if this is possible..

Anyone?

thetakerfan
Sun 9th Jul '00, 2:13am
I too was wondering about this, I noticed it when I was fixing all the messed up, borderless tables.
Didn't think to post it, glad you did though.
I hope there are variables to make it work right.

WebStyles
Sun 9th Jul '00, 3:43am
Actually, the HTML code, IMG code, smilies, and BB code toggles are all controlled as variables in vB 1.1.2. I believe the correct variables are $htmlcodeon, $imgcodeon, $smilieson, and $bbcodeon. :)

Helza
Sun 9th Jul '00, 7:00am
Is there a list anywhere with all variables? and a short discription? that would be very usefull :)

thetakerfan
Sun 16th Jul '00, 5:23pm
I had forgotten about this thread, has anyone figured it out yet?
WebStyles-that isn't what we are talking about, those codes are fine and working, its the

Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
that is the problem

ukliam
Mon 17th Jul '00, 10:03pm
I also noticed this.
They have hard coded the text and not included variables.

I also wondered why they don't call all of this from a tepmlate.

I created my own template for it and set the variables, I am just waiting for someone to tell me how to call a template.

thetakerfan
Tue 18th Jul '00, 2:39pm
what are the variables?

WebStyles
Tue 18th Jul '00, 8:42pm
I believe that part is still hardcoded in... But I would consult the default templates in the members area to double check. :)

BassWriters
Thu 27th Jul '00, 1:15am
While the html is hard-coded, each forum can specify it's own rules template. Add a couple different rules templates to suit your needs and you're set. It's not a total solution, but it should work as a fix.

thetakerfan
Mon 31st Jul '00, 12:25am
thats pretty annoying, I hope they fix this in an upcoming version.