The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB Report Manager 2.0 (Admin CP) - Report to Email, PM, Staff Forum as a new Thread! Details »» | |||||||||||||||||||||||||||
vB Report Manager 2.0 (Admin CP) - Report to Email, PM, Staff Forum as a new Thread!
Developer Last Online: May 2013
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
|
Comments |
#92
|
|||
|
|||
Hi I got a simular error when reporting posts: error to on line 247
Parse error: parse error, unexpected $ in /home/username/public_html/community/report.php on line 247 Code:
vbmail_end(); // Erwin's Report Hack foreach ($mods AS $index => $moderator) { if (!empty($moderator['email'])) { eval(fetch_email_phrases('reportbadpost', $moderator['languageid'])); if ($vboptions['vbreportemail'] == '1') { vbmail($moderator['email'], $subject, $message); } if ($vboptions['vbreportpm'] == '1') { $DB_site->query("INSERT INTO " . TABLE_PREFIX . "pm (pmtextid, userid, messageread) VALUES ($pmtextid, $moderator[userid], 0)"); $DB_site->shutdown_query("UPDATE " . TABLE_PREFIX . "user SET pmtotal=pmtotal+1, pmunread=pmunread+1 WHERE userid = $moderator[userid]"); }// Erwin's Report Hack eval(print_standard_redirect('redirect_reportthanks')); } /*======================================================================*\ || #################################################################### || # Downloaded: 10:20, Tue Nov 30th 2004 || # CVS: $RCSfile: report.php,v $ - $Revision: 1.47 $ || #################################################################### \*======================================================================*/ ?> ?> Sorry for the two the server was not being found |
#93
|
||||
|
||||
I've changed the install instructions. It's because I cut and paste wrongly:
In the report.php file, Change: }// Erwin's Report Hack To: } // Erwin's Report Hack |
#94
|
|||
|
|||
Hi I went through it all again and still get the error
Parse error: parse error, unexpected $ in /home/username/public_html/community/report.php on line 249 I have included my report.php file, it has no mods I don't think except your one, can you see what the problem is :ermm: Many thanks |
#95
|
||||
|
||||
Quote:
This is what happens when you change your original install file... and the instructions have changed. The last code change, instead of adding the code below, REPLACE the code. So, step (e) should REPLACE the code, not add below. Sorry about this - the install file has been edited. It should work now. I've deleted the report.php file from your post anyway as that is against our rules. But it helped me identify the problem which was my instructions! |
#96
|
||||
|
||||
I repeat, if you downloaded the old ZIP for version 2 and get an error, in step (e), you REPLACE the old code with new, you do NOT add below (which just creates a repeat of the code).
The ZIP has been updated. |
#97
|
|||
|
|||
im still getting the error even with the latest update :\
|
#98
|
||||
|
||||
Quote:
|
#99
|
|||
|
|||
here you go
|
#100
|
||||
|
||||
I'm missing a closing tag it seems - must have missed it since I coded this off the top of my head.
Above the LAST: // Erwin's Report Hack Add another: } See if that fixes it. |
#101
|
|||
|
|||
still nothing
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|