2010-08-15, 04:24 AM
Hey,
I tried making a plugin to add 2 Quick Access links and grab the name and link from 4 settings, i got the settings and the area where they should appear to actually appear in the ACP, But I'm unable to use the plugin methods to grab what the user put for the setting, Right now i have
WOW, i got it, it was SO simple lol. ill change the code above
-----------------------------------------------------------------------------------
I need help yet again, How can i make it so there's a drop down box and when you pick one it shows the settings?
I tried making a plugin to add 2 Quick Access links and grab the name and link from 4 settings, i got the settings and the area where they should appear to actually appear in the ACP, But I'm unable to use the plugin methods to grab what the user put for the setting, Right now i have
function cpanelandwhm_acp_menu(&$sub_menu)
{
// Not $lang and $page
global $mybb
// Sub menu item
$sub_menu[80] = array("id" => "home", "title" => "{$mybb->settings['cpname']}", "link" => "{$mybb->settings['cpdomain']}");
$sub_menu[90] = array("id" => "home", "title" => "{$mybb->settings['cpname2']}", "link" => "{$mybb->settings['cpdomain']}");
return $sub_menu;
}
If there's any un-needed stuff please tell me, Thanks.WOW, i got it, it was SO simple lol. ill change the code above
-----------------------------------------------------------------------------------
I need help yet again, How can i make it so there's a drop down box and when you pick one it shows the settings?