PDA

View Full Version : admincp add links


noonespecial
08-01-2004, 04:28 AM
how do you add links/menus to the admin cp? i searched the site and found nothing.

gfxhavenowner
08-01-2004, 03:54 PM
This should be at VBUlletin.com, but you have to edit index.php in the admincp folder.

nexialys
08-01-2004, 04:07 PM
there is no real tutorial about adding elements in the admincp menu, but i can give you a good idea here:

in admincp/index.php FIND: if (can_administer('canadminfaq'))
{
$printhr = true;
construct_nav_option($vbphrase['faq_manager'], 'faq.php?null=0', '|');
construct_nav_option($vbphrase['add_new_faq_item'], 'faq.php?do=add');
construct_nav_group($vbphrase['faq']);
}

JUST AFTER, ADD: construct_nav_option('function title', 'url_togo.php', '|');
construct_nav_option('another function title', 'another_url_togo.php');
construct_nav_group('THIS BLOCK TITLE');

this is my tutorial on adding blocks in the admincp nav panel!