for some reason... i either don't understand the code or im just stupid -.-
newayz, here is the part i don't get..
STEP 3:
In newreply.php
Find:
============
} else {
if ($attachmentid and !$foruminfo[moderateattach]) {
$DB_site->query("UPDATE thread SET attach = attach + 1 WHERE threadid = '$threadid'");
}
============
And in newthread.php
Find:
============
// subscribe to thread
if ($email and $bbuserinfo['userid']!=0) {
if (!$checkid=$DB_site->query_first("SELECT subscribethreadid FROM subscribethread WHERE userid=$bbuserinfo[userid] AND threadid=$threadid")) {
$DB_site->query("INSERT INTO subscribethread (subscribethreadid,userid,threadid) VALUES (NULL,$bbuserinfo[userid],$threadid)");
}
}
============
STEP 4:
Directly underneath those, before the query, add this (same code for both files)
// attempt at auto-surround post with tags
if ($bbuserinfo[changeme]!="") {
$message = "[color=".$bbuserinfo[changeme]."]".$message."[/color]";
}
============
can someone show me an example of where to stick step 4 at?? like an exact example of where it goes... b/c im stuck...
Parse error: parse error in /home/twisteda/public_html/forum/newreply.php on line 249
that comes up when i go to new reply...