Reply to thread

This does indeed hide the popup at the bottom of the page. But we found some side effects: https://xenforo.com/community/threads/admins-lose-push-notifications-whenever-logging-in-to-acp.211682/


I don't know if this is repeatable or not, but in our case it caused push notifications turning off every time admin.php login page was loaded.


We sorted this out by wrapping the upper portion (before <xf:js>) of notice_enable_push in <xf:if is="$xf.visitor.is_admin">. Now regular users don't see the annoying popup and everything works for them because they never open admin.php login page.


Admins might see the popup but their push notifications also remain turned on, even when visiting admin.php.


Back
Top Bottom