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)

thefullmaza 12-23-2007 09:28 PM

thanks v good :p

Electric-Shadow 12-24-2007 12:46 PM

Installed, could come in handy :D

nice job

raja811 12-24-2007 12:48 PM

thx

kawzaki 04-27-2008 03:56 PM

Quote:

Originally Posted by SkyCatcher (Post 1171220)
I'm a total preg_match noob. Everytime I look at those it makes my head hurt.

What exactly is it looking for here. I don't see what the criteria are.
PHP Code:

$re "/(www\.)?(\w*[^\.])(\.[a-z]{2,3})/"

From what I can guess it's searching for "www", and then any combination of 2 letters after a " . " ?

Sorry I did not know there was a question for me here.
regexp is hard to use at once but easy to implement if you know what you want to reach.
especially if know what conditions / quantifiers must be used.

For that regexp, I gave an example of what that regexp would match, mainly:
domain.com OR domain.co

Code:

$re = "/(www\.)?(\w*[^\.])(\.[a-z]{2,3})/";
(www\.)? means we could have www or not.

consider this list of urls

domain.com
www.domain.com
http://www.domain.com/vb/images/page.php
http://www.domain.co.uk/vb/image/pages/page.php


as you see, not interested in the full URL.

check this, might help a lot:
http://www.ilovejackdaniels.com/regu...heat_sheet.png
http://www.ilovejackdaniels.com/regu...heat_sheet.png

and must know if there is a match, how many found, and how to iterate through the result array.

sorry for the late reply, better later than never though :D

atcspaul 10-11-2008 04:25 PM

it works perfect for me. nice mod. i did change the message to something a little nicer incase a good person and not a spammer tries to post a link

mikeinjersey 02-27-2009 06:24 PM

can you please update this for 3.8 ?

This is the best mod out there to prevent new members from posting links in their posts. But it says the mod hasnt been updated in 2006 ?

I found it really useful when using it before.. I know of no other way of disabling links from being posted by spammers.

SkyCatcher 02-28-2009 03:19 PM

Hello, I'm sorry that the mod has outlived it's functionality but at the moment I do not have any time to fix it or update it for 3.8 :( I haven't done anything in vbcode for over a year and just don't have the time to start up again.

I'm sorry that the mod doesn't work as intended anymore and hope someone will come along to pick it up and update it to work with 3.8.

Thanks to all who said thanks and got some use out of this :)

mikeinjersey 03-01-2009 04:25 AM

Quote:

Originally Posted by SkyCatcher (Post 1756950)
Hello, I'm sorry that the mod has outlived it's functionality but at the moment I do not have any time to fix it or update it for 3.8 :( I haven't done anything in vbcode for over a year and just don't have the time to start up again.

I'm sorry that the mod doesn't work as intended anymore and hope someone will come along to pick it up and update it to work with 3.8.

Thanks to all who said thanks and got some use out of this :)

I'll help chip-in and maybe pay for it completely.

If you still have the skills, let us know how much is needed.

footose 08-24-2009 06:59 PM

works for me in 3.8.4

skyyjet 09-19-2009 11:31 AM

Its a good mod.. bu I find there are numerous tld's like .ws, .su etc so spammers are able to post.. or can someone give list of all tld's so we can enter it there in its configuration?


All times are GMT. The time now is 08:13 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.02921 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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