FD929 |
05-08-2005 09:02 PM |
Geek - love your work. I admin 2 sites and have some of your hacks on both.
Anyways, found a bug and it's been mentioned in the thread, but not exactly addressed. Here's the code.
Code:
Step by step
step 200
--------------------------------------------------------------------------------
in admincp/index.php, replace:
--------------------------------------------------------------------------------
$printhr = false;
if (can_administer('canadminstyles'))
{
--------------------------------------------------------------------------------
with:
--------------------------------------------------------------------------------
= false;
// === GAB ===
construct_nav_option($vbphrase['GAB_settings'], 'GAB_admin.php?do=settings');
construct_nav_option($vbphrase['GAB_display_ads'], 'GAB_admin.php');
construct_nav_option($vbphrase['GAB_add_ad'], 'GAB_admin.php?do=add');
construct_nav_option($vbphrase['GAB_display_packages'], 'GAB_admin.php?do=displaypackages');
construct_nav_option($vbphrase['GAB_add_package'], 'GAB_admin.php?do=addpackage');
construct_nav_option($vbphrase['GAB_display_frequency'], 'GAB_admin.php?do=displayfrequency');
construct_nav_option($vbphrase['GAB_add_frequency'], 'GAB_admin.php?do=addfrequency');
construct_nav_option($vbphrase['GAB_test'], 'GAB_admin.php?do=test');
construct_nav_group($vbphrase['GAB_CP']);
$printhr = true;
$printhr = false;
// === GAB ===
$printhr = false;
if (can_administer('canadminstyles'))
{
Seems that the initial '$printhr = false' is not being completely deleted or it's just a typo in the manual instructions.
|