Sent you a version I believe that fixes it for testingXF2.1, they seem to get that phrase, but is that not just for rating and not for reactions, I have no ratings on my site. The varibles do not have a value: {ratedcontent} {ratings}
Sent you a version I believe that fixes it for testingXF2.1, they seem to get that phrase, but is that not just for rating and not for reactions, I have no ratings on my site. The varibles do not have a value: {ratedcontent} {ratings}
- Fix typo in phrase
- Fix XF2.1 summarization by user not listing reactions & summerized content types
So if 10 people "like" the same post, within X minutes it only sends you one?It is alert 'grouping' or 'collapsing' it takes a large number of individual alerts for either a post or from a user and "summarizes" it into a single alert entry
Yup, very popular on my forums where a user fiction post can have 50-300 "likes" in a short span of time.So if 10 people "like" the same post, within X minutes it only sends you one?
I need to see the error, this should be logged into the XenForo Error log.Have upgraded to newest version of Alert Improvements. When clicking page 2 of alerts I have a user seeing an error. Page 2 works for me and nothing showing in ACP under errors.
View attachment 198185
Server error log
InvalidArgumentException: Accessed unknown getter 'sv_rating_type' on XF:UserAlert[779073] src/XF/Mvc/Entity/Entity.php:194
Generated by: trimmy Mar 20, 2019 at 12:27 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(106): XF\Mvc\Entity\Entity->get('sv_rating_type')
#1 internal_data/code_cache/templates/l1/s72/public/alert_conversation_message_rating.php(9): XF\Mvc\Entity\Entity->offsetGet('sv_rating_type')
#2 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AlertImprovements\XF\Template\Templater), Array)
#3 src/XF/Alert/AbstractHandler.php(80): XF\Template\Templater->renderTemplate('alert_conversat...', Array)
#4 src/XF/Entity/UserAlert.php(69): XF\Alert\AbstractHandler->render(Object(SV\AlertImprovements\XF\Entity\UserAlert))
#5 [internal function]: XF\Entity\UserAlert->render()
#6 src/XF/Template/Templater.php(985): call_user_func_array(Array, Array)
#7 internal_data/code_cache/templates/l1/s72/public/alert_macros.php(42): XF\Template\Templater->method(Object(SV\AlertImprovements\XF\Entity\UserAlert), 'render', Array)
#8 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(SV\AlertImprovements\XF\Template\Templater), Array, Array)
#9 internal_data/code_cache/templates/l1/s72/public/account_alerts_popup.php(18): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#10 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AlertImprovements\XF\Template\Templater), Array)
#11 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_alerts_...', Array)
#12 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#13 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:account_...', Array)
#14 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#15 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#16 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#18 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#19 src/XF.php(390): XF\App->run()
#20 index.php(20): XF::runApp('XF\\Pub\\App')
#21 {main}
Request state
array(4) {
["url"] => string(157) "/account/alerts-popup?_xfRequestUri=%2Fwhats-new%2F&_xfWithData=1&_xfToken=1553084842%2Cb89f76b23bc4bf95bdf905d962bc500d&_xfResponseType=json&_=1553084842474"
["referrer"] => string(36) "https://cafesaxophone.com/whats-new/"
["_GET"] => array(5) {
["_xfRequestUri"] => string(11) "/whats-new/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1553084842,b89f76b23bc4bf95bdf905d962bc500d"
["_xfResponseType"] => string(4) "json"
["_"] => string(13) "1553084842474"
}
["_POST"] => array(0) {
}
}
Stack trace
- TypeError: Argument 5 passed to XF\Template\Templater::fnLink() must be of the type array, string given
- src/XF/Template/Templater.php:2638
- Generated by:
- Apr 16, 2019 at 6:05 PM
#0 [internal function]: XF\Template\Templater->fnLink(Object(SV\AlertImprovements\XF\Template\Templater), true, 'reports/comment', Object(SV\ReportImprovements\XF\Entity\ReportComment), 'report_comment_...')
#1 src/XF/Template/Templater.php(922): call_user_func_array(Array, Array)
#2 internal_data/code_cache/templates/l1/s9/public/alert_report_comment_like_summary.php(6): XF\Template\Templater->fn('link', Array, true)
#3 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AlertImprovements\XF\Template\Templater), Array)
#4 src/XF/Alert/AbstractHandler.php(80): XF\Template\Templater->renderTemplate('alert_report_co...', Array)
#5 src/XF/Entity/UserAlert.php(69): XF\Alert\AbstractHandler->render(Object(SV\AlertImprovements\XF\Entity\UserAlert))
#6 [internal function]: XF\Entity\UserAlert->render()
#7 src/XF/Template/Templater.php(985): call_user_func_array(Array, Array)
#8 internal_data/code_cache/templates/l1/s9/public/alert_macros.php(42): XF\Template\Templater->method(Object(SV\AlertImprovements\XF\Entity\UserAlert), 'render', Array)
#9 src/XF/Template/Templater.php(701): XF\Template\Templater->{closure}(Object(SV\AlertImprovements\XF\Template\Templater), Array, Array)
#10 internal_data/code_cache/templates/l1/s9/public/account_alerts_popup.php(18): XF\Template\Templater->callMacro('alert_macros', 'row', Array, Array)
#11 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(SV\AlertImprovements\XF\Template\Templater), Array)
#12 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('account_alerts_...', Array)
#13 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#14 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Account\\Aler...', 'public:account_...', Array)
#15 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('XF:Account\\Aler...', 'public:account_...', Array)
#16 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#17 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#18 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#19 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#20 src/XF.php(390): XF\App->run()
#21 index.php(20): XF::runApp('XF\\Pub\\App')
#22 {main}
Request state
array(4) {
["url"] => string(163) "/account/alerts-popup?xfRequestUri=%2Freports%2F42765%2F&_xfWithData=1&_xfToken=1555463142%2Cb093503f19b548c3af754db63be02004&_xfResponseType=json&=1555463142121"
["referrer"] => string(37) "https://net/reports/42765/"
["_GET"] => array(5) {
["_xfRequestUri"] => string(15) "/reports/42765/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1555463142,b093503f19b548c3af754db63be02004"
["_xfResponseType"] => string(4) "json"
["_"] => string(13) "1555463142121"
}
["_POST"] => array(0) {
}
}
- Fix link generation for report summary (likes/reactions/etc) alerts
- Fix your profile post comment like/reaction summaries link to the profile and not the profile post comment
- Fix profile post like/reaction summaries link to the profile and not the profile post
- Add "Display unread alerts above read alerts in pop-up" option
- Add per-user option to make viewing alerts pop-up skip marking it as read
Can you explain what we're supposed to experience here. I'm not sure I understand or notice any difference.Xon updated Alert Improvements by Xon with a new update entry:
2.5.0 - Feature update
Read the rest of this update entry...
There is a global option to list unread alerts, then read alerts which makes much much more sense given this add-on lets you very easily view them out of order, and hunting through your alert pop-up list for unread alerts is a ****ing pain.Can you explain what we're supposed to experience here. I'm not sure I understand or notice any difference.
We use essential cookies to make this site work, and optional cookies to enhance your experience.