![]() |
|
[MyBB] Adding MyAlerts to a Template - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141) +---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50) +---- Thread: [MyBB] Adding MyAlerts to a Template (/showthread.php?tid=5174471) |
Adding MyAlerts to a Template - Shoe - Feb 17, 2016 Hey guys. So I tried Googling this to no avail. I was curious how to add the "Alerts" tab to any theme? I've seen it on the default theme and considered just copying everything from the MyAlerts section from the default theme to the new theme, but I wasn't sure if that'd work. Would appreciate the help. Thanks guys! * - Wires - Feb 17, 2016 Deactivate and reactivate the plugin and it'll appear on your new theme. If this doesn't work, uninstall and reinstall from the ACP. * - Shoe - Feb 17, 2016 (Feb 17, 2016 05:32 PM)Wires Wrote: Deactivate and reactivate the plugin and it'll appear on your new theme. If this doesn't work, uninstall and reinstall from the ACP. I did that and there was no change. It shows in the User CP, which it always has, but there's no button in the header to check alerts - that's what I'm on about. 😝 Thanks for the help though! * - Wires - Feb 17, 2016 Off the top of my head, if I remember rightly, the correct variable that should be in your header is <myalerts_headericon>. If the issue persists, a link to your forum will be needed for me to be of any help. * - Goblin. - Feb 21, 2016 (Feb 17, 2016 05:25 PM)Shoe Wrote: Hey guys. You can always add a icon to the welcome block template called Alerts heres a source code: Code <a href="/alerts.php"><i class="fa fa-bell> Alerts</i></a>(Feb 17, 2016 05:56 PM)Wires Wrote: Off the top of my head, if I remember rightly, the correct variable that should be in your header is <myalerts_headericon>. If the issue persists, a link to your forum will be needed for me to be of any help. It is {$myalerts_headericon} |