2007-03-04, 12:28 AM
Well I have been wanting a plugin to do this and today I finally got the chance to make it. It's tested fairly thoroughly but any problems please post or PM me. The plugin is only 1 file and has admin settings for customizing to suit your needs.
Any suggestions on how to improve this plugin are welcome.
Enjoy
Download Link
License is GNU/GPL attached inside the folder.
Plugin Name: Minimum Attachment Posts
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
Plugin Version: 1.0
Plugin Mybb Compatibility: 1.2x
Plugin File Edits: None
Plugin File Uploads: 1
Plugin Description: With this plugin you can set a minimum post requirement for downloads of attachments. Thumbnails are still viewable. You can also set certain groups to be exempt from this plugin and insert a custom message for the error.
Installation
1. Upload the 1 file from the zip
root/inc/plugins/minimum_attachment_posts.php
2. Login to your admincp and ACTIVATE the plugin (Attachment Minimum Posts) in the plugin manager.
3. You will see the new setting called "Attachment Minimum Posts" in admincp settings area.
The rest is self explantory.
Any suggestions on how to improve this plugin are welcome.
Enjoy
Download Link