Sho please remove the editpost.php vbulletin rules say you can't attach full files... just warning you ahead of time man...
Boofo you're correct... remove that part...
find:
PHP Code:
} else {
// +++++++ Private Text Hack [ g-force2k2 ] +++++++
$DB_site->query("UPDATE post SET title='".addslashes(htmlspecialchars($title))."',pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signature',iconid='$iconid'$editedbysql$attachmentsql,dopriv=$dopriv,privuser='".addslashes($privuser)."',privmsg='".addslashes($privmsg)."' WHERE postid='$postid'");
// +++++++ Private Text Hack [ g-force2k2 ] +++++++
}
replace with:
PHP Code:
}
// +++++++ Private Text Hack [ g-force2k2 ] +++++++
$DB_site->query("UPDATE post SET title='".addslashes(htmlspecialchars($title))."',pagetext='".addslashes($message)."',allowsmilie='$allowsmilie',showsignature='$signature',iconid='$iconid'$editedbysql$attachmentsql,dopriv=$dopriv,privuser='".addslashes($privuser)."',privmsg='".addslashes($privmsg)."' WHERE postid='$postid'");
// +++++++ Private Text Hack [ g-force2k2 ] +++++++
that should do the trick nice eyes Boofo
g-force2k2