The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
If in external PHP script
I have a PHP script.
It is a PHP page outside of the forum, but on the same server. I want to make the script only visible to registered users. I used this, but does not work. You know you help me? Code:
<?php require_once('DIR.FORUM/global.php'); ?> <?php if ($vbulletin->userinfo['usergroup'] != 1) { MY_PHP_SCRIPT } else { You don't have permission to view this script. } ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|