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 (Coder) Xoligy is offline
Developer Last Online: Mar 2013 I like it Show Printable Version Email this Page

vB Version: 3.6.4 Rating: (9 votes - 4.89 average) Installs: 127
Released: 12 Dec 2006 Last Update: 29 Jan 2007 Downloads: 1215
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

  #91  
Old 08 Feb 2010, 06:01
asiaphoto asiaphoto is offline
 
Join Date: Nov 2008
this is a great mod/add-on

is there any plan to release a version workable on VB4?
Reply With Quote
  #92  
Old 09 Mar 2010, 02:33
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Real name: Vijay
The mod is working great on 3.8.4 but sarahk's additional plugin to improve functionality did not work.
Reply With Quote
  #93  
Old 25 Feb 2011, 01:03
djxkon djxkon is offline
 
Join Date: Feb 2011
So I'm trying to plug it in, I'm using version 4x under plug ins & products > add new plug in > what do I put for hook location?
Reply With Quote
  #94  
Old 25 Feb 2011, 01:22
djxkon djxkon is offline
 
Join Date: Feb 2011
I can't get it to work at all errr, I really want it, my site has been up for 5 days, not advertised at all, and already spammers found me. I have followed the directions, but i'm on 4x maybe that's the problem?
Reply With Quote
  #95  
Old 25 Feb 2011, 01:28
djxkon djxkon is offline
 
Join Date: Feb 2011
ok i figured out the hook thing... but now I get an error...


Parse error: syntax error, unexpected '<' in /home/financi5/public_html/includes/functions_newpost.php(443) : eval()'d code on line 1

Redirecting...
Thank you for posting! You will now be taken to your post. If you opted to post a poll, you will now be allowed to do so.
Click here if your browser does not automatically redirect you.
Reply With Quote
  #96  
Old 20 Dec 2011, 02:53
Louva-Deus Louva-Deus is offline
 
Join Date: Jan 2008
This does not appear to work for posts where the poster doesn't actually use any of the three bbcodes checked for (meaning they rely on the 'Automatically parse links in text' feature). So more advanced regex parsing is needed.

I'm running 3.8.7.
Reply With Quote
  #97  
Old 20 Dec 2011, 03:04
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Real name: Brooks
Originally Posted by Louva-Deus View Post
This does not appear to work for posts where the poster doesn't actually use any of the three bbcodes checked for (meaning they rely on the 'Automatically parse links in text' feature). So more advanced regex parsing is needed.

I'm running 3.8.7.
http://www.vbulletin.org/forum/showthread.php?t=269704
__________________
"Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time!"
"It's important to only think about what you desire, not what you fear to achieve your ultimate goal!!
Reply With Quote
  #98  
Old 14 Apr 2012, 12:26
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
works like a charm.. wanted to quickly install this to control spam..
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 21:22.

Layout Options | Width: Wide Color: