Version: 2.1, by Erwin
Developer Last Online: May 2013
Version: 3.0.6
Rating:
Released: 01-04-2004
Last Update: 01-29-2005
Installs: 132
DB Changes
No support by the author.
vB Report Manager 2.1 (Admin CP) - Report to Email, PM, Staff Forum as a new Thread!
By Dr Erwin Loh
What does this hack do?
When a member reports a post, the report goes to:
1) Email (as per normal)
2) PM
3) A new thread in your private Staff Forums
4) In the report, there will be a link to the new thread in your private Staff Forums
Or ANY of the above combination!
The thread title now has the Date/ Time of Report, Originating Forum and Reported Poster!
There is now Admin CP support under vBulletin Options - you can choose to switch on or off any of the notification methods, and set the FORUM ID for the Staff Forum you want the posts to appear in.
All you need to do is run install_vbreport.php and modify 1 file - report.php.
Update Version 2.0
1. Added Admin CP support - choose to switch on and off each notification method. Also specify your Staff Forum ID in Admin CP.
2. Added more info to the THREAD TITLE - now with NAME OF FORUM, USERNAME OF POSTER, AND DATE/ TIME OF REPORT!
Update Version 2.1
1. Fixed email option bug
2. Fixed URL parsing bug
To upgrade, it's easiest just to reinstall this hack over a CLEAN REPORT.PHP file.
Admin CP installer and install instructions in HTML file in ZIP below.
Screenshots attached.
Enjoy!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
This is the first hack I am going to make. Im sorta lost :nervous:
In the hack it says to:
I cannot find Email Body Text phrases. Where is that?
Go into Phrase Manager > Search in phrases
Search for reportbadpost as the variable name. Check it is in the group Email Body phrases by looking at the headings above each phrase that your search returns.
You have a nice hack here, it will be VERY useful. I am having a bit of a ..pathetic, problem though. When I upload the newly coded report.php file I get this error when reporting:
Parse error: parse error, unexpected ';' in /home/virtual/site36/fst/var/www/html/forum/report.php on line 146
I chekced all the code around that area and it looks just fine. This is a snipet of your code as it looks in my file
PHP Code:
// Erwin's Report Hack
if (empty($mods) OR $foruminfo['options'] & $_FORUMOPTIONS['warnall'])
(
// get admins if no mods or if this forum notifies all
$moderators = $DB_site->query("
SELECT user.email, user.languageid, user.userid
FROM " . TABLE_PREFIX . "user AS user
INNER JOIN " . TABLE_PREFIX . "usergroup AS usergroup USING (usergroupid)
WHERE usergroup.adminpermissions <> 0
");
Sorry there is no REAL way for me to show you exactly how it looks (not a big enough edit box). But the parsings should be in the right place. Do you have any suggestions? I am not very good at PHP so I know this may be an obvious fix for some.
Search for reportbadpost as the variable name. Check it is in the group Email Body phrases by looking at the headings above each phrase that your search returns.