The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Limit Attachment Uploads per Time
Im looking for a mod that lets you limit the number of attachments a user can do based on usergroup for a set amount of time.
This hack was available on 2.x but I havent seen anything for 3.6 For example, I want my regular users to only be able to post 1 attachment every 24 hours. Premium members get unlimited. Any help? |
#2
|
||||
|
||||
write a plugin (location: newattachment_start) that is first conditional of the usergroupid, then queries for the last attachment uploaded by that userid. subtract the timestamp from the current time. if its outside your limits, "continue", if not, error. If i had time this morning, i'd write it for you. maybe later if you're not proficient with plugins
|
#3
|
|||
|
|||
Quote:
If you could write this for me, that would be great. I could even throw you a few dollars for your time via paypal. thanks, Mike |
#4
|
|||
|
|||
Something like this would be cool, what would be even cooler tho would be a count down timer exactly like rapidshare.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|