The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
trying to mod download.php
trying to mod this download.php to reject members who havent been authed by the email.
heres what i got: PHP Code:
any ideas? |
#2
|
||||
|
||||
Out of curiousity why don't you just set the appropriate permissions for the 'Users Awaiting Email Confirmation' group? Just set 'Can download attachments' to 'No'.
|
#3
|
||||
|
||||
no, the download.php is an external file from vbulletin, my can download attachments is already at "no"
|
#4
|
||||
|
||||
Ah, ok. I should have noticed this wasn't a normal vB file!
|
#5
|
||||
|
||||
especially with the
PHP Code:
anyways still looking for a solution |
#6
|
||||
|
||||
I seemed to fix this by totally re-doing my download.php and putting it in my forums directory. anyways heres what i did:
PHP Code:
Usage: if you have www.domain.com/files/yap.zip you would make the link: http://www.domain.com/forum/download.php?file=yap.zip if you have a link like: www.domain.com/files/coolstuff/yap.zip you would make the link: http://forums.voogru.com/download.ph...lstuff/yap.zip and ect. *wonder if this would qualify as a hack aranoid: |
#7
|
||||
|
||||
What's the point in this hack if you can see the filename in the URL? You can just go straight to it without using download.php.
|
#8
|
||||
|
||||
you dont understand it, if you set the ure to refresh to like
PHP Code:
download.php?file=yap.zip and it would access Code:
files/secretfolderthatnoonewouldbeabletofigureout/yap.zip |
#9
|
||||
|
||||
In that case don't use META tags, it's very easy to find them out (just view the HTML source!). Use PHP's header() function. (i.e header('Location: yourfile');)
|
#10
|
||||
|
||||
yeah but they will have to be quick if u set the refresh to 0
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|