MyBB Community Forums

Full Version: MyAlerts Link not displaying popup on click
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MYBB Version: 1.8.19
MyAlerts Version: 2.0.4

I have the plugin installed and activated, with all dependencies that are in the readme file (Dependencies: [Plugin Library](http://mods.mybb.com/view/pluginlibrary), [Plugins.Core](https://github.com/MyBBStuff/Plugins.Core)

The only change that I made is that I have styled the alerts code in  to be a button to look the same as the others. here's a peep at that code:

<li class="alerts {$newAlertsIndicator}" style="display:inline-block;">
    <a href="{$mybb->settings['bburl']}/alerts.php" class="myalerts btn btn-xs btn-danger" style="color: #fff;" onclick="MyBB.popupWindow('/alerts.php?modal=1&amp;ret_link={$myalerts_return_link}', { fadeDuration: 250, zIndex: (typeof modal_zindex !== 'undefined' ? modal_zindex : 9999) }); return false;"><i class="fa fa-bell" style="padding-right:3px;"></i><span class="hidden-xs">{$lang->myalerts_alerts}
        ({$mybb->user['unreadAlerts']})</span></a>
</li>

board URL is http://www.la-vivid-vivarium.com but you'll need to log in with Tester and testing1234 to see the board since it's private.

When I click on the link, there's supposed to be a pop up menu that shows with alerts listed. Is this because I don't have any alerts? Just tested this and mentioned myself on a thread, and nope, still doesn't work.

I switched to default MyBB skin and it still doesn't work on that skin. Additionally I have tried it in three browsers: Opera, Firefox, Safari, and all the same result.

Any suggestions on what to do? I can make things look pretty but when it comes to js or jquery I'm so lost Smile what am I missing here? I have checked and rechecked that I have all the core/necessary files from github found here.

Thanks in advance!