vBulletin Mods

The Official vBulletin Modifications Site

Minimum Post Count Required To Post Blog Entries
by The Rocketeer
31 May 2012 01:41

This is a simple Plugin / Mod that was suggested to me by Kevin(kh99), Special thanks to him. And so I wanted to make it public so that others could use it as well. :)

What Does This Plugin Do?
What this Plugin does is, it stops newly registered users from Creating Blog Entries before they have a certain number of posts in the forum. Even though we used the vBulletin Q& A for Human Verification, On one of our forums we had a issue where a lot of new spammers (either bot or human) would register and would post spam blog entries, everyday. After adding this plugin that problem is gone. :up:


To Install
  1. Create a new plugin using hook blog_post_start
  2. Use the Code below

NOTE: Remember to change the red colored "x" in the "$min_posts = x;" to a number of your liking, eg. 5 or 10. This will represent the number of posts that a user is required to have to be able to start their own blog entries.

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

The mod / plugin is free and the code is reusable so feel free to improve on it. You dont require to put any link backs or copyright or anything to our forum, you are welcome to use it as you like. Please Remember to Tag it for later, or if you install it then please do Mark As Installed :o

Mod Version and Updates
Version 1.01 May 31 2012 - First version, Tested on vBulletin 4.1.12 & 4.2 and Released

dacho 31 May 2012 07:11

Thanks mate
Simple and good!

zyiad 31 May 2012 08:20


Bankfodder 01 Jun 2012 18:24

Looks great - but I'm afraid that I don't know what to put for Hook location and it won't allow me to save the plugin.
Can you help please

Nirjonadda 01 Jun 2012 18:34

Using Hook location "blog_post_start"

Bankfodder 01 Jun 2012 18:53

Thanks. I thought that was the title!!!!

lgnd 06 Jun 2012 09:37

Thanks! Installed on 4.2.0

Hostboard 06 Jun 2012 11:32

This is a huge help as we have the same problem. Would be nice if the error message actually gave the actual a physical reason why they are blocked.

Mukashi 11 Jun 2012 05:50

Exactly what I've been looking for. Far too many blog spammers lately.

Disco_Stu 12 Jun 2012 17:48

How will the visitors know how many posts they must have before they are allowed to blog?

If they just get the generic "no permission" message they will no doubt start sending emails or messages to the admins asking what is going on.

Can this be modified to inform them as to why they are being prevented from creating a blog to avoid all the questions?

Sai01 23 Aug 2012 23:05

Does it matter what Title or Execution Order I give it?

Also under product when adding this, do I select vBulletin or vBulletin Blog?

Recon0303 24 Aug 2012 00:14

Glad we have this because the spammers are getting on my nerves, they only attack my blog, since I have the questions , but they seem to still hit the blogs, so I plan to see if this takes care of it, which it should !

Thanks alot!

ForceHSS 24 Aug 2012 00:27

Why not make the plugin and upload it to the first post as a lot of members don't know how to make one

Sai01 24 Aug 2012 01:16

A plugin would be great. A more indepth installing description would be nice also. It's a little vague as it currently stands.

IndigoSociety 10 Jan 2013 20:16

How would you change the message to something more informative? How to output another type of text?

All times are GMT. The time now is 18:55.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.