![]() |
Automated Post Reporter
1 Attachment(s)
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::cool: Updated version 1.1:
Updated version 1.2
Updated version 1.2a
Updated version 1.2.1
Updated version 2.0
Updated version 2.1
Updated version 2.2
Updated version 2.2a
Updated version 2.3
Updated version 2.3.5
Updated version 2.4
Updated version 2.5
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: |
Reserved.
|
thanks for the great hack,
I will test now! |
Very nice plugin, many thanks dude ;)
|
This looks very useful. :up:
|
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?" |
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.
|
I received this today:
Quote:
Code:
$checkpost = preg_replace("/\[IMG\].*?http/si", "", $newpost['message']); 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? |
Quote:
|
Quote:
Quote:
|
Argh, my bad. Was multi-tasking that I didn't even notice that the PHP files were completely different. Line 64 of functions_autotaggerfromcontentandtitle.php is:
Code:
function contains($text, $tag, $related_words) { https://vborg.vbsupport.ru/showthread.php?t=234026 Seems to be conflicting with your system. |
Quote:
Please download and install the current version (1.2a) and let me know if this fixes the issue on your end. :D |
Quote:
|
Awesome, thanks! The system works perfectly now, and I love that the words are included now. I do have a suggestion though if you don't mind. I noticed that the system is using the *.php file in order to make the full report, eg, what text is being used.
Is there a way that a template & Languages & Phrases can be used instead? So the text itself (the whole report) can be adjusted to fit the forums without changing the php file(s). And can the Postcount Threshold also be -1? (checking every single member, regardless of the postcount). Again, thanks for this system. It's very useful. --- EDIT: Maybe exclude specific sections/sub-sections would be nice as well ^_^. |
Quote:
|
:) appreciate it!
Mind if I make another suggestion? :P Is there anyway that the bad word filter can have a system that "must" include a specific word, and also report the rest of it? Hard to explain, so I'll give an example: Suppose, you would filter "http://google.com". <- yes, this entire url. That would report all posts/threads & signatures with "http://google.com" in it, but ignores anything beyond that if it includes a longer url, eg http://google.com/searchresulthere. When that happens, the bad word is not being reported at all, seeing the system only sees "http://google.com" as a bad word. Anything added after the link, well.. you get the drill. What I'd personally like to see is if it is possible that when you filter a specific word or URL in this case, that anything beyond that ( http://google.com/*) <- like this *, gets reported as well. I've seen on some plugins they are using such method, I just forgot what the plugins were/are called. I think the other systems were using Quotation Marks for this kind of job, eg as bad words. test1,test2,test3,"http://google.com",test4,test5 So that http://google.com and anything beyond that url gets reported as well. Hard to explain, but I think you understand. The reason why I'm suggesting is this because we don't want the word itself to be filtered, but the url and anything that is being added inside that url. This is to prevent words being used of the url in the filter. |
As it is, if you enter http://google.com as a flagged word, then if a new user has https://www.google.com/search?q=gauss&ie=utf-8&oe=utf-8 in their post, the post will be reported. Are you saying you would want the option that this not to be reported?
|
Odd, I'd have to try it out again then. I attempted http://google.com to be as a bad word, but when I enter a full google URL as your post, it didn't report it. Let me double check to see if this is still the case.
|
Okay, I see the issue...if http://google.com is entered as the flagged word, then https://www.google.com* will not be reported...what would have to be entered as the flagged word is https://www.google.com.
|
I think you noticed my issue now :D, though I might as well give an example with the URL I had in mind.
I've filtered: http://steamrep.com/ Now, when I make new thread / post with this included: http://steamrep.com/search?q=skyrider The system is not reporting it, while http://steamrep.com is in the bad word list. Hence, would it be possible that that the system can detect the bad word seeing "http://steamrep.com" is already in the bad word list. |
In this case for the meantime, I would suggest flagging both:
Code:
http://tf2outpost.com,http://www.tf2outpost.com Code:
http://*tf2outpost.com |
Ah, I see.. I really, failed to notice the www. Silly me. Can't believe I overlooked that.
|
Quote:
|
I edited the site above, but nevermind my reply! I was stupid enough to skip over the "www" in the URL.
|
I have updated the product to include the ability to not exclude users by postcount, the ability to use standard wildcards in flagged word definitions, and the ability to select the forums in which the product is active. :D
|
Awesome! I'll update asap!
We've been using the system for a few days ago, and I'm loving it thus far. There is just 1 thing that we noticed though. Thus far that the signature may or may not be a small issue. Every time a user posts, and is using the same signature for every post, it's spamming up the report section we use for systems like this. I'm not sure. But, is it possible that once the signature has been reported once any other duplicate (exact same signature) check will be ignored? Until the signature changes again. Oh.. and, sorry for all the replies from me. But, is it possible there can be an option to show Signature Content in the report or not when only the post has been flagged with bad word content? EG, if nothing in the signature has been reported, it could perhaps have an option to hide the signature information in the reported post, seeing only words in the post itself were flagged. |
Quote:
Quote:
This (adding the option to only add the signature to the report if it contains flagged words) is something I will add tomorrow. :) |
I have updated to version 2.1 which gives the option whether to include posts/signatures in the report whether flagged or not. If set to "Yes" then both posts and signatures will be in the report, but if set to "No" then only that which is flagged is included. :D
|
Updated version 2.2 includes:
|
Please can you add option Block Censored Words in Posts? Options included to limit checking on thread titles or only post bodies, or both. Also option to use on specific forums instead of all forums on your site.
|
Quote:
There already is the option to choose which forums on which this product is active. Adding the post title to the check isn't a bad idea though, so look for that most likely in the next update. If you are looking to block words from being posted in the first place, I would point you to this product which works very well: Block Censored Words in Posts by BOP5 VB4 |
Updated version 2.3
|
Updated version 2.4
|
Is it possible to disable the error message from displaying to the poster of said moderated message? Getting an error message annoys members and they try to get around it by posting the same/similiar message again. Is it possible to have it so that both the staff and the original poster of the message sees his/her post, thus making it so that the poster doesn't think anything is wrong and sees no reason to make a duplicate/similar post? I'm not asking to add this option to the modification, I'm happy to be able to do this on my own if you let me know what I'll have to modify.
|
Well, my intent with the message to the user is to explain that their post/thread has been added to the moderation queue and will be dealt with ASAP, thereby preventing them from thinking their post just disappeared.
Now, in the product's settings you can choose to set "Moderate Posts?" to "No" and then the user will see his post has been posted like normal, but a report is generated that your staff will see and can then take action. :D |
Ah ok. I was hoping that the post still get moderated and that no one on the forum but the staff and the poster his/herself would see it until the staff took care of the post. I guess that's not possible.
|
Well, that would most likely be possible, and so I will certainly look into the possibility of making this an option. :)
|
Oh thank you very very much :)
|
Updated version 2.5
On the issue of users being able to view their own moderated posts, I would direct you to the following thread: Users can see own moderated threads prior to approval |
Oh thank you very very much
|
All times are GMT. The time now is 06:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|