vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Report Manager 2.0 (Admin CP) - Report to Email, PM, Staff Forum as a new Thread! (https://vborg.vbsupport.ru/showthread.php?t=59709)

Erwin 01-04-2004 10:00 PM

vB Report Manager 2.0 (Admin CP) - Report to Email, PM, Staff Forum as a new Thread!
 
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!

deathemperor 01-05-2004 03:46 AM

nice one ! once more hack will be installed :D

Morgalis 01-05-2004 03:46 AM

i'd REALLY love to get this feature back on our super busy board

can i ask though, is it possible to have the option to post in one thread rather than a new thread each report as the vb2.x hack did? it is so well used on our site, that 10 reports a day is the minimum and i don't want my staff forums cluttered

thanks so much in advance

tomshawk 01-05-2004 05:09 AM

I'm getting this error

Quote:

Invalid SQL: INSERT INTO pm (pmtextid, userid, messageread) VALUES (31, , 0)
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 0)' at line 1
mysql error number: 1064

Date: Monday 05th of January 2004 12:07:37 AM
Script: http://www.tomshawk.com/forums/report.php
Referer: http://www.tomshawk.com/forums/report.php?p=39
Any ideas?

VB3 RC1

Erwin 01-05-2004 05:17 AM

Did you do step (b) properly? The userid is not being sent.

I've been running this hack for almost a year now. :) Since vB2. It's worked with no problems since.

Erwin 01-05-2004 05:17 AM

Please be aware, sometimes the code is replaced, sometimes new code is added below, or ABOVE. PLEASE READ THE INSTRUCTIONS PROPERLY. :)

MindTrix 01-05-2004 05:23 AM

Nice addition Erwin :) Glad to see more hacks comming from you again :) Thanks.!

tomshawk 01-05-2004 05:28 AM

Quote:

Originally Posted by Erwin
Please be aware, sometimes the code is replaced, sometimes new code is added below, or ABOVE. PLEASE READ THE INSTRUCTIONS PROPERLY. :)

Yes, and just for good measure, I re-did the whole thing again, same problem.

[EDIT]
BTW, It does create the post in the forum, but does not send the email and gives this error
[/EDIT]

Vile 01-05-2004 06:37 AM

Very cool hack. I'll give this a shot :)

Erwin 01-05-2004 06:54 AM

Quote:

Originally Posted by tomshawk
Yes, and just for good measure, I re-did the whole thing again, same problem.

[EDIT]
BTW, It does create the post in the forum, but does not send the email and gives this error
[/EDIT]

Mmm... I rechecked my code - it's the same as what I've got. You've got RC1 right? Mmm... I don't understand.


All times are GMT. The time now is 08:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01455 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete