MyBB Community Forums

Full Version: Cant get Menu Manager to work in new themes.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I like this plugin but it only works in the Default theme.
I couldnt get it to work in the Apart themes.

Menu Manager is a great plugin if you can get it to work with your theme.
i think this only works on the default theme , but i could be wrong.
(2010-08-05, 11:22 PM)Janota Wrote: [ -> ]i think this only works on the default theme , but i could be wrong.

You are probable right.

I really like this one.
I am debating using the default theme.
There is a couple of plugins i have found that work in the default and not in others.

All plugins should work with all themes, you just might need to add some code to the templates manually.
(2010-08-06, 12:29 AM)AJS Wrote: [ -> ]All plugins should work with all themes, you just might need to add some code to the templates manually.

Really?

How would I do that and what exactly would I add?

I have several plugins that work fine in the default but not in Apart themes.

Menu Manager
User Profile Permission v1.0.1
Profile Buddies

These 3 I really want to use in the apart theme.

Thanks AJ
It depends on the plugin, look through the code.

For the profile buddies plugin add the following to the member_profile template:
{$buddylist}

If want me to take a look PM me admin login info, although it's late here so it'll probably be tomorrow I'll take a look. Smile
(2010-08-06, 01:12 AM)AJS Wrote: [ -> ]It depends on the plugin, look through the code.

For the profile buddies plugin add the following to the member_profile template:
{$buddylist}

If want me to take a look PM me admin login info, although it's late here so it'll probably be tomorrow I'll take a look. Smile

Hey AJS, that worked! Smile

Do you have the code for Menu Manager?

I learn something everyday! Wink
(2010-08-06, 01:39 AM)IdiotDomainer Wrote: [ -> ]Do you have the code for Menu Manager?

I don't use that plugin, if you look through the plugin php file and find:

find_replace_templatesets

That will show you what changes you need to make in the templates. Smile
(2010-08-06, 01:44 AM)AJS Wrote: [ -> ]
(2010-08-06, 01:39 AM)IdiotDomainer Wrote: [ -> ]Do you have the code for Menu Manager?

I don't use that plugin, if you look through the plugin php file and find:

find_replace_templatesets

That will show you what changes you need to make in the templates. Smile

Ok, found it.
This is what I found-

find_replace_templatesets(
"header", "#".preg_quote('{$pluginmenumanager}') . "#i",
'<li><a href="{$mybb->settings[\'bburl\']}/search.php"><img src="{$mybb->settings[\'bburl\']}/{$theme[\'imgdir\']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings[\'bburl\']}/memberlist.php"><img src="{$mybb->settings[\'bburl\']}/{$theme[\'imgdir\']}/toplinks/memberlist.gif" alt="" title="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings[\'bburl\']}/calendar.php"><img src="{$mybb->settings[\'bburl\']}/{$theme[\'imgdir\']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings[\'bburl\']}/misc.php?action=help"><img src="{$mybb->settings[\'bburl\']}/{$theme[\'imgdir\']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>',0);

And to ad, the last one on there is the Help link, but it doesnt show up on the Apart theme but does show up on the default theme.
(2010-08-06, 01:44 AM)AJS Wrote: [ -> ]
(2010-08-06, 01:39 AM)IdiotDomainer Wrote: [ -> ]Do you have the code for Menu Manager?

I don't use that plugin, if you look through the plugin php file and find:

find_replace_templatesets

That will show you what changes you need to make in the templates. Smile

Hey AJS,

I figured out that Menu Manager can not be used in the Apart themes because when you hit Login and the two boxes open up their is no more room left on the Menubar to add anything.

I guess that is why the author made sure you could not at that plugin.
Bummer Sad

But I would still like to add "User Profile Permission v1.0.1'

thanks for all your help Smile