![]() |
Minimum posts to UPload attachments..
This little hack will make it possible for you to require your users to have a minimum number of posts (which you define in the admin control panel) before they can upload attachments.
Requested here. Screenshots included in the zip. If you find this hack useful please click install. :) |
question:
if i already installed the edit post can attach file hack does this effect that?should we need to edit the editpost.php?? thankz.... /me installed.. |
squawell,
No, there should be no need to make any changes in editpost.php because the attachment options only appear if a user has already attached something. But if you've installed another hack which allows you to add attachments via editing posts then this should fix it: in editpost.php find: Code:
eval("\$editattachment = \"".gettemplate("editpost_attachment")."\";"); Code:
if ($bbuserinfo[posts] < $minpostuploadattach) { |
Quote:
ill give it a try and report the result......:D edit:after test.. it works well...... :classic: |
good hack ^^ i'll install it, can you add a cost for every attachment in store points?
|
Kevorkian,
I don't use the store hack.. Sorry. Maybe someone else can add it for you. |
Thanks very much. :)
|
y/w. And thanks to you for the idea Tim. This is a useful addition to my own board. :)
|
I needed it as a security feature, we had some 'kids' attacking us from another forum (because we'd banned one of them from ours) and this allows us to have some previous posts to make judgement on, and also allows us to have time when someone registers for the role reason to upload grotesque images...
Thanks for doing it. :up: |
Installed, working, nice job.
|
All times are GMT. The time now is 09:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|