Alert Improvements by Xon

Alert Improvements by Xon 2.13.0

No permission to download
@Xon can you check this please? I think it's an arror that comes from one of your extensions.

Code:
ErrorException: Template error: [E_USER_WARNING] Template public:alert_user_thread_approve is unknown src/XF/Template/Templater.php:693

Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/*****/...', 693)
#1 src/XF/Template/Templater.php(693): trigger_error('Template public...', 512)
#2 src/XF/Template/Templater.php(1622): XF\Template\Templater->getTemplateData('public', 'alert_user_thre...')
#3 src/addons/MaZ/AUN/XF/Template/Templater.php(39): XF\Template\Templater->renderTemplate('alert_user_thre...', Array, true, NULL)
#4 src/XF/Alert/AbstractHandler.php(80): MaZ\AUN\XF\Template\Templater->renderTemplate('public:alert_us...', Array)
#5 src/XF/Entity/UserAlert.php(71): XF\Alert\AbstractHandler->render(Object(SV\AlertImprovements\XF\Entity\UserAlert))
#6 src/XF/Template/Templater.php(1195): XF\Entity\UserAlert->render()
#7 internal_data/code_cache/templates/l2/s2/public/svAlertImprov_macros.php(307): XF\Template\Templater->method(Object(SV\AlertImprovements\XF\Entity\UserAlert), 'render', Array)
#8 src/XF/Template/Templater.php(828): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#9 src/addons/MaZ/ApprovalQueueSpamLinks/XF/Template/Templater.php(25): XF\Template\Templater->callMacro('svAlertImprov_m...', 'alert_row', Array, Array, Object(XF\Template\MacroState))
#10 internal_data/code_cache/templates/l2/s2/public/svAlertImprov_account_alerts_popup.php(46): MaZ\ApprovalQueueSpamLinks\XF\Template\Templater->callMacro('svAlertImprov_m...', 'alert_row', Array, Array)
#11 src/XF/Template/Templater.php(1655): XF\Template\Templater->{closure}(Object(SV\LazyImageLoader\XF\Template\Templater), Array, NULL)
#12 src/addons/MaZ/AUN/XF/Template/Templater.php(39): XF\Template\Templater->renderTemplate('svAlertImprov_a...', Array, true, NULL)
#13 src/XF/Template/Template.php(24): MaZ\AUN\XF\Template\Templater->renderTemplate('public:svAlertI...', Array)
#14 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#15 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:svAlertI...', Array)
#16 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:svAlertI...', Array)
#17 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#19 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#20 src/XF/App.php(2485): XF\Mvc\Dispatcher->run()
#21 src/XF.php(524): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}

Request state
array(4) {
  ["url"] => string(164) "/sosyal/hesap/bildirimler-popup?_xfRequestUri=%2Fsosyal%2F&_xfWithData=1&_xfToken=DeletedByMe&_xfResponseType=json&_=DeletedByMe"
  ["referrer"] => string(28) "https://techolay.net/sosyal/"
  ["_GET"] => array(5) {
    ["_xfRequestUri"] => string(8) "/sosyal/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "DeletedByMe"
    ["_xfResponseType"] => string(4) "json"
    ["_"] => string(13) "DeletedByMe"
  }
  ["_POST"] => array(0) {
  }
}
 
XF2.3 with PHP 8.3 here

Thanks for the mod!
Is this a bug or just me?

When we go to the page to view all alerts, then scroll to the bottom and put a checkmark in the "Select all" box and choose "Mark read", it just gives us an error saying "Please select at least one alert to update".

1721523432403.webp

1721523482997.webp
 
This behavior heavily depends on how you've configured (or not configured) things.
  • Is this after upgrading from an older version (if so what version) or a new install?
  • Is this with a stock style or not?
  • Are there any outdated templates?
  • Have you inspected the actual HTML in the templates to determine if this is just a styling issue triggered on your part?
  • Has your browser been forced to prefetch URLs?
 
Is this after upgrading from an older version (if so what version) or a new install?
Ans: Fresh install

Is this with a stock style or not?
Flat Awesome + - PixelExit.com 2.3.2

Are there any outdated templates?
No

Have you inspected the actual HTML in the templates to determine if this is just a styling issue triggered on your part?
No, I have no idea how to do that.

Has your browser been forced to prefetch URLs?
No, all our members are facing the same issue.

Everything was working perfectly before the install, but now facing this issue only.
Please look at this @Xon
 
Is this with a stock style or not?
Flat Awesome + - PixelExit.com 2.3.2
The styling for the read vs unread appears to be lacking (any) contrast or background color differences. There is a separator between the read and unread, so the add-on is functioning properly.

You can adjust some of this add-on's style properties to add a "new alert" marker under the "alert improvements" style properties. You might also want to consider disabling the fade alerts behavior, but that doesn't matter in this case as the read/just-read/unread alert styling is identical from what I can see.

This may be something you want to talk with @Russ from PixelExit about.
 
Back
Top Bottom