So I don't use the second code you gave me at all? I just add this after what I already have there, right? And do the rest of it like you said? The first code and the template edits? I just want to be sure.
Quote:
Originally posted by Slynderdale
add after that
PHP Code:
if ($isfirst and $postinfo[dateline]+$editthreadtitlelimit*60>time()) {
$DB_site->query("UPDATE thread SET description='".addslashes(htmlspecialchars($description))."' WHERE threadid=$threadinfo[threadid]");
}
|