![]() |
is it possible too....
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
|
y isnt anyone help wtf is this.........
|
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 |
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 |
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; } |
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 |
you just have the two possibilities, just add this small <?php block ?> in your file..
|
All times are GMT. The time now is 07:15 AM. |
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:
|