[XFA] Trophies Enhancement (categories, icons, leadeboard, announcement,...) - XF2

[XFA] Trophies Enhancement (categories, icons, leadeboard, announcement,...) - XF2 [Paid] 2.3.0

No permission to buy (€15.00)
But they were awarded ?
Have you set the capability for users to select the trophies ? in which case unless you pick them you wouldn't see it.
 
I just asked you to post the suggestion.
I don't reply to acknowledge I have seen the suggestion being posted.
 
I don't think you'll be updating this addon anytime soon. Probably next year but we're not expecting anymore.

Is there at least a way to manually remove a trophy from a user? If your addon could add it manually then I suppose we could remove it as well. It's fine if trophy points are not automatically deducted. We just want to remove the trophy from a single user without affecting other users with similar trophy.
 
I might update it this year once I get a better availability.
You would need to do that from the phpmyadmin in the xf_trophy_user table (or something like that), not very straightforward though.
 
@XFA Please add support for PHP Version 8.1.9?

Server error log:

Code:
ErrorException: Template error: [E_WARNING] Undefined global variable $xfa_te_userTrophies src/addons/XFA/TrophiesEnhancement/Listener.php:57

Generated by: Orcco2020 Sep 2, 2022 at 2:37 PM

Stack trace

#0 src/addons/XFA/TrophiesEnhancement/Listener.php(57): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Und...', '/home/nadda/pub...', 57)
#1 src/XF/Extension.php(52): XFA\TrophiesEnhancement\Listener::templateMacroPreRenderMessageMacrosUserInfo(Object(MaZ\AMP\XF\Template\XF22\Templater), 'public', 'message_macros', 'user_info', Array, Array)
#2 src/XF/App.php(2855): XF\Extension->fire('templater_macro...', Array, 'public:message_...')
#3 src/XF/Template/Templater.php(761): XF\App->fire('templater_macro...', Array, 'public:message_...')
#4 src/addons/MaZ/AMP/XF/Template/Templater.php(139): XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array, NULL)
#5 internal_data/code_cache/templates/l1/s6/public/post_macros.php(25): MaZ\AMP\XF\Template\Templater->callMacro('message_macros', 'user_info', Array, Array)
#6 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#7 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('user_cell', Array, Array, Object(XF\Template\ExtensionSet))
#8 internal_data/code_cache/templates/l1/s6/public/post_macros.php(155): XF\Template\Templater->renderExtension('user_cell', Array, Object(XF\Template\ExtensionSet))
#9 src/XF/Template/Templater.php(987): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#10 src/XF/Template/Templater.php(923): XF\Template\Templater->renderExtensionInternal('full_body', Array, Array, Object(XF\Template\ExtensionSet))
#11 internal_data/code_cache/templates/l1/s6/public/post_macros.php(202): XF\Template\Templater->renderExtension('full_body', Array, Object(XF\Template\ExtensionSet))
#12 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Object(XF\Template\ExtensionSet))
#13 src/addons/MaZ/AMP/XF/Template/Templater.php(139): XF\Template\Templater->callMacro('post_macros', 'post', Array, Array, Object(XF\Template\MacroState))
#14 internal_data/code_cache/templates/l1/s6/public/thread_new_posts.php(24): MaZ\AMP\XF\Template\Templater->callMacro(NULL, 'post_macros::po...', Array, Array)
#15 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#16 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('thread_new_post...', Array, true, NULL)
#17 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:thread_n...', Array)
#18 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#19 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Thread\\NewPo...', 'public:thread_n...', Array)
#20 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Json->renderView('XF:Thread\\NewPo...', 'public:thread_n...', Array)
#21 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(KL\EditorManager\XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(KL\EditorManager\XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#23 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#24 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#25 src/XF.php(524): XF\App->run()
#26 index.php(20): XF::runApp('XF\\Pub\\App')
#27 {main}

Request state

array(4) {
  ["url"] => string(71) "/threads/who-will-be-member-of-the-month-in-august-2022.92516/add-reply"
  ["referrer"] => string(93) "/threads/who-will-be-member-of-the-month-in-august-2022.92516/?frtid=64"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(9) {
    ["_xfToken"] => string(8) "********"
    ["message_html"] => string(42) "<p>Congratulations to the winner&nbsp;</p>"
    ["last_date"] => string(10) "1662047830"
    ["last_known_date"] => string(10) "1662047830"
    ["load_extra"] => string(1) "1"
    ["klPage"] => string(1) "1"
    ["_xfRequestUri"] => string(71) "/threads/who-will-be-member-of-the-month-in-august-2022.92516/?frtid=64"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
XFA updated [XFA] Trophies Enhancement (categories, icons, leadeboard, announcement,...) - XF2 with a new update entry:

Bug fixes and new features

Corrected bugs:
  • ErrorException: Template error: [E_WARNING] Undefined global variable $xfa_te_userTrophies src/addons/XFA/TrophiesEnhancement/Listener.php:57
  • Icons Not Showing Up In Question Threads

Modifications:
  • Left alignment of trophies icons on mobile
  • Slightly decreased icon size on mobile

New features:
  • Provided with 226 image icons from from Mark James famfamfam.com: Silk Icons
  • Trophies list in admincp user edit page...

Read the rest of this update entry...
 
I don't have a CDN thing setup so I'll try to fix it in a new release, hopefully it will work.
 
XFA updated [XFA] Trophies Enhancement (categories, icons, leadeboard, announcement,...) - XF2 with a new update entry:

Bug fixes and new features

Corrected bugs:
  • "Message user info icons position" Does not work properly after upgrade to xF 2.2.13

New features:
  • Option to select the trophies order on help page
  • Option to show user trophies in member card
  • Capability to avoid a trophy from being displayed on the various location (help, post bit, profile, …)

Read the rest of this update entry...
 
Top Bottom