The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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)
Developer Last Online: Mar 2013
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. Show Your Support
|
Comments |
#12
|
|||
|
|||
Thank you, installed but I'm curious as well for my forum, what is an advanced version of this. Is there another product similar to this one out?
|
#13
|
|||
|
|||
Updated main post with information about better plug-ins. Unfortunately I didn't know about them until Distance notified me and I stumbled across the other.
If you're looking for more control, I recommend you use one of the 2 mentioned. |
#14
|
|||
|
|||
Sounds like a great hack, Installed it. Set registered group to 25 post prior to be able to post links. Logged in with a test account no post on it and it was able to post links. I uploaded the bitfield first then imported. What could be the problem?
|
#15
|
|||
|
|||
You're right, I made a mistake. Now going to upload the fixed version.
|
#16
|
|||
|
|||
Quote:
Thank you, I prefer your version as it gives them a message telling them why they cannot post url The other mods simply place the message as a moderated post. Then we would have to manually remove the crap and explain to them why. |
#17
|
|||
|
|||
Quote:
BTW, has it been fixed yet? |
#18
|
|||
|
|||
yes it was fixed. This mod is just what the doctor ordered. Would be great if a message would come out in a block to tell a user why they cannot use links, As posted on the picture on the first post.
|
#19
|
|||
|
|||
I thought the error message was standard with this mod?
|
#20
|
|||
|
|||
The error message is below the navbit, basically it returns you to your post. It is fine, but I thought that the message would be something more noticeable, like when you try to access a private forum and you get the boxed message telling you that you do not have permission. It is still cool as it is. |
#21
|
|||
|
|||
Well if you want me to continue developing it, I will.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|