Alert Improvements by Xon

Alert Improvements by Xon 2.13.0

No permission to download
  • ErrorException: Template error: [E_USER_WARNING] Template public:alert_user_thread_approve is unknown
  • src/XF/Template/Templater.php:692

2.11.1 => xf 2.2




Are you getting this error in XenForo 2.3?
Old versions use jQuery, new versions use vanilla js; my fault to install old version for 2.3

=> solved, sorry.
 
I enabled this addon after the recent updates and the issue I was having with the alerts being marked as read regardless of the settings is fixed. Thanks!


I enabled both of these but only the "Recent alert icon" works. The "Unread alert icon" doesn't do anything.

I tried changing it to fa fa-star instead of fa fa-star-exclamation but that had no impact. I also disabled Recent alert icon and left Unread alert icon enabled, and it still doesn't show.
I think it's because the icon may not exist or the path is wrong. Because when it's supposed to show fa fa-star-exclamation for "unread alert", there is not a star but rather something that looks like a placeholder for a missing icon.

Are these default icons or do they get imported with the addon? Where would I search for the icons to see if they exist? I don't see a star under smilies.

I guess fa fa = font awsome. I do have the Kirby Font Awsome Manager installed. I checked /admin.php?add-ons/Kirby-FontAwesomeManager/options and I see star in regular and solid. fa fa-star seems to be working, just not fa fa-star-exclamation. Probably because there are only two instances of exclamation -- exclamation-circle and exclamation-triangle, no star-exclamation. Is this something unique for me, or possibly the default should be changed?

I added star-exclamation right below star and it works now.

I see Kirby-FontAwesomeManager says:
If automatic is selected, the filesystem and database will be scanned for Font Awesome icon names the references found will implicitly be added to the list of icons below.

But it's been months and it never added star-exclamation. Is this a bug with this addon or the Font Awesome addon?

Show unread alert icon on alert still does nothing though.
 
Last edited:
I think it is a conflict that this add-on is storing the font-awesome icon definition in a style property and Kirby's FontAwesomeManager doesn't look at style properties as potential sources of font-awesome icons
 
I enabled both of these but only the "Recent alert icon" works. The "Unread alert icon" doesn't do anything.
With the most recent version (2.12.2) I'm now getting the same result, Recent Alert Icon works but Unread Alert Icon is not showing. I thought maybe it was just not displaying due to the icon changes with XF 2.3 but viewing source I'm not seeing a placeholder for it even.
 
With the most recent version (2.12.2) I'm now getting the same result, Recent Alert Icon works but Unread Alert Icon is not showing. I thought maybe it was just not displaying due to the icon changes with XF 2.3 but viewing source I'm not seeing a placeholder for it even.
Can anybody running XF 2.3 confirm if you're seeing the Unread Alert Icon?
 
Thanks for the report, I'll look into the unread vs recent alert icon bit as it has been a while since I double checked that
 
Xon updated Alert Improvements by Xon with a new update entry:

2.13.0 - Feature & Bugfix update

  • Require StandardLib v1.22.0+
  • Fix bulk alert 'mark read' would fail if there was no unread alerts on the current page but the user had unread alerts
  • Fix changing Unread alert icon/Recent alert icon did not trigger XF2.3 font-awesome icons to be consistently added
  • Rework how alert read status icon is added to an alert
    • Add Just read alert icon style properties to style a just read...

Read the rest of this update entry...
 
Hey @Xon,

Suppose I have 20 unread alerts—some are mentions, some are likes, and some are comments. When I click on the bell icon, all alerts are marked as read.

I believe the "Mark-read prompt opt-out" option is meant to prevent this, but by default, "Prompt on bulk mark read" is selected at the user level. As a result, many members who are unaware of this setting are facing issues. The majority of members prefer to keep their unread notifications as unread until they manually open them.
 
I believe the "Mark-read prompt opt-out" option is meant to prevent this, but by default, "Prompt on bulk mark read" is selected at the user level. As a result, many members who are unaware of this setting are facing issues. The majority of members prefer to keep their unread notifications as unread until they manually open them.
Look at the Alerting preference defaults option. This allows configuring Pop-up auto-read per-alert and also if they have an alert opt-out enabled by default.

You can also configure new-user defaults in the Default registration values option for the per-user "Alerts page options" and "Alert pop-up options" configurables
 
Look at the Alerting preference defaults option. This allows configuring Pop-up auto-read per-alert and also if they have an alert opt-out enabled by default.

You can also configure new-user defaults in the Default registration values option for the per-user "Alerts page options" and "Alert pop-up options" configurables
any way to change default option for existing members?
 
Back
Top Bottom