MyBB Community Forums

Full Version: How do I add MyAlerts into my theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I downloaded some themes from https://community.mybb.com/mods.php?acti...ory=themes but the thing is that MyAlerts does not seem to show up (I cannot even see he words MyAlerts or the number of notifications I have). Any way I can edit the theme to add this in? If so, how could I go about to do this.

The same thing happens with the plugin: https://community.mybb.com/mods.php?action=view&pid=134
I cannot see any of my announcements I make. However, if I use the default theme, all this works.
Hi,

I assume you installed the new theme after installing the plugin(s).

For MyAlerts, you should be able to de-activate the plugin in the ACP, then re-enable it. This will try to apply all of the required template edits for you. Otherwise, you can manually add the following template changes:

headerinclude

Add the following to the end of the template:

{$myalerts_js}

header_welcomeblock_member

Find:

{$modcplink}

Replace with:

{$myalerts_headericon}{$modcplink}

footer

Add the following to the end of the template:

{$myalerts_modal}