Version: 1.00, by Overgrow
Developer Last Online: Jun 2004
Version: 2.2.x
Rating:
Released: 02-05-2003
Last Update: Never
Installs: 40
No support by the author.
IMPROVED MODERATOR ALERTv.1.1
Goal: Improve the way staff handles junk posts. Speed up processing time of moderator alerts from users. Make the forum meta-moddable.
Usefuleness: The default moderator alerts are useless. Why rely on email to a few people when you have a perfectly good forum system? This hack will have you create a thread in your private Moderators forum. Then as users click "Moderator Alert" under any post, the system will add a new post to your thread in the private room-- allowing all staff to see and discuss the problem immediately instead of relying on the old style email functions.
Requirements:
-Existing private moderator/admin forum
-Annoying users that violate your TOS
-Useful users that will report them
Installation:
-Create and upload one file to your forum directory
-Make one addition in functions.php
-Upload one gif
-Make one addition to the postbit template
-Add two templates
Difficulty: Somewhat Easy
Speed: Not too bad
Release: 1.1-- Feb 07, 2003
Added option to put all alerts in one post or in mutiple threads
Fixed bugs and tested both versions
Michael Knight:
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
When I tested this out and sent an alert to the moderators for a post, it changed the lastposter in the thread to modalert. Is there any way to stop that from happening? I don't want to end up with dozens of threads all with lastposter modalert!
when a user reports a post, the report is sent via EMAIL, PM, and a new THREAD is opened in my admin forum at the same time. It's just editing the report.php file.
To integrate this into your usual reporting methods, you do NOT have to make a new file or make new templates up, or add any extra queries to search the message - everything is in report.php already.
To achieve the same result, while being able to email mods (and if you have the PM mod hack, PM mods as well), just do this (no need to do anything else):
Open report.php.
Find:
PHP Code:
$url = str_replace("\"", "", $url);
ABOVE this, ADD:
PHP Code:
$modforum="100";
$DB_site->query("INSERT INTO thread (threadid,title,lastpost,forumid,open,replycount,postusername,postuserid,lastposter,dateline,iconid,visible,attach) VALUES (NULL,'".addslashes(htmlspecialchars($subject))."','".time()."','$modforum','1','0','".addslashes($bbuserinfo[username])."','$bbuserinfo[userid]','".addslashes($bbuserinfo[username])."','".time()."','$iconid','1','0')");
$threadid=$DB_site->insert_id();
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible) VALUES (NULL,'$threadid','Post Alert - $postinfo[username]','$bbuserinfo[username]','$bbuserinfo[userid]','".time()."','".addslashes(parseurl($message))."','$allowsmilie','$signature','$ipaddress','$iconid','1')");
$DB_site->query("UPDATE forum SET replycount=replycount+1,lastpost='".time()."',lastposter='$bbuserinfo[username]' WHERE forumid='$modforum'");
Change:
$modforum="100";
To the forumid of your admin forum.
Done!
P.S. I hope Overgrow doesn't mind me posting this here - I could post this in a separate hack, but after all, it's his idea, and he should get the credit.