![]() |
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 ? |
someone must know this one ?
please.... |
Try this:
PHP Code:
|
All times are GMT. The time now is 08:31 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:
|