The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
i'm using a downloads.php script that I want to restrict access to registered users only.
I've tried to add something like this at the top of the code but it's doing nothing: if ($bbuserinfo['userid']!=0) { $username=$bbuserinfo['username']; eval("\$error_nopermission = \"".gettemplate('error_nopermission')."\";"); } else { ("continue"); } could i get some advice please ? |
#2
|
|||
|
|||
someone must know this one ?
please.... |
#3
|
||||
|
||||
Try this:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|