Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Allow URLs in posts only after a minimum number of posts (to reduce spam) Details »
Allow URLs in posts only after a minimum number of posts (to reduce spam)
Mod Version: 1.00, by Xoligy (Member) Xoligy is offline
Developer Last Online: Mar 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.4 Rating: (9 votes - 4.89 average) Installs: 126
Released: 12 Dec 2006 Last Update: 29 Jan 2007 Downloads: 1223
Not Supported DB Changes Uses Plugins Additional Files  

With the recent increase in CAPTCHA-beating bots spamming their URLs, I have a feeling this mod will be very useful. Inspired by this vBulletin 2 plug-in.

To install, first upload "bitfield_restricturls.xml" to "includes/xml", and then just install restricturls.xml via the product manager in the AdminCP. The plug-in should automatically rebuild the bitfields cache - as long as you upload "bitfield_restricturls.xml" first.

The amount of posts required is configurable in the usergroup manager, simply look for the group of settings with the header "Restrict URLs". The default is set to 5, however most bots tend to only make one or two spam posts at the most.

For obvious reasons, moderators and admins don't have this restriction, but if you want to add it, you can remove the group id from "bitfield_restricturls.xml".

If people find this useful, I may also update this to make an option so the posts containing URLs are set to be moderated rather than just completely restricted.

Enjoy

Update (13th Dec): Added code to rebuild bitfields, just re-install the .xml file. Also fixed a major bug. If you already have this installed... re-install it!

Note: This works by detecting the [url] tag and so it relies on vBulletin BBCode enabled and vBulletin to automatically parse URLs in to BBCode. If you have either of these disabled it will not work.


You're free to do what you like with this code, although credit is appreciated, it's not required.

Brought to you by eXaltic - vBulletin skins.

Update: If you're looking for a more advanced version of this, I recommend this or this. Because of these, this plug-in will no longer be updated unless needed. I recommend you use either of the first 2 if you're looking for more control.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Allow URLs in posts only after a minimum number of posts (to reduce spam) Erwin vBulletin 2.x Full Releases 49 27 Sep 2007 11:37

  #61  
Old 29 Jun 2007, 19:08
SpanishHarlem SpanishHarlem is offline
 
Join Date: Feb 2005
Real name: Sheryl
It doesn't help when they make other posts just to be able to put the url in.
__________________
CANADIAN FREEBIES N STUFF
Reply With Quote
  #62  
Old 05 Aug 2007, 09:34
hobsdv hobsdv is offline
 
Join Date: May 2006
very handy mod to have i set the limit on mine to 20 posts
Reply With Quote
  #63  
Old 05 Sep 2007, 13:39
nMIK-3 nMIK-3 is offline
 
Join Date: Dec 2004
Thats what I needed.


THanks
Reply With Quote
  #64  
Old 07 Sep 2007, 02:08
pitzerwm pitzerwm is offline
 
Join Date: Aug 2007
I'm new or retarded, where do I set this: automatically parse URLs in to BBCode
Reply With Quote
  #65  
Old 08 Sep 2007, 03:53
cpvr cpvr is offline
 
Join Date: Jul 2007
Originally Posted by Distance View Post
Nice but i have an advanced version of this installed
Where?
__________________
Virtual pet list, myspace hun, web games
Reply With Quote
  #66  
Old 28 Sep 2007, 04:22
JamesAB JamesAB is offline
 
Join Date: Jan 2004
First off, thanks for this great mod.

Is there a way to check for email tags as well?

I looked at the orginal code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And then the mod posted to restrict IMG tags:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So I tested this to try to catch email tags instead of img tags:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but I get this error:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Any ideas on this?

Thanks for your help.
Reply With Quote
  #67  
Old 28 Sep 2007, 05:16
JamesAB JamesAB is offline
 
Join Date: Jan 2004
Nevermind. I found the missing \ character.

It works as:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #68  
Old 30 Oct 2007, 01:40
David Bott David Bott is offline
 
Join Date: Dec 2001
Hello...

We use this and it is great. Looking for the same thing but with the PM's as well a spammers are now using that as a way to not only spam, but also SPOOF. Yes, we just had our site spoofed to collect user login info. (IE, a link to a page that looks like us but displays the You are not Logged in...and gives the boxes. This link was offered via PM from a member with zero posts. Thus the need.

Thank you.
__________________
David Bott
AVS Forum/DBSTalk
Founder - TiVoCommunity.com
http://www.avsforum.com - http://www.dbstalk.com
Reply With Quote
  #69  
Old 27 Nov 2007, 14:41
Shaheen's Avatar
Shaheen Shaheen is offline
 
Join Date: Nov 2006
Is this works with 3.6.8 ??? any one tested ???
Advance thanks
Reply With Quote
  #70  
Old 30 Nov 2007, 13:08
Calash's Avatar
Calash Calash is offline
 
Join Date: Jun 2006
Originally Posted by David Bott View Post
Hello...

We use this and it is great. Looking for the same thing but with the PM's as well a spammers are now using that as a way to not only spam, but also SPOOF. Yes, we just had our site spoofed to collect user login info. (IE, a link to a page that looks like us but displays the You are not Logged in...and gives the boxes. This link was offered via PM from a member with zero posts. Thus the need.

Thank you.
I was able to get this to work with PM's as well by making a new plugin

Hook rivate_insertpm_process


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Just did a quick test and it works great for stopping URLs in PM messages.


The mod works fine on my 3.6.8 system.
Reply With Quote
  #71  
Old 23 Apr 2008, 19:07
Fox Mc Cloud Fox Mc Cloud is offline
 
Join Date: Oct 2006
Is it somehow possible to block html links too? Some spambots try it even tough it doesn't work. They can make posts which is pretty annoying.
Reply With Quote
  #72  
Old 27 Apr 2008, 12:03
islamicvd islamicvd is offline
 
Join Date: Feb 2008
Does it works on 3.6.10?
Reply With Quote
  #73  
Old 21 May 2008, 22:41
LeonardoCal's Avatar
LeonardoCal LeonardoCal is offline
 
Join Date: May 2008
Real name: Leonardo Cal
anyone tested this on 3.7.0?
Reply With Quote
  #74  
Old 04 Jun 2008, 12:21
King Justice King Justice is offline
 
Join Date: Apr 2006
Does this work on vB 3.7.1?
Reply With Quote
  #75  
Old 22 Jul 2008, 00:50
sarahk's Avatar
sarahk sarahk is offline
 
Join Date: Jun 2004
I've just installed this in a 3.7.2 forum and it's tested ok.
__________________
Property Management Services
Simple SEO Blog
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:17.

Layout Options | Width: Wide Color: