I've just installed this on 2.2.8, to create a new thread in my moderators forum for each alert. It seems to be working as intended, I have a couple of points that need clarifying.
1. The Name that appears in "Started By" (and the thread author) in the moderators forum is the user reporting the post - not the userid set up in modalert.php. Is this correct or have I forgotten something.
2. When a new thread is added to the moderators forum via ModAlert, the moderators do not get email notification. However if I post a thread manually into the moderators forum they do.
3. I attempted to change over to Erwins suggested method, by editing report.php. This gives a parse error, unexpected ')' in report.php on line 61, which is this:
PHP Code:
$DB_site->query("INSERT INTO thread (threadid,title,lastpost,forumid,open,replycount,postusername,postuserid,lastposter,dateline,iconid,visible,attach) VALUES (NULL,'".$subject))."','".time()."','$modforum','1','0','".$bbuserinfo[username])."','$bbuserinfo[userid]','".$bbuserinfo[username])."','".time()."','$iconid','1','0')");
so I changed back to the original, but still do not have emails going to the moderators.
Thanks in advance for your help.