| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Peter77 phpBB SEO Team


Joined: 10 May 2006 Posts: 512 Location: Michigan
|
Posted: Sat Dec 02, 2006 8:53 am Post subject: How to Exclude phpbb ACP menu in mxbb ACP menu? |
|
|
I was wondering How to take out phpbb's ACP menu out of mxbb's ACP menu.
::edit:: and since I can not delete this topic, It may be usefull for someone else in the future. I solved it by taking out;
| Code: | // Include PHPBB Administration
//
$module_phpbb = array_merge( $module, read_admin( $phpbb_root_path . "admin/" ));
ksort($module_phpbb);
$template->assign_block_vars('module_phpbb', array(
"L_PHPBB" => $lang['Phpbb']
)
);
while( list($cat, $action_array) = each($module_phpbb) )
{
$cat = ( !empty($lang[$cat]) ) ? $lang[$cat] : preg_replace("/_/", " ", $cat);
$template->assign_block_vars("module_phpbb.catrow", array(
"ADMIN_CATEGORY" => $cat)
);
ksort($action_array);
$row_count = 0;
while( list($action, $file) = each($action_array) )
{
$row_color = ( !($row_count%2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($row_count%2) ) ? $theme['td_class1'] : $theme['td_class2'];
$action = ( !empty($lang[$action]) ) ? $lang[$action] : preg_replace("/_/", " ", $action);
$template->assign_block_vars("module_phpbb.catrow.modulerow", array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
"ADMIN_MODULE" => $action,
"U_ADMIN_MODULE" => append_sid( PHPBB_URL . 'admin/' . $file))
);
$row_count++;
}
} |
From mxbb/admin/index.php. |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
Peter77 phpBB SEO Team


Joined: 10 May 2006 Posts: 512 Location: Michigan
|
Posted: Sun Dec 03, 2006 1:08 am Post subject: Re: How to Exclude phpbb ACP menu in mxbb ACP menu? |
|
|
jaja, yes and I gave in
Well, the mxbb ACP is fine and all. Only, I don't normally use the phpbb menu in mxbb anyway, because I usually have to re authenticate myself in order to use phpbb ACP links.. and so it takes me to the log in page to re authenticate and it's just a 'long' process to deal with sometimes... yes i'm a stubborn preson
Also I updated a phpbb MOD that in the past, It had given me an error that made me find a dirty fix. Only this time it was a diffrent kind of error... It had never occurred to me to just get rid of the phpbb menu from mxbb's ACP all together.
And by the way, the mxbb main site is looking rather nice and clean these days.  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |