Register Members List Search Today's Posts Mark Forums Read

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

This modification is in the archives.
vB Version: 2.3.x Rating: (0 vote - 0 average) Installs: 21
Released: 17 Oct 2002 Last Update: Never Downloads: 85
Not Supported  

Allow URLs in posts only after a minimum number of posts (to reduce spam)

I did this mini-hack to reduce the amount of spammers and newbie mistakes at my forums. Most of the newbies at my site do not read the rules, and in their enthusiasm post links back to their own sites or forums.

I have made it so that members need to have a minimum number of posts before they can post URLs to website. On my site I've set it to 15, but you can set it to whatever you like. If a member has less than the required amount of posts, when they try to post they get redirected to an error page, telling them that they need to have a minimum amount of posts before they can post links in their post. In my error message, I also tell them to post links to their own site only in our forum designated for website links.

Update: Version 1.1 - fixed up a loophole. Just replace the old code with the new.
Version 2.0 - tidied up the code, added code to editpost.php, made it easier to change the variable

Anyway, installation is a breeze. The installation text file is below:

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
Miscellaneous Hacks Add rel="nofollow" Attribute To URLs - Reduce Spam - Increase Pagerank 1Unreal vBulletin 3.8 Add-ons 88 24 Sep 2015 11:25
New Posting Features Allow URLs in posts only after a minimum number of posts (to reduce spam) Xoligy vBulletin 3.6 Add-ons 97 14 Apr 2012 13:26

Old 11 Oct 2005, 12:27
Stu's Avatar
Stu Stu is offline
Join Date: Aug 2002
Thank you very much.
Reply With Quote
Old 09 Oct 2006, 16:08
steveprice steveprice is offline
Join Date: Dec 2001
Thumbs up


This is a terrific hack. I was getting over 100 spam posts a day, and this stopped them dead in their tracks. The spammers do everything automatically, so you don't really have to worry about them slipping a post by the moderators and then editing it later - too much bother for them.

On my sites, I do get lots of posts from people who want to show images of things for evaluation, so I edited out the blocks to the strings, "www." and "http". I just block anything with "[url" or "[URL" from a new user. Since the software automatically appends that to any URL that starts with http:// or with www., but not to things that start with [img], it lets through the stuff I want to let through, blocks the trash.

Many, many thanks.
Steve Price
Reply With Quote
Old 11 Oct 2006, 14:09
steveprice steveprice is offline
Join Date: Dec 2001
Hi Again

Just discovered a glitch. It works perfectly with new threads and with new replies. But, new replies can no longer be previewed. The "Preview" button acts just like another "Post Reply" button. It also truncates the user name to "by" on the forum index page. This happens with users with hundreds of posts, not just newbies.

Any help you can offer on this would be very welcome.


Added Note: I'm using vBulletin v. 2.2.6
Steve Price

Last edited by steveprice; 11 Oct 2006 at 17:31.
Reply With Quote
Old 26 Jan 2007, 20:07
Moria123 Moria123 is offline
Join Date: Aug 2006
Real name: Charlie Douglas
Is there a way you could get this to work for a specific forum only?

So they would have to post X times in that specific forum before being allowed to post a link rather than the boards as a whole?
Reply With Quote
Old 27 Sep 2007, 12:37
dealxa's Avatar
dealxa dealxa is offline
Join Date: Jan 2007
i'm using vbulletin 3.6.8 and your codes didn't find in editpost.php, newreply.php and newthread.php?????
Cruel Dragon... // Kaiser...
Reply With Quote

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 06:04.

Layout Options | Width: Wide Color: