PDA

View Full Version : admincp is blank after adding code...


psoexplorer
04-13-2005, 09:05 AM
When I do this part:

::: Open File - ROOT FORUM DIRECTORY/admincp/index.php
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
FIND:
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
// *************************************************

$printhr = false;
if (can_administer('canadminsettings'))
{
$printhr = true;
construct_nav_option($vbphrase['vbulletin_options'], 'options.php?null=0', '<br />');
if ($debug == 1)
{
construct_nav_option($vbphrase['admin_help_manager'], 'help.php?do=manage&script=NOSCRIPT');
}
construct_nav_group($vbphrase['vbulletin_options'], '<hr />');
}
if ($printhr == true)
{
construct_nav_spacer();
}

// *************************************************
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
UNDERNEATH ADD:
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++
$printhr = true ;
construct_nav_option ( 'vBChat Options', 'admin_vbchat.php', '<br />' ) ;
construct_nav_option ( 'Banned Usergroups', 'admin_vbchat.php?do=banned_groups', '<br />' ) ;
construct_nav_option ( 'Banned Users', 'admin_vbchat.php?do=banned_users', '<br />' ) ;
construct_nav_option ( 'Usergroup Permissions', 'admin_vbchat.php?do=group_perms', '<br />' ) ;
construct_nav_option ( 'vBChat Room Control', 'admin_vbchat.php?do=room', '<br />' ) ;
construct_nav_option ( 'vBChat Prune Options', 'admin_vbchat.php?do=prune', '<br />' ) ;
construct_nav_group ( 'vBChat Control', '<hr />' ) ;
$printhr = false;

::: Save & Reupload ROOT FORUM DIRECTORY/admincp/index.php

My admincp doesnt load up, it just gives me a blank white page. When I revert to the old admincp, it's fine. What's up?

Jolten
04-13-2005, 03:20 PM
Are you adding the right section? In the right place?