MyBB Community Forums

Full Version: Page Manager doesn't appear in config menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Page Manager doesn't appear in config menu ..
it's installed without any problem ..

mybb is 1.6.10
page manager version is: 1.5.2
http://mods.mybb.com/view/page-manager
any idea?
Always check reviews first if there is an issue: http://mods.mybb.com/reviews/page-manager or look for it on forum.The solution for this is:
Yaldaram, 26th March 2012 Wrote:If you're using MyBB 1.6.5 or newer, then you've to edit couple of things in the plugin in order it to show Page Manager's link on left side of Configuration's menu;
Open plugin file and find;
function pagemanager_admin_action(&$action)
{
    $action['pagemanager']=array('active'=>'pagemanager');
}
and CHANGE it into;
function pagemanager_admin_action(&$action)
{
    $action['pagemanager']=array('active'=>'pagemanager');
    return $action;
}

Next, find;
function pagemanager_admin_menu(&$sub_menu)
{
    global $lang;
    pagemanager_lang();
    end($sub_menu);
    $key=(key($sub_menu))+10;
    $sub_menu[$key]=array
    (
        'id'=>'pagemanager',
        'title'=>$lang->pagemanager_info_name,
        'link'=>'index.php?module=config-pagemanager'
    );
}
and CHANGE it into;
function pagemanager_admin_menu(&$sub_menu)
{
    global $lang;
    pagemanager_lang();
    end($sub_menu);
    $key=(key($sub_menu))+10;
    $sub_menu[$key]=array
    (
        'id'=>'pagemanager',
        'title'=>$lang->pagemanager_info_name,
        'link'=>'index.php?module=config-pagemanager'
    );
    return $sub_menu;
}

Save. It should fix the issue.
Probably a strange question, but are you sure you are logged in as the forum founder? If you are an administrator, but not a founder, the default admin permissions don't show the page manager and you'll need to set the proper admin permissions manually.
in addition to D666's response (post #2)

Wildcard Wrote:The problem is that there is an error in Page Manager's activate and deactivate functions.

In activate, this:

change_admin_permission('tools','pagemanager'); 

Should be this:

change_admin_permission('config','pagemanager'); 

and similarly in deactivate, this:

change_admin_permission('tools','pagemanager',-1); 

Should be this:

change_admin_permission('config','pagemanager',-1); 
it fixed by:
Quote:I managed to fix the issue with it still not showing up, Once you have done the code change above, go to your users & groups tab, admin permissions on the left, and then edit yours. At the bottom there is a yes/no for Can manage additional pages? change it to yes, then save. Now its at bottom left on configuration
i did the change and nothing appears anywhere not even the can manage addition pages?