Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Pedro!'s Post Report Manager 0.93 Details »»
Pedro!'s Post Report Manager 0.93
Version: 0.93, by Pedro! Pedro! is offline
Developer Last Online: May 2013 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.8.x Rating:
Released: 02-11-2009 Last Update: 11-01-2009 Installs: 146
DB Changes Uses Plugins Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.

This system offers an advanced management system for all types of reported content including:
  • Posts
  • Group Messages
  • Group Pictures
  • Profile Album Pictures
  • Group Picture Comments
  • Profile Album Picture Comments
  • Private Messages
  • Visitor Messages

Features of this hack (some of which are illustrated by the screenshots):
  • Report tracking for the reporter
  • Report management area accessible from the Mod CP and Admin CP
  • Full integration with notifications menu
  • Commenting/update system
  • Ajax loading of the reported content from within the CP
  • Quick links related to the report/report discussion
  • Can set to only display reports that moderators have permissions to 'do something about'
  • Fully phrased to allow easy translation


Installation Instructions
:
  1. Backup your forum database. You are installing this modification at your own risk - I will not be held responsible for any damages or losses to your computer/web server/site data/vBulletin installation that occur from trying to install/uninstall this hack.
  2. Extract the files from the .zip archive
  3. Open the upload directory
  4. If you have changed the directory names of the Mod CP or the Admin CP from the defaults you will need to apply the same changes here.
  5. Upload the contents of the 'upload' directory to the forum directory on your web server
  6. When the uploads are complete go into the Admin CP and expand the 'Plugins and Products' menu on the left-hand side.
  7. Click the 'Manage Products' link in the menu you just expanded.
  8. Click the '[Add/Import Product]' link at the bottom of the page.
  9. In the 'OR import the XML file from your server' text box change 'product.xml' to 'product-pprm.xml'
  10. Click 'Import'
  11. Click OK on the prompt
  12. Make sure in the vBulletin Options menu under 'User Infractions & Post Reporting Options' that Post Reporting Email is not set to 'no e-mail'. Due to the core hook location of this hack it will not work if e-mailing is not enabled in the vBulletin options. However, this can be overridden on the PPRM configuration page.
  13. and you're all done You may wish to change the configuration of PPRM, this can be done from the Post Reports menu in the Admin CP navigation.
  14. Mark the mod as installed, this is so you can receive updates regarding the mod. I won't spam you or send you drunken e-mails lolol.

This hack is still in beta phase and I would really appreciate your feedback with any bugs/errors/design issues you encounter. Things to watch out for are compatibility issues with non-major browsers and the 'acknowledge permissions' setting not working as I've only done a very limited amount of testing on it.

The inspiration for this hack came from Distance's Advanced Post Report System for 3.6 which was an upgrade of a mod by some guy called pig, lol.

Change Log
__________________________________________________ ______________________

Version 0.91
  • Fixed install issue, oops, lol.
  • Removed unnecessary include from /pprm.php

Version 0.92
  • Removed depreciated define('NO_REGISTER_GLOBALS', 1) in /pprm.php
  • Fixed malformed information in e-mails.
  • Fixed enable/disable e-mail option.

Version 0.93
  • Fixed security hole.
  • Fixed bad links in 'Closed Reports' pagination.

Known Issues
__________________________________________________ ______________________
  • [S]0.90 - 'mismatched tag' error on install[/S]
  • [S]0.91 - E-mail override doesn't work.[/S]
  • [S]0.91 - E-mails don't link correctly.[/S]
  • [S]0.92 - Pagination broken on Closed Reports page.[/S]
  • [S]0.92 - Security Hole[/S]
  • 0.92 - With 'Acknowledge moderator permissions...' enabled an SQL error may occur when a moderator tries to access open/closed reports.
  • 0.92 - With 'Acknowledge moderator permissions...' enabled moderators can see reports for posts that are in forums they do not moderate.
  • 0.92 - Date doesn't display correctly for those who are using a localized date setting

Download Now

File Type: zip PPRM_0.93.zip (13.9 KB, 515 views)

Screenshots

File Type: jpg configuration.jpg (172.2 KB, 0 views)
File Type: jpg mod-cp-navigation.jpg (125.9 KB, 0 views)
File Type: jpg notification.jpg (109.5 KB, 0 views)
File Type: jpg quick-links.jpg (64.0 KB, 0 views)
File Type: jpg openreports.jpg (311.2 KB, 0 views)
File Type: jpg user-interface.jpg (74.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 02-26-2009, 11:11 AM
RedeemedWarrior RedeemedWarrior is offline
 
Join Date: Apr 2008
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fantastic
Reply With Quote
  #63  
Old 03-02-2009, 09:58 AM
kud0gfx's Avatar
kud0gfx kud0gfx is offline
 
Join Date: Apr 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have a really nice look, you think you could implement in the future report signatures, avatars or nicks? thyou
Reply With Quote
  #64  
Old 03-08-2009, 07:05 AM
itsheinz itsheinz is offline
 
Join Date: Feb 2009
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finally i made it..Thanks Pedro!
Reply With Quote
  #65  
Old 03-13-2009, 10:50 AM
maxicep maxicep is offline
 
Join Date: Oct 2006
Location: California
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pedro! View Post
Well, it means that when a mod goes to open/closed reports in the CP it will only show the reported posts in the forums they can moderate. It also checks moderator permissions with pictures, picture comments and visitor messages.
We have a problem.
Category Moderators see all reported posts from all forums.

Category Moderators should only show the reported posts in the forums they can moderate.

How can fix that ?

Also,
When i enable the "Acknowledge moderator permissions when displaying reports?" option

if Moderators clicks the open or closed reports links then:
Code:
    Database error in vBulletin 3.8.1:
   
  Invalid SQL:
   
                          SELECT COUNT(*) AS count
                          FROM pprmReports AS reports
                          WHERE reports.status != 'closed' AND reports.type != gm AND reports.type != gp AND reports.type != pap AND reports.type != papc AND reports.type != gpc AND reports.type != vm ORDER BY reports.prID DESC;
   
  MySQL Error   : Unknown column 'gm' in 'where clause'
  Error Number  : 1054
I fixed that with edit the modcp/pprm.php file
Code:
if (pprm_ack_perms() == true) {

    //Do crazy ANDs for permissions
    
    $z = 0;
    
    $reporttype = array('post','gm','gp','pap','papc','gpc','pm','vm');

    while ($z < 8) {
    
        if (pprm_check_perms($reporttype[$z]) == false) {
        
            $where .= "AND reports.type != " . $reporttype[$z] . " ";
        
        } 
        
        $z++;
    
    }
    
}
to

Code:
if (pprm_ack_perms() == true) {

    //Do crazy ANDs for permissions
    
    $z = 0;
    
    $reporttype = array('post','gm','gp','pap','papc','gpc','pm','vm');

    while ($z < 8) {
    
        if (pprm_check_perms($reporttype[$z]) == false) {
        
            $where .= "AND reports.type != '" . $reporttype[$z] . "' ";
        
        } 
        
        $z++;
    
    }
    
}
What is wrong ?
Reply With Quote
  #66  
Old 03-20-2009, 01:13 PM
andyh2 andyh2 is offline
 
Join Date: Nov 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After I install this mod on 3.8.1, none of the reports show up. It looks like this. Can anyone help?
Reply With Quote
  #67  
Old 03-21-2009, 04:12 PM
joe1989 joe1989 is offline
 
Join Date: Apr 2008
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by andyh2
After I install this mod on 3.8.1, none of the reports show up. It looks like this. Can anyone help?
I think the problem you're running into is it only adds reports to the system that were reported AFTER you installed the mod. Make sense? So if you installed the mod on Mar 20, a report from Mar 19 will not show up. This is not a bug; that's just how it works.

To verify this, do a "test report" (after the mod is installed) and make sure it shows up in the system.

Make sense?
Reply With Quote
  #68  
Old 03-21-2009, 04:21 PM
andyh2 andyh2 is offline
 
Join Date: Nov 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joe1989 View Post
I think the problem you're running into is it only adds reports to the system that were reported AFTER you installed the mod. Make sense? So if you installed the mod on Mar 20, a report from Mar 19 will not show up. This is not a bug; that's just how it works.

To verify this, do a "test report" (after the mod is installed) and make sure it shows up in the system.

Make sense?
We've gotten many, many reports after I installed it, but none of them showed up.
Reply With Quote
  #69  
Old 03-22-2009, 06:52 PM
joe1989 joe1989 is offline
 
Join Date: Apr 2008
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you getting any errors? Try uninstalling, and re-doing everything. I don't know why it wouldn't be working at all; it works fine for me. Let me know of any error messages you receive...
Reply With Quote
  #70  
Old 03-23-2009, 07:12 PM
Pedro!'s Avatar
Pedro! Pedro! is offline
 
Join Date: Jun 2006
Location: England
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by andyh2 View Post
After I install this mod on 3.8.1, none of the reports show up. It looks like this. Can anyone help?
I'm not sure what's going on as everyone elses seems to be working okay... can you look in your database and see if anything exists in the pprmReports table? Are you running any other report hacks/mods? If so try and disable those and see if it makes a difference...

Oh, also sorry I haven't brought out any updates, I've been rather busy lately! Will be giving this hack some attention and hopefully be implementing some of the suggested features soon (including an ImpEx tool)
Reply With Quote
  #71  
Old 03-23-2009, 07:21 PM
Pedro!'s Avatar
Pedro! Pedro! is offline
 
Join Date: Jun 2006
Location: England
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by maxicep View Post
We have a problem.
Category Moderators see all reported posts from all forums.

Category Moderators should only show the reported posts in the forums they can moderate.

How can fix that ?

Ah, I think I forgot to make it check the forum ID so it just checking if they can moderate any forum. I'll fix this in the next release. I'll also fix the SQL error.
Reply With Quote
Reply

Thread Tools

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 03:02 PM.


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.08115 seconds
  • Memory Usage 2,349KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (7)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete