it said
Directly underneath those, before the query, add this (same code for both files)
do i add it right under that part of the code.. or into the middle of that code???
the original code is
PHP Code:
} else {
if ($attachmentid and !$foruminfo[moderateattach]) {
$DB_site->query("UPDATE thread SET attach = attach + 1 WHERE threadid = '$threadid'");
}
so would i make it go right under it like this
PHP Code:
} else {
if ($attachmentid and !$foruminfo[moderateattach]) {
$DB_site->query("UPDATE thread SET attach = attach + 1 WHERE threadid = '$threadid'");
}
// attempt at auto-surround post with tags
if ($bbuserinfo[changeme]!="") {
$message = "[color=".$bbuserinfo[changeme]."]".$message."[/color]";
}
or before the query in it?
im confused right now -.-