BBR-APBT
04-19-2009, 03:06 PM
I have a chunk of code in a plugin In which I include in misc.php in vbulletin to display.
The problem is it always shows at the top.
I want to make this its own page in misc.php with its own block instead of at the top of the page above the header. Any help would be great.
Here is an example code.
if (isset($_GET['test'])) if ($_GET['test] == 'true')
{
if (!$vbulletin->userinfo['userid'] OR !($permissions['forumpermissions'] & $vbulletin->bf_ugp_forumpermissions['canview']))
{
print_no_permission();
}
require_once('page.php');
}
The problem is it always shows at the top.
I want to make this its own page in misc.php with its own block instead of at the top of the page above the header. Any help would be great.
Here is an example code.
if (isset($_GET['test'])) if ($_GET['test] == 'true')
{
if (!$vbulletin->userinfo['userid'] OR !($permissions['forumpermissions'] & $vbulletin->bf_ugp_forumpermissions['canview']))
{
print_no_permission();
}
require_once('page.php');
}