MyBB Community Forums

Full Version: myalerts and flatty
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello I found this post where was treated my issue: https://community.mybb.com/thread-213903...t=myalerts

but the code provided as fix for the issue is not working for me i dont know why

<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> 
this is how looks with default code: https://i.gyazo.com/8112bb66002a9558bcfc...6c3469.png
this is how looks with edited code: https://i.gyazo.com/b9dff58479daa76e2444...5814eb.png
I will suggest you to try this content with myalerts_headericon

<a href="{$mybb->settings['bburl']}/alerts.php" class="myalerts {$newAlertsIndicator} open_modal"
       onclick="MyBB.popupWindow('/alerts.php?action=modal&amp;ret_link={$myalerts_return_link}'); return false;"><i class="fa fa-bell"></i> {$lang->myalerts_alerts}
        ({$mybb->user['unreadAlerts']})</a> 
(2017-11-09, 09:48 AM)WallBB Wrote: [ -> ]I will suggest you to try this content with myalerts_headericon

<a href="{$mybb->settings['bburl']}/alerts.php" class="myalerts {$newAlertsIndicator} open_modal"
       onclick="MyBB.popupWindow('/alerts.php?action=modal&amp;ret_link={$myalerts_return_link}'); return false;"><i class="fa fa-bell"></i> {$lang->myalerts_alerts}
        ({$mybb->user['unreadAlerts']})</a> 

thank you sir, is working perfect!
you know  maybe how fix this: 
[Image: 4c2185dd416855d7a7a7d97b1a99dda4.png]
(2017-11-09, 10:19 AM)Richi Wrote: [ -> ]
(2017-11-09, 09:48 AM)WallBB Wrote: [ -> ]I will suggest you to try this content with myalerts_headericon

<a href="{$mybb->settings['bburl']}/alerts.php" class="myalerts {$newAlertsIndicator} open_modal"
       onclick="MyBB.popupWindow('/alerts.php?action=modal&amp;ret_link={$myalerts_return_link}'); return false;"><i class="fa fa-bell"></i> {$lang->myalerts_alerts}
        ({$mybb->user['unreadAlerts']})</a> 

thank you sir, is working perfect!
you know  maybe how fix this: 
[Image: 4c2185dd416855d7a7a7d97b1a99dda4.png]

That is an issue with default images padding removed because the theme may have removed padding because of font awesome icons.
I will suggest you to modify the templates and add font awesome icons for these Smile
thanks ,everything fixed <3