MyBB Community Forums

Full Version: Download section plugin not working on multiple themes.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've installed the downloads section plugin on my forum. I alos have to themes on the forum. I have the Meadow Green. (I think thats what its called) and the Mario one. The Meadow Green is my default. When I'm on that theme I can see the downloads section's link in the Navigation fine, but when I switch themes I can't see it at all.

Any know why this is happening? Thanks a lot. Oh and if this is in the wrong section I'm completely sorry.
Add the link to the templatesets of the other themes.

Unfortunately plugins are generally designed for the default theme, and can't figure out the templateset of custom themes, meaning you'll have to manually add the link in...
The header template of the Super Mario theme looks to be quite similar to the default MyBB, so I would have thought the plugin would be able to add itself to the header quite easily. If you want to add the link manually, you'll need to find this code in your Super Mario header template...

<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>

...and add this code after...

<li><a href="{$mybb->settings['bburl']}/downloads.php"><img src="{$theme['imgdir']}/toplinks/downloads.png" alt="{$lang->toplinks_downloads}" />{$lang->toplinks_downloads}</a></li>

Note that if you add a new theme to your board after installing a plugin, your new theme templates will not have been modified for the plugin.
Thanks! It worked.