The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Download Files trough VB3 Member System Authorization
Hello,
I would like to request a simple download script that connect to vb3 member database, so, for example: http://www.domain.com/dl.php?=redhat.exe when a Registered User (User Group) download that link, it allows you to download, but if a guest tries to download that link, it will not allow you to download, but it will redirect you to home page www.domain.com Also I want that the file's real URL/path is hidden... So basically, the script check vb3 users db, and if the user is a registered member and loggin in, the script allow the user to download, but if the user is not loggin in or a guest, the script redirect the user to the specified website. Can someone make this simple hack? This hack may became very very useful for some sites...or may be widely used, because any vb sites that want to offer downloads to their members can easily use this hack so that only registered members can download. Thank you very much. |
#2
|
||||
|
||||
Well, you could do this quite easily with vB itself...
Just make a forum section for downloads, and just attach the files to a thread with the file's description and whatnot. You could use an extra usergroup if you wanted so you could differentiate between allowing members to download and guests (if you allow guests to normally view attachments). However, be aware if you want large uploads you will have to modify the php.ini file to allow for files > 8MB (or whatever the default usually is). |
#3
|
||||
|
||||
err, I already know that
And I don't want it as an attachment... and also the files here is all large... 200MB+ - Gigs like that, |
#4
|
||||
|
||||
just use something like this...
PHP Code:
Shout if you need more help |
#5
|
||||
|
||||
Quote:
Will try that ! I'll shout if i need more help^_^ |
#6
|
||||
|
||||
But that code doesn't hide the true url ?
Btw, that script is for 1 file only, isnt it? how about a script with indicators and multiple urls something like this... for example: download.php?file1.zip - to download file1.zip only download.php?file2.zip - to download file2.zip only ...and so on... Is it hard to do? Thanks so much...! |
#7
|
||||
|
||||
Actually a better way of doing it is with a popup, I saw this on a site, heres the link:
http://www.ffadvanced.com/finalfantasy/adventchildren/ try clicking any of the downloadable links, a pop up appears telling you to login or register. If someoen can make a script like that for vbulletin 3, that'd be sweet |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|