Web Hosting Talk







View Full Version : Question about the Forum Software


Racin' Rob
04-25-2001, 06:57 PM
Greetings,

This question goes out to the person or persons who configure and install the vBulletin software.

How did you get the link for the "Forum Rules" in the toplinks section? What template did you use, or did you create a new template? If, so, what other configuring was needed?

Thanks,

Deb Suran
04-25-2001, 07:38 PM
This is the official forum rules which you must agree to whilst participating on WebHostingTalk.
Er -- that should be "These are the official forum rules... <g>

Haakon
04-26-2001, 06:20 AM
It`s in the header template Rob, maybe you should check the Vbulletin community?

Nicholas Brown
04-26-2001, 10:58 AM
Open index.php or misc.php (I prefer misc.php which is why I put it there :p) and add the following code


// ############################### start show rules ###############################
if ($action=="forum-rules") {
$templatesused = ""; // Only one template used so load it when called
include("./global.php");

eval("dooutput(\"".gettemplate("TEMPLATE NAME")."\");");
}

That is the code used here.

Now create a template called TEMPLATE NAME, something like


{htmldoctype}
<html>
<head>
<title>WebHostingTalk Forum Rules</title>
$headinclude
</head>
<body>

$header

All your stuff

$footer

</body>
</html>


now call the page as misc.php?action=forum-rules and that is it :)

Racin' Rob
04-26-2001, 06:29 PM
Thanks very much!!!
:)