Hi
Please tell me how I can remove the word "Donations" from the Menu Bar.....I do not want to remove the mod, I just want to not be able to see the word "Donations" on the Menu Bar.
Please see attachment.
As always, many thanks
Ron
It depends on what mod you are using. Have you tried asking this question in that mod's support topic? You'll probably have much better results getting this answered by the mod author or other people that use that mod.
In /Sources/Subs.php find: and delete the complete donation array
'menu_action' => array(
'title' => 'text for menu',
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
'sub_menu_action' => array(
'title' => 'text for sub-menu',
'href' => $scripturl . '?action=newaction',
'show' => true,
'is_last'=> true,
),
),
),
But then i guess with the text 'Donations' so, --> 'donations' => array( etc etc
More info here (http://wiki.simplemachines.org/smf/Buttons_-_How_do_I_add_buttons_to_SMF_2.0)
Or, if you want a basic CSS hide trick:
#button_donations {display: none;}
Quote from: Pipke on September 03, 2015, 04:55:39 AM
In /Sources/Subs.php find: and delete the complete donation array
'menu_action' => array(
'title' => 'text for menu',
'href' => $scripturl,
'show' => true,
'sub_buttons' => array(
'sub_menu_action' => array(
'title' => 'text for sub-menu',
'href' => $scripturl . '?action=newaction',
'show' => true,
'is_last'=> true,
),
),
),
But then i guess with the text 'Donations' so, --> 'donations' => array( etc etc
More info here (http://wiki.simplemachines.org/smf/Buttons_-_How_do_I_add_buttons_to_SMF_2.0)
that is given the author of that mod did not use a hook to add the button and it is actually found in the subs.php.