Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
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!
Version: 2.1, by Erwin Erwin is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

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.

Comments
  #72  
Old 11-09-2004, 10:18 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really need to find time to do this. I've been busy with moving my forums 3 times to larger and larger networks. I should have some time soon.
Reply With Quote
  #73  
Old 11-10-2004, 01:39 AM
sully02 sully02 is offline
 
Join Date: Jul 2004
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Erwin
I really need to find time to do this. I've been busy with moving my forums 3 times to larger and larger networks. I should have some time soon.
I know how that goes. Am I correct in assuming it is just cutting out a couple snippets of code?
Reply With Quote
  #74  
Old 11-21-2004, 10:00 PM
bluecat's Avatar
bluecat bluecat is offline
 
Join Date: Apr 2002
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sully02
I know how that goes. Am I correct in assuming it is just cutting out a couple snippets of code?
That's probably a safe bet, I just can't figure out which
Reply With Quote
  #75  
Old 11-22-2004, 10:35 PM
ctown ctown is offline
 
Join Date: Nov 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried installing this but got this error message:
Quote:
Parse error: parse error, unexpected T_VARIABLE in /home/balt/public_html/talk/report.php on line 122
Line 122 is this:
Quote:
$moderators = $DB_site->query("
Any suggestions?
Reply With Quote
  #76  
Old 11-25-2004, 09:36 PM
The Markus The Markus is offline
 
Join Date: Nov 2004
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the first hack I am going to make. Im sorta lost :nervous:

In the hack it says to:

Quote:
3. Look for the phrase variable "reportbadpost" under "Email Body Text Phrases".
I cannot find Email Body Text phrases. Where is that?
Reply With Quote
  #77  
Old 11-25-2004, 09:41 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Markus
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.

Click Edit
Reply With Quote
  #78  
Old 11-26-2004, 02:03 PM
turkforum turkforum is offline
 
Join Date: Oct 2004
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is thre a way that we can diable the email but you only PM instead
Reply With Quote
  #79  
Old 11-26-2004, 03:13 PM
Mr_Bob's Avatar
Mr_Bob Mr_Bob is offline
 
Join Date: Jul 2004
Location: NJ, USA
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
   "
);

    while (
$moderator $DB_site->fetch_array($moderators))
    {
    
$mods[] = $moderator;
    )
    )
 
// Erwin's Report Hack 
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.
Reply With Quote
  #80  
Old 11-28-2004, 12:04 AM
charlesk charlesk is offline
 
Join Date: Nov 2004
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wondering.. is this hack safe to install in vB 3.0.3? Thanks.

Charles
Reply With Quote
  #81  
Old 11-28-2004, 04:46 PM
The Markus The Markus is offline
 
Join Date: Nov 2004
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peterska2
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.

Click Edit
One hack successfully installed thanks to you!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:02 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08448 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete