The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Question For all!
Anyone know of a hack that limits people to download attachments if they don't have enough posts?
I see a lot of miminum posts in order to post a thread, etc, but not to download attachments. Thanks. |
#2
|
||||
|
||||
edit attachment.php, find:
PHP Code:
PHP Code:
Not tested but should work.. Enjoy.. |
#3
|
|||
|
|||
works great. Thank you
|
#4
|
|||
|
|||
Under what error template would I put down that you need a certain amount of posts in order to download?
|
#5
|
||||
|
||||
Replace the line :
PHP Code:
PHP Code:
|
#6
|
|||
|
|||
Logician - What if I wanted to make it 10 threads, instead of posts? Where would I go to edit that?
|
#7
|
||||
|
||||
Quote:
Replace: PHP Code:
PHP Code:
|
#8
|
|||
|
|||
Quote:
|
#9
|
||||
|
||||
IMO no.. check the bottom of this page and you'll see it has 27 queries. What if would it be 28? 1 query does not harm much unless your server load is already too high..
|
#10
|
|||
|
|||
Oh, cool. I have music to download off my site, but I get a lot of leechers that don't contribute, so I originally put it that you had to get 10 posts to download. So, several people just would put garbage in the threads. So, I figured if I made it a minimum of 5 threads to download music, it might deter people that just leech.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|