Version: 1.00, by Xoligy
Developer Last Online: Mar 2013
Category: New Posting Features -
Version: 3.6.4
Rating:
Released: 12-11-2006
Last Update: 01-28-2007
Installs: 128
DB Changes Uses Plugins
Additional Files
No support by the author.
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.
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.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Warning: preg_match() [function.preg-match]: Compilation failed: missing terminating ] for character class at offset 22 in /includes/functions_newpost.php(360) : eval()'d code on line 2
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.
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