Resource icon

vBulletin Discourage Report Abuse 2.2

No permission to download
Overview:

This product is designed to discourage abuse of the post/PM reporting system by alerting users (via the "Report Post" icon's tooltip) if they have already reported a post/PM and why they reported it. Each report reason is displayed on a separate line within the tooltip.

If a user has already reported a post, then they will see a red "Report Post" icon instead of the default black:

dra01.png


The mouseover tooltip will show something like:

dra02.png


In case the tooltip is missed, an alert will be shown if the icon is clicked:

dra03.png


If a user has permission to view the forum to which reports are posted, they will see an icon linking them to the report thread:

dra04.png


You may choose to allow users to report posts/PMs multiple times, or you can restrict multiple reporting to moderators and administrators only. Users who can only report the posts/PMs of others one time will find that the link to the report form for a post is void once they have reported that post. All users (unless restricted by userid as described below) will be able to report their own posts multiple times.

You may restrict certain "problem users" from reporting posts that have already been reported by them or anyone else or from reporting altogether. You may also choose to disable post reporting in selected forums, and to choose whether moderators/administrators are exempt from this restriction.

Updates:

Version 1.1:

  • Product can no longer be circumvented by manually calling the report script.
  • If the report thread has been given the [SOLVED] prefix (standard prefixid), then users who have reported the post are advised of this.

Version 1.2:

  • "Report Post" icon is red for posts the user has already reported.
  • Those who are not allowed to report the post again will see an alert if they click the icon, and those who are allowed are also alerted, but can proceed by clicking the "Ok" button, or return to the thread by clicking the "Cancel" button. Both alerts display the information shown in the "Report Post" icon's tooltip.

Version 1.3:

  • Bug fix: previously all users who posted in the report thread were told they had reported the post. Now only those who actually reported the post are told they have reported it.

Version 1.4:

  • Allows prefixid(s) used to mark report threads as resolved to be defined in the product settings.

Version 1.5:

  • Will now automatically check for the prefixid defined by my newly released "Report Thread Prefix Management" product if that is installed and active.

Version 1.6:

  • All moderators will see a "report thread" icon which serves as a link to the report thread. The status of the report thread is shown in the icon's tooltip.

Version 1.7:

  • You may now restrict users by usergroup to a certain number of reports per day. Upon installing or upgrading to this version, a new table is created in your database that serves as a log for reports made by users in the restricted group(s). This table is pruned daily to remove rows that are more than 24 hours old.

Version 1.7.1:

  • Check for user reporting eligibility done at thread level rather than post level for efficiency.

Version 1.8:

  • You may now choose to turn off post reporting altogether for selected forums.
  • You have the option whether to exempt moderators/administrators from this restriction.
  • Removed the need to make a manual template edit to your postbit template(s).

Version 2.0:

  • Several bug fixes.

Version 2.1:

  • Added support for the reporting of PMs.
  • Individual user restrictions are done by username rather than userid.
  • All messages to user now fully phrased.
Version 2.2:

  • Several bug fixes.

Backup/Warning:

This product alters your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:

  • Download and extract the attached .zip file.
  • In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.
  • Upload the contents of the "upload" folder to your root directory.
  • Click on "Choose File" and browse to the product xml file that was packaged in the .zip file.
  • Click "Import"
  • You MUST set your settings to enable the mod. Each setting has an explanation of its use.

If you have installed versions prior to v1.8 and have edited your postbit (either "postbit" or "postbit_legacy" depending on which you use) then please undo that edit by finding the code:

HTML:
                   <vb:if condition="$show['reportlink']">
                       &nbsp;
                       <vb:if condition="$reported">
                           <a class="reported" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:raw title}" onclick="<vb:if condition="!$report_again">alert(this.title); return false<vb:else />if (!confirm(this.title)){return false;}</vb:if>">
                               &nbsp;
                           </a>
                       <vb:else />
                           <a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}">
                               <!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->
                               &nbsp;
                           </a>
                       </vb:if>
                       &nbsp;
                   </vb:if>
And restoring it to the original code:

HTML:
                   <vb:if condition="$show['reportlink']">
                       &nbsp;<a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
                   </vb:if>
You MUST set your settings to enable the mod. Each setting has an explanation of its use.

markfl_pdpr_acp.png
Author
MarkFL
Downloads
2
Views
301
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from MarkFL

Top