Alert Count

Unmaintained Alert Count 1.4

No permission to download
Compatible XF 1.x versions
  1. 1.3
  2. 1.4
License
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
Visible branding
No
Alert Count add-on for Xenforo
by Bloodcinder

This add-on displays a counter in the page title (that is, in the browser tab for the page) showing how many unread alerts and conversations the user has, if any. This does not affect server load as it is a purely client-side operation. Keep reading if you have compatibility problems with other add-ons like TaigaChat. There is an option to enable compatibility.

Optionally (enabled by default), this add-on will also cause pages to check for updates to these alerts in the background at an interval which can be set in the options. This will increase server load marginally if used because the server must be polled by Ajax, but this feature can be disabled. You can set the automatic update interval in [Options -> User Alerts] below the standard Xenforo options for alerts. You may set a different interval for mobile devices.

By default, the alerts will display for all users. However, it can be set to only function for logged in users with the permission to "Receive alert counts in page title." This is useful if you wish for the page title alerts to be restricted to only users in premium user groups using User Upgrades.

Screenshots:

sample.webp options.webp

If you find this add-on useful, please consider donating to help support future developments.

btn_donateCC_LG.gif

Notes:
  • This add-on is by default incompatible with any add-on that modifies the page title, such as TaigaChat. To remedy this go to [Options -> User Alerts] and enable aggressive mode. This will prevent the other add-on from doing anything with the title but ensure that Alert Count will function correctly.
  • The add-on will only run for users who are logged in, not for guests or bots. It will work without setting permissions, as long as the default permission override option is enabled.
  • This add-on will only run if JavaScript is enabled.
  • To disable automatic updates, set the interval to 0 seconds.
  • This add-on is compatible with (but does not require) Browser Detection by Cédric Claerhout. If available, mobile devices may be detected more reliably. However, detection will still work without it.
For support or suggestions, please post in the discussion thread.
Author
Bloodcinder
Downloads
186
Views
1,114
First release
Last update

Ratings

5.00 star(s) 4 ratings

More resources from Bloodcinder

Latest updates

  1. Slow down or disable automatic alert checks on mobile devices

    This update adds a new option in [Options -> User Alerts] to set a different automatic polling...
  2. Choose your format

    Features: Adds an option to choose what format to use for the alert count in the page title...
  3. Compatibility fix + New feature: restrict add-on to permitted users

    This update applies a minor compatibility fix that may resolve certain issues for third-party...

Latest reviews

This is an excellent way to create an addictive forum environment and keeps your members coming back for more with every unread alert, this works very well and is a great addition and would be great in the core, thanks for the support and such a great addon :)
5 star support ;)
Bloodcinder
Bloodcinder
Thanks. I appreciate your help, providing me access to debug it on your site.
works perfectly on 1.4 Beta 2, imho best than the others... in fact more efficient just look at the code and the minified js and compare yourself
Bloodcinder
Bloodcinder
I'll update the version compatibility to 1.4 if I can get somebody else to confirm this.
Good job
Back
Top Bottom