@ Iris:
I believe a solution was posted before, lemme find it out for you.
Edit: Find the following parts in your shoutbox.php:
PHP Code:
if ($comment != "")
{
$date = date("Y-m-d H:i:s");
// $date = "10-23-3 21:02:35";
$user = $loggedinname;
if ($isloggedin!="yes") $user = "Guest";
$comment = formattext($comment);
$adopts->query("INSERT INTO {$prefix}shoutbox VALUES ('', '$user', '$date', '$comment')");
$article_content = $article_content."<p>Your comment has been posted. Click <a href='shoutbox.php'>here</a> to view it.</p>";
}
And replace with:
PHP Code:
if ($comment != "")
{
$date = date("Y-m-d H:i:s");
// $date = "10-23-3 21:02:35";
$user = $loggedinname;
if ($isloggedin == "yes"){
$comment = formattext($comment);
$adopts->query("INSERT INTO {$prefix}shoutbox VALUES ('', '$user', '$date', '$comment')");
$article_content .= "<p>Your comment has been posted. Click <a href='shoutbox.php'>here</a> to view it.</p>";
}
else $article_content .= "You need to log in before using the shoutbox!";
}
This should fix your problem I think.
@ Nyxi:
lol I see, now please give a try on resolving the css glitch if you have time. It's a shame I cant fix it myself, perhaps time to learn more css...