vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Stop Spam Links 1.2 Gold (https://vborg.vbsupport.ru/showthread.php?t=134778)

Smoothie 12-31-2006 02:18 PM

Happy to report it seems to be working like a champ! Will test some more, but it's looking good. Simple but very effective.

Smoothie 12-31-2006 02:19 PM

BTW, I did the upgrade by overwriting instead of deleting and reinstalling and it worked just fine.

Smoothie 12-31-2006 02:44 PM

I forgot to ask. Are there any conflicts with this plugin and the RSS feed manager? In other words, will the RSS feeds be able to post links?

SkyCatcher 12-31-2006 02:59 PM

Quote:

Originally Posted by Smoothie (Post 1148090)
I forgot to ask. Are there any conflicts with this plugin and the RSS feed manager? In other words, will the RSS feeds be able to post links?

I'm not sure. I've never used RSS links on my forum ><

the RSS links are posted by a user right? So as long as that user in not in the list of usergoupID's not able to post links or has more than the minimum post count it should be ok.

Smoothie 12-31-2006 03:02 PM

Quote:

Originally Posted by SkyCatcher (Post 1148099)
I'm not sure. I've never used RSS links on my forum ><

the RSS links are posted by a user right? So as long as that user in not in the list of usergoupID's not able to post links or has more than the minimum post count it should be ok.

Yes, RSS feeds are set to post as little ol' me. And I'm not blocked from posting links. :) Just thought I'd ask.

hendri 01-01-2007 12:48 AM

installed !! thanks !! will try if it is works.. a lot of spammers nowdays..

Smoothie 01-01-2007 01:46 AM

If this helps, this is what I have so far;
Code:

.biz,.us,.de,.com,.uk,.to,.info,.br,.net,.ru,.org,.tv,.ws,.fm,.eu,.cc,. c o m,. n e t,. o r g,. d e,. i n f o,. r u,. b i z,. u s,. u k,. t v,. w s,. f m,. c c,. e u

amcd 01-08-2007 10:30 AM

Great plugin. Will install right away. Its simple but looks good. Have seen other similar hacks earlier but this seems better.

Two questions, though:

Why does your description only mention TLD? I glanced over the code and it uses strpos in the whole message to ascertain if the message should be blocked or not. Doesn't that mean we can use any text - word or phrase - to trigger the spam check?

Also, I found your if statement a bit weird. If I understood it correctly, it says:

if the post doesnt contain any offending stuff
then
original post = original post
else
original post = special predefined message

isnt it simpler to write:

if the post contains any offending stuff
then
original post = special predefined message

SkyCatcher 01-08-2007 12:03 PM

Quote:

Originally Posted by amcd (Post 1153478)
Great plugin. Will install right away. Its simple but looks good. Have seen other similar hacks earlier but this seems better.

Two questions, though:

Why does your description only mention TLD? I glanced over the code and it uses strpos in the whole message to ascertain if the message should be blocked or not. Doesn't that mean we can use any text - word or phrase - to trigger the spam check?

Also, I found your if statement a bit weird. If I understood it correctly, it says:

if the post doesnt contain any offending stuff
then
original post = original post
else
original post = special predefined message

isnt it simpler to write:

if the post contains any offending stuff
then
original post = special predefined message


Yeah, you're right on the ball. It checks for instances of anything you enter between the , , 's so you could enter .de,skycatcher,.com and it would considder the word skycatcher as spam if it finds an instance of that in the post, but it was intended to stop constant attempts to display links etc, so you can use it as you see fit, but that's on you :)

Hey! I like my logic :D

solokron 01-08-2007 12:17 PM

This looks great! We'll see how it works!


All times are GMT. The time now is 04:31 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.01781 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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