Member menu position

In settings of a user on the bottom bar....next to logout...there is- Member menu settings

that takes you to-

Member menu position
here users can change the position from top-bottom or static....
how can i disable users to have this function as it changes the settings globally for everyone :-(
Quote · 28 Aug 2010

I will look into this. I will also confirm this actually does change the setting globally. Becuse if it does, then i would consider that a bug that needs to be reported.

https://www.deanbassett.com
Quote · 28 Aug 2010

Yeah check it out, when i login as myself, i can change it, then when loggin again as admin it keeps settings :-)

Quote · 28 Aug 2010

Is there anyway to make the default "Top" member menu?

Quote · 25 Oct 2010

 

Is there anyway to make the default "Top" member menu?

You can set the member menu to display at the top of the page globally by changing the position setting under administration > settings > advanced settings > variables > member menu position.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 25 Oct 2010

Wow that was the quickest response I have ever gotten on any message board.  Thanks Magnussoft

Quote · 25 Oct 2010

Thank you for bringing this to my attention!  I MUST remove the Member Menu Settings option.  With my template, the Navigation Menu is at the top of the page.  When you set the Member Menu to be at the top, it covers the Navigation Menu.  And if you then hover over it the NM dropdowns still appear,  It's a big mess.  Tested IE and FF.

BTW, I am not having the global setting problem.  Each member can set this separately, but I don't want them to be able to do it at all!  Thanks for any code help on this.

Someday, Someway.
Quote · 26 Oct 2010

Hello remove it from member menu builder!

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 26 Oct 2010

 

Hello remove it from member menu builder!

 How do you keep  the "Settings" block, but remove the child link "Member Menu Settings" I do not want my users to be able to move it. Iwant it to remain on the bottom all the time and thank you.

Quote · 28 Oct 2010

 

 

Hello remove it from member menu builder!

 How do you keep  the "Settings" block, but remove the child link "Member Menu Settings" I do not want my users to be able to move it. Iwant it to remain on the bottom all the time and thank you.

 I found this in the database. And made the change there to remove the "Member Menu Settings" from "Settings" in the member menu.

Table: sys_menu_member

$iCurrentMemberId = '{ID}';

$aLinks = array (

    'account'  => array(
        'caption'  => _t( '_Account settings' ),
        'url'      => 'pedit.php?ID=' . $iCurrentMemberId,
        'onclick'  => null,
    ),   

    'privacy' => array (
       'caption' =>  _t( '_Privacy settings' ),
       'url'     => 'member_privacy.php',
       'onclick' => null,
    ),

    'menu'  => array(
        'caption'  => _t( '_Member menu settings' ),
        'url'      => null,
        'onclick'  => "window.open( '{$GLOBALS['site']['url']}list_pop.php?action=extra_menu', 'menu_settings','width=550,height=200,toolbar=0,directories=0,menubar=0,status=0,location=0,scrollbars=0,resizable=1');return false",
    ),
   
);

$sIcon =  null;
foreach( $aLinks as $sKey => $aItems )
{
    $aTemplateKeys = array (
        'bx_if:item_img' => array (
            'condition' =>  ( $sIcon ),
            'content'   => array (
                'item_img_src' => $sIcon,
                'item_img_alt' => $aLinks[$sKey]['caption'],
                'item_img_width'    => 16,
                'item_img_height'   => 16,
            ),
        ),

        'item_link'    => ( $aLinks[$sKey]['url'] )     ? $aLinks[$sKey]['url'] : 'javascript:void(0)',
        'item_onclick' => ( $aLinks[$sKey]['onclick'] ) ? 'onclick="' . $aLinks[$sKey]['onclick'] . ';return false"' : null,
        'item_title'   => $aLinks[$sKey]['caption'],
        'extra_info'   => null,
    );

    $sOutputCode .= $GLOBALS['oSysTemplate'] -> parseHtmlByName( 'member_menu_sub_item.html', $aTemplateKeys );
}

return $sOutputCode

 

I removed this from the code from the popup menu box and it worked fine:

'menu'  => array(
        'caption'  => _t( '_Member menu settings' ),
        'url'      => null,
        'onclick'  => "window.open( '{$GLOBALS['site']['url']}list_pop.php?action=extra_menu', 'menu_settings','width=550,height=200,toolbar=0,directories=0,menubar=0,status=0,location=0,scrollbars=0,resizable=1');return false",
    ),

Now my users can not move the member menu.... :-)

Quote · 28 Oct 2010

@ htech - Worked Great!  Thanks for figuring this out.  Curious as to what file that block in the database was accessing.

Someday, Someway.
Quote · 1 Nov 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.