If the extension has both of these, where global is the forum root global:
Code:
define('THIS_SCRIPT', 'uniquename');
require_once('./global.php');
And the extension prints out a text page, go stick this in vB config:
Code:
// change 123.123.123.123 to your IP address
if ($_SERVER['REMOTE_ADDR'] == '123.123.123.123')
{
$config['Misc']['debug'] = true;
}
Then go to vB Options -> Block File Access Settings -> Add Setting:
Code:
Varname: bfabu_uniquename_uids
Setting Group: Block File Access Settings
Product: Block File Access
Title: Block 'uniquename' Usage
Description: Enter the user IDs to block from using the uniquename.php file. Separate each user ID with a space. Example: 8 16 24
Option Code: leave it blank
Data Validation Type: Free
Default: leave it blank
Display Order: leave as-is
vBulletin Default: Yes
And then remove this from vB config:
Code:
// change 123.123.123.123 to your IP address
if ($_SERVER['REMOTE_ADDR'] == '123.123.123.123')
{
$config['Misc']['debug'] = true;
}
Note
uniquename needs to be unique.