MyBB Community Forums

Full Version: Flatty theme and MyAlerts alert icon problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

So it now makes many days i'm trying to solve this problem, 
The alert icon is showing well only with the default MyBB theme but whenever I change it Flatty it's making the bell icon invisible. Thanks in advance to everyone, tell me if you need an admin access
You will need to modify the myalerts_headericon template to add the bell icon.
Thanks for your answer,
In UserCP it's working well, showing a blue bell but with the exact same code here it's showing a grey one and breaking the "pop-up" screen
I tried to modify the code, here's what I have

Default one (working with default myBB theme only) :

<li class="alerts {$newAlertsIndicator}">
    <a href="{$mybb->settings['bburl']}/alerts.php" class="myalerts open_modal"
       data-selector="#myalerts_alerts_modal" rel="modal:open">{$lang->myalerts_alerts}
        ({$mybb->user['unreadAlerts']})</a>
</li>

Modified one (grey bell blocking the popup screen) :

<li class="alerts {$newAlertsIndicator}">
    <a href="alerts.php">
		<i class="fa fa-bell-o fa_xtra"></i>
       <data-selector="#myalerts_alerts_modal" rel="modal:open">{$lang->myalerts_alerts}
        ({$mybb->user['unreadAlerts']})</a>
</li>
you can try it like this :
<li class="alerts {$newAlertsIndicator}">
<a href="{$mybb->settings['bburl']}/alerts.php" class="myalerts open_modal"
data-selector="#myalerts_alerts_modal" rel="modal:open"><i class="fa fa-bell-o fa_xtra"></i>{$lang->myalerts_alerts}
({$mybb->user['unreadAlerts']})</a>
</li>
(2017-11-04, 06:28 AM).m. Wrote: [ -> ]you can try it like this :
<li class="alerts {$newAlertsIndicator}">
<a href="{$mybb->settings['bburl']}/alerts.php" class="myalerts open_modal"
data-selector="#myalerts_alerts_modal" rel="modal:open"><i class="fa fa-bell-o fa_xtra"></i>{$lang->myalerts_alerts}
({$mybb->user['unreadAlerts']})</a>
</li>

Working perfectly, thanks !