Quote:
Originally Posted by thereal
THANKS!!!
How can I make so that the login box only is visable when you're not logged in, like tbdev?
|
you can try this
first find this code in index :
PHP Code:
if ($SHOUTBOX)
{
begin_frame("" . SHOUTBOX . "", center);
echo '<IFRAME name="shout_frame" src="'.$SITEURL.'/ttshout.php" frameborder="0" marginheight="0" marginwidth="0" width="95%" height="210" scrolling="no" align="middle"></IFRAME>';
end_frame();
}
before the code add :
PHP Code:
if ($LOGGEDINONLY){
if (!$CURUSER){
echo "<BR><BR><b><CENTER>write what ever you want<br>disable - need to login first</CENTER><BR><BR>";
}else{
after
add this :
sorry no box to put code in