Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Automated Post Reporter Details »»
Automated Post Reporter
Version: 2.5, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Anti-Spam Options - Version: 4.x.x Rating:
Released: 04-06-2015 Last Update: 07-31-2015 Installs: 33
Uses Plugins
Additional Files Translations  
No support by the author.

This mod will automatically generate a report thread when a new user posts a reply to a thread that has been inactive for a time (necro-posting) and/or has included certain words in the content of their post (and signature if you want). This includes the case where the new user edits an existing post they have made to add such words.

In the included screenshots, you can see the options provided via the AdminCP to configure the product to suit your needs, the default message shown to new users upon editing a post to add flagged words, an example of a thread as listed in the designated report forum, and the body of the generated report.

I want to give a profound word of thanks to BirdOfPrey5 because it was the study of his XML files and the fact that he allows his code to be reused that allowed me to be able to package my products. :up:

Updated version 1.1:
  • User is allowed to chose excluded usergroup(s) from list of available groups
  • User is allowed to chose destination forum for generated reports from list of available forums
  • User is allowed to opt out of generating reports (moderate posts only)
  • Bug fixed where user editing existing post to include flagged words was shown moderation queue message even when posts were not moderated

Updated version 1.2
  • Excluded usergroup selection is 2 columns to save space
  • Added the option to exclude users by username
  • New users may now be blocked from creating/editing signatures containing flagged words
  • Customize the error message shown to such users
  • Destination forum for generated reports is also a 2 column format
  • if no destination forum is selected when saving the settings the first time, the forum used for user-reported posts is auto-selected
  • Bug fixed with regards to the first post of a thread being put into the moderation queue and user post counts

Updated version 1.2a
  • Resolved conflict with "Automatic Tagger From Message Content and Title"

Updated version 1.2.1
  • Include new user's IP address in report post, with link to resolve IP
  • Report which flagged word(s) were found in post content and/or signature

Updated version 2.0
  • Added the option whether to exclude users by postcount
  • Allow standard wildcards in flagged word definitions
  • Allow product to either act globally or in select forums

Updated version 2.1
  • Added the option whether to include posts/signature in report whether flagged or not.

Updated version 2.2
  • Allowed domains: sites to which links are allowed.
  • Quoted content (as long as it has not been altered) is exempt from being checked for flagged words.
  • When a new user's post goes into moderation, they are shown a static error message, rather than vBulletin's fleeting message new users often fail to be able to read/understand.

Updated version 2.2a
  • Found and fixed a syntactical error preventing selected forums setting from working correctly.

Updated version 2.3
  • Will now auto-add the unresolved report thread prefix when creating the report if "Report Thread Prefix Management" is installed and active.

Updated version 2.3.5
  • Data-type for destination forum fixed to positive integer.

Updated version 2.4
  • Fixed broken link to post when the reported post is the first in a thread.

Updated version 2.5
  • Replaced usergroup and forum selection settings with select elements.
  • Added the option to decide whether to display the product's moderation queue message or to use vBulletin's default message and redirect.
  • If your automated reports go to the same forum as user reported posts, then any subsequent user reports will be appended to the thread generated by this product.

Installation:

Download and extract the attached zip file, then upload the contents of the "upload" folder to your forum's root directory.

In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.

Click on "Choose File" and browse to the product xml file that was included in the .zip file.

Click "Import"

You MUST enable the product by going to:

AdminCP -> Options -> MarkFL: Automated Post Reporter v1.1

And clicking "Yes" for "Reporting System Enabled?"

Support for this product can be found here:

Download Now

File Type: zip MarkFL - Automated Post Reporter v2.5.zip (10.9 KB, 130 views)

Screenshots

File Type: png arpmodmessage.png (9.5 KB, 0 views)
File Type: png arpreportpost3.png (20.1 KB, 0 views)
File Type: jpg autoreportacp.jpg (61.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
Alan_SP, kh99, mapleleaffans, muffel, YOODA230, z3r0

Comments
  #2  
Old 04-07-2015, 02:13 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved.
Reply With Quote
  #3  
Old 04-07-2015, 05:35 PM
hoangserip's Avatar
hoangserip hoangserip is offline
 
Join Date: Jun 2009
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the great hack,
I will test now!
Reply With Quote
Благодарность от:
MarkFL
  #4  
Old 04-08-2015, 05:40 AM
v123shine v123shine is offline
 
Join Date: Sep 2008
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice plugin, many thanks dude
Reply With Quote
Благодарность от:
MarkFL
  #5  
Old 04-08-2015, 03:54 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks very useful. :up:
Reply With Quote
Благодарность от:
MarkFL
  #6  
Old 04-09-2015, 10:07 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just released a new version, as described above.

To upgrade, download and extract the attached zip file and upload the contents of the "upload" folder to your forum root, as the included php file has been modified.

In AdminCP go to Plugins & Products -> Manage Products -> Add/Import Product.

Click on "Choose File" and browse to the product xml file that was included in the .zip file.

Set "Allow Overwrite" to "Yes."

Click "Import"

You MUST enable the product by going to:

AdminCP -> Options -> MarkFL: Automated Post Reporter v1.1

And clicking "Yes" for "Reporting System Enabled?"
Reply With Quote
  #7  
Old 04-14-2015, 01:53 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just added some more options and fixed another bug. If installing for the first time, follow the instructions in the product post, or if upgrading follow the instructions in the preceding post for v1.2.
Reply With Quote
  #8  
Old 04-14-2015, 12:53 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I received this today:

Quote:
Fatal error: Cannot redeclare contains() in /home/xx/forums.xx.com/includes/functions_autotaggerfromcontentandtitle.php on line 64
When I attempted to make a new thread that got flagged by this system. I get this every time I make a new thread, even when the flagged words are not in them.

Code:
$checkpost = preg_replace("/\[IMG\].*?http/si", "", $newpost['message']);
Is line 64.

Awesome system though! I do would like to make a suggestion that it shows in the report "which" flagged word triggered the report. Maybe displaying IP as well in the reported posts?
Reply With Quote
Благодарность от:
MarkFL
  #9  
Old 04-14-2015, 01:15 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Skyrider View Post
I received this today:



When I attempted to make a new thread that got flagged by this system. I get this every time I make a new thread, even when the flagged words are not in them.

Code:
$checkpost = preg_replace("/\[IMG\].*?http/si", "", $newpost['message']);
Is line 64.

Awesome system though! I do would like to make a suggestion that it shows in the report "which" flagged word triggered the report. Maybe displaying IP as well in the reported posts?
functions_autotaggerfromcontentandtitle.php is not a default vb file what custom plugin did you get this from
Reply With Quote
Благодарность от:
MarkFL
  #10  
Old 04-14-2015, 01:36 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Skyrider View Post
I received this today:

Quote:
Fatal error: Cannot redeclare contains() in /home/xx/forums.xx.com/includes/functions_autotaggerfromcontentandtitle.php on line 64
When I attempted to make a new thread that got flagged by this system. I get this every time I make a new thread, even when the flagged words are not in them.

Code:
$checkpost = preg_replace("/\[IMG\].*?http/si", "", $newpost['message']);
Is line 64.
What hack are you running that uses the cited custom PHP file? I will install it on my dev site and see if I can duplicate the issue and resolve it.

Quote:
Originally Posted by Skyrider View Post
Awesome system though! I do would like to make a suggestion that it shows in the report "which" flagged word triggered the report. Maybe displaying IP as well in the reported posts?
I will include these in the next update.
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 08:18 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.06346 seconds
  • Memory Usage 2,356KB
  • Queries Executed 24 (?)
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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (11)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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