PDA

View Full Version : Closed Message


MrBojangle1
03-03-2003, 05:37 PM
Umm, see how on my forum

www.shadow-designs.com/vb

it has just a little box and it says closed with a message

how do i make it an image, so they cant see the style and banner and crap??

cuz im tryin to make it cuz im changin the original style... and i dont want anyone to see it before i finish

Sebastian
03-03-2003, 06:16 PM
well, its not really possible because it has the forum header and footer... so you would have to wipe out those templates and i am sure you dont want to do that :p

only easy solution is place a blank index.php in the main forum directory.

or move all the files out of the /vb/ directory and move them to another directory where you can work on the forums.

VeoMorphine
03-03-2003, 06:41 PM
If you manualy hack the board you can change it so insted of evaluating the board closed template in global.php it echo's the <img> code you want there.

MrBojangle1
03-03-2003, 06:55 PM
:( im lost lol, but i was also thinkin that index.php, but if i did that i couldnt test out the new style

Xenon
03-03-2003, 08:04 PM
it's kind of easy :)

open your global.php

find that:
// check that board is active - if not admin, then display error
if (!$bbactive) {
if (!$permissions['cancontrolpanel']) {
eval("standarderror(\"".str_replace("\'", "'", addslashes($bbclosedreason))."\");");
exit;
}
}

and change to:
// check that board is active - if not admin, then display error
if (!$bbactive) {
if (!$permissions['cancontrolpanel']) {
echo '<center>' .$bbclosedreason .'</center>';
exit;
}
}