1.6 Compatible: MyAlerts
(21-04-2016, 06:16 PM)euan Wrote:
(21-04-2016, 01:26 PM)sero Wrote: Please help me, how do i remove the drop down and let users go direct to the alert.php page when they click on the alert button? i don't wont it to be showing drop down.


You can do this quite easily by editing the myalerts_headericon template to remove the following:

PHP Code:
onclick="MyBB.popupWindow('/alerts.php?action=modal&ret_link={$myalerts_return_link}'); return false;" 
this code was not find on my myalerts_headericon this is the only thing i have there

<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}

Remove the "data-selector" and "rel" parts Happy