The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Discourage Report Abuse Details »» | |||||||||||||||||||||||||||||||||||||
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. 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:
Version 1.2:
Version 1.3:
Version 1.4:
Version 1.5:
Version 1.6:
Version 1.7:
Version 1.7.1:
Version 1.8:
Version 2.0:
Version 2.1:
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. Upload the contents of the "upload" folder to your forum's root directory. If you store your button icons in a different location than "images/buttons", then upload the two image files to that folder instead. Then follow: AdminCP ► Plugins & Products ► Manage Products ► Add/Import Product Click on "Choose File" and browse to the product xml file that was packaged in the .zip file. Click "Import" 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 Code:
<vb:if condition="$show['reportlink']"> <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>"> </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}" /> --> </a> </vb:if> </vb:if> HTML Code:
<vb:if condition="$show['reportlink']"> <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}" /> --> </a> </vb:if> You MUST set your settings to enable the mod. Each setting has an explanation of its use. Support for this product can be found here: Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
mansonklan |
Comments |
#13
|
||||
|
||||
I will look into adding that feature soon.
|
#14
|
||||
|
||||
Update: version 1.6
|
#15
|
||||
|
||||
Quote:
|
#16
|
||||
|
||||
Update: version 1.8
|
#18
|
|||
|
|||
I recently tried this Mod out on my test forum and it made an entire thread no longer accessible (when this Mod is enabled), if it has a single reported post in it (with the error shown below).
Furthermore, after reporting any post, this error message shows up: Fatal error: Call to a member function fetch_array() on a non-object in /home/[My DB]/public_html/includes/class_postbit.php(345) : eval()'d code on line 287 -------------------- Report Thread Prefix Management + Profile Reporter => Those Mods seem to work though. Mark, can you take a look at my forum? Should I PM you the details? It probably does clash with another modification, but I'm not sure which. If we could order modifications based on the date they were installed, that would made it so much easier to unistall them in order to find the problem/conflict. |
#19
|
||||
|
||||
First, let's try this...at the top of the plugin titled "Discourage User From Reporting Post More Than Once", add the following code in red.
Code:
if ($vbulletin->options['markfl_pdpr_enabled']) { global $db; $reported = false; $report_again = false; |
#20
|
|||
|
|||
Quote:
Can you explain to me why it fixed the issue? |
#21
|
||||
|
||||
I run into this error occasionally with the fetch_array() function, but only at certian hook locations which can be different on other sites, and I have found that making $db global is the cure. Why this needs to be done for some sites and not others I have no clue, but I think I will start including that statement in every plugin that uses the fetch_array() function from now on just to make sure everyone is covered.
|
Благодарность от: | ||
akz645 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|