Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Minimum Post Count Required To Post Blog Entries Details »»
Minimum Post Count Required To Post Blog Entries
Version: 1.00, by The Rocketeer The Rocketeer is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Anti-Spam Options - Version: 4.2.0 Rating:
Released: 05-30-2012 Last Update: Never Installs: 33
Uses Plugins
Re-useable Code Translations  
No support by the author.

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:


DEMO

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.


Code:
$min_posts = x;

if ($vbulletin->userinfo['posts'] < $min_posts)
{
    print_no_permission();
}

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


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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
Hostboard, zgg123

Comments
  #12  
Old 08-23-2012, 10:05 PM
Sai01 Sai01 is offline
 
Join Date: Dec 2004
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Also under product when adding this, do I select vBulletin or vBulletin Blog?
Reply With Quote
  #13  
Old 08-23-2012, 11:14 PM
Recon0303 Recon0303 is offline
 
Join Date: Jun 2012
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #14  
Old 08-23-2012, 11:27 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why not make the plugin and upload it to the first post as a lot of members don't know how to make one
Reply With Quote
  #15  
Old 08-24-2012, 12:16 AM
Sai01 Sai01 is offline
 
Join Date: Dec 2004
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A plugin would be great. A more indepth installing description would be nice also. It's a little vague as it currently stands.
Reply With Quote
  #16  
Old 01-10-2013, 08:16 PM
IndigoSociety IndigoSociety is offline
 
Join Date: Nov 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would you change the message to something more informative? How to output another type of text?
Reply With Quote
  #17  
Old 01-11-2013, 02:46 PM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think this is working. I'm still getting spammers posting blog entries despite having zero forum posts.
Reply With Quote
  #18  
Old 01-21-2014, 04:30 AM
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Location: Karachi, Pakistan
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i create the plugin. please anyone guide me briefly
Reply With Quote
Reply

Thread Tools

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

Forum Jump


All times are GMT. The time now is 06:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05541 seconds
  • Memory Usage 2,284KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (2)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete