vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - Automated Post Reporter (https://vborg.vbsupport.ru/showthread.php?t=318139)

Skyrider 04-14-2015 01:56 PM

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) {
From this plugin:

https://vborg.vbsupport.ru/showthread.php?t=234026

Seems to be conflicting with your system.

MarkFL 04-14-2015 02:08 PM

Quote:

Originally Posted by Skyrider (Post 2543035)
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) {
From this plugin:

https://vborg.vbsupport.ru/showthread.php?t=234026

Seems to be conflicting with your system.

Okay, my hack and the one you are using both declare a function of the same name. I have renamed the function in mine and this should resolve the issue.

Please download and install the current version (1.2a) and let me know if this fixes the issue on your end. :D

MarkFL 04-15-2015 04:29 AM

Quote:

Originally Posted by Skyrider (Post 2543031)
...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 have included these changes in the latest version 1.2.1. :cool:

Skyrider 04-15-2015 05:02 AM

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 ^_^.

MarkFL 04-15-2015 05:32 AM

Quote:

Originally Posted by Skyrider (Post 2543080)
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 ^_^.

I will look into all of these points very soon. I was actually already thinking of giving the option to choose "Active Forums." :D

Skyrider 04-15-2015 06:43 AM

:) 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.

MarkFL 04-15-2015 12:17 PM

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?

Skyrider 04-15-2015 12:27 PM

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.

MarkFL 04-15-2015 12:35 PM

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.

Skyrider 04-15-2015 02:34 PM

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.


All times are GMT. The time now is 05:58 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
  • Page Generation 0.01058 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete