The Arcive of vBulletin Modifications Site. |
|
is it possible too.... Details »»
|
|||||||||||||||||||||||||
is it possible to have downloads on the site but set the downloads so only forum memebers could only download it... and also i posted this question a few thousand times but it seems like no one dont want to ansewer this question but how will i be able to take the border out of the catagory stripe area
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
y isnt anyone help wtf is this.........
|
|
#3
|
||||
|
||||
|
you have to catch the vb member infos into your download script then check if the userid is > 0.
or you can make all downloads into attachments and then just allow registred users to download attachments |
|
#4
|
||||
|
||||
|
Quote:
you just lost me on that one how would i actually do that... and come on can anyone help me on taking off the border around the catagory strip im sure half this forum members know wut im talking about |
|
#5
|
||||
|
||||
|
let's say your download script is called download.php
just after the <?php add require("pathtoforums/global.php"); if(!$bbuserinfo[userid]>0) { echo "You must login to the forums to download files"; exit; } |
|
#6
|
||||
|
||||
|
o ok so in that file that is going to have all the links to the downloads like forum.zip in the page that file is on i should add require("pathtoforums/global.php");
if(!$bbuserinfo[userid]>0) { echo "You must login to the forums to download files"; exit; } but wut if i dont use that kind of coding with the <?php in every page i just use that code once and that would be the index which i dont want the require code there |
|
#7
|
||||
|
||||
|
you just have the two possibilities, just add this small <?php block ?> in your file..
|
![]() |
|
|