Simple Portal

Customization => Custom Coding => Topic started by: DeToX on February 18, 2011, 09:40:27 AM

Title: Menu add,modify,delete
Post by: DeToX on February 18, 2011, 09:40:27 AM
Hello, how is this need to change the menu where the bold prints.
add,modify,delete
where these settings need to find.
Screen:
Title: Re: Menu add,modify,delete
Post by: AngelinaBelle on February 18, 2011, 10:09:03 AM
SimplePortal does not include a way to add, modify, or delete menu buttons.

* For curve-based themes in SMF2, the menu buttons are found in Subs.php
* For non-curve-based themes, including all pre-SMF2 themes, the menu buttons are found in index.template.php
* There are several mods available to help you manage menu buttons: http://custom.simplemachines.org/mods/index.php?action=search;basic_search=menu+button (http://custom.simplemachines.org/mods/index.php?action=search;basic_search=menu+button)
Title: Re: Menu add,modify,delete
Post by: DeToX on February 18, 2011, 11:30:55 AM
ech,o what hide "Moderate" ?
Title: Re: Menu add,modify,delete
Post by: AngelinaBelle on February 18, 2011, 11:48:48 AM
The moderate button only shows up for those who are allowed to moderate.

If a member belongs to a membergroup for which you have allowed some moderate permissions, that member will see the moderate button.  Other members, who do not have moderate permissions, will not see the moderate button.

You can learn much more about the moderation center at http://wiki.simplemachines.org/smf/Category:As_a_moderator (http://wiki.simplemachines.org/smf/Category:As_a_moderator)
Title: Re: Menu add,modify,delete
Post by: DeToX on February 18, 2011, 12:53:53 PM
I want to hide it from admin :nervous-happy:
Title: Re: Menu add,modify,delete
Post by: AngelinaBelle on February 18, 2011, 01:16:48 PM
Remember, now, this is not a SimplePortal topic.
I am not an SMF Support Specialist.
So I am a little out of my league here -- you might get more and better help at SimpleMachines.org.

I don't think it is a good idea to hide the moderation center from yourself.

I do happen to know that the menu buttons (SMF 2) are in Subs.php, in function setupMenuContext(
   'moderate' => array(
    'title' => $txt['moderate'],
    'href' => $scripturl . '?action=moderate',
    'show' => $context['allow_moderation_center'],

Title: Re: Menu add,modify,delete
Post by: grafitus on February 19, 2011, 04:50:36 AM
I wondered, which do you use browser?
EhPortal 1.39.8 © 2024, WebDev