[OzzModz] Badges

[OzzModz] Badges 2.3.5 Patch Level 2

No permission to download
I found the issue, it's an incompatibility with the Multisite addon from XenCentral which is frustrating.
That add-on isn't really at the point it is usable for XF2, at least in comparison to the XF1 version.

The developer also has had extreme bouts of inactivity where it is common for tickets to go months without responses.
 
Still experiencing this error, and I followed your previous advice -

I'm also running the latest version of the addon (2.1.1)

Error is -

Server error log
  • InvalidArgumentException: Error rendering widget: Unknown column cmtv_badges_badge_count on XF:User
  • src/XF/Mvc/Entity/Finder.php:1640
  • Generated by: smooth-c
  • Nov 8, 2021 at 10:07 PM

Stack trace​

#0 src/XF/Mvc/Entity/Finder.php(603): XF\Mvc\Entity\Finder->resolveFieldToTableAndColumn('cmtv_badges_bad...', true)
#1 src/XF/Mvc/Entity/Finder.php(1014): XF\Mvc\Entity\Finder->columnSqlName('cmtv_badges_bad...', true)
#2 src/addons/CMTV/Badges/MemberStat/MostBadges.php(18): XF\Mvc\Entity\Finder->order('cmtv_badges_bad...', 'DESC')
#3 [internal function]: CMTV\Badges\MemberStat\MostBadges::getBadgeUsers(Object(XF\Entity\MemberStat), Object(NF\Calendar\XF\Finder\User))
#4 src/XF/Service/MemberStat/Preparer.php(138): call_user_func_array(Array, Array)
#5 src/XF/Service/MemberStat/Preparer.php(201): XF\Service\MemberStat\Preparer->applyCallback('CMTV\\Badges\\Mem...', 'getBadgeUsers', Object(NF\Calendar\XF\Finder\User))
#6 src/XF/Service/MemberStat/Preparer.php(101): XF\Service\MemberStat\Preparer->getResultsData()
#7 src/XF/Entity/MemberStat.php(122): XF\Service\MemberStat\Preparer->getResults(true)
#8 src/XF/Widget/MemberStat.php(44): XF\Entity\MemberStat->getResults(true)
#9 internal_data/code_cache/widgets/_36_membersstat.php(5): XF\Widget\MemberStat->render()
#10 src/XF/Template/Templater.php(7472): XF\SubContainer\Widget->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, Array)
#11 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#12 src/XF/Template/Templater.php(1903): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#13 internal_data/code_cache/templates/l1/s17/public/forum_list.php(219): XF\Template\Templater->widgetPosition('forum_list_side...', Array)
#14 src/XF/Template/Templater.php(1628): XF\Template\Templater->{closure}(Object(MaZ\AMP\XF\Template\XF22\Templater), Array, NULL)
#15 src/addons/MaZ/AMP/XF/Template/XF22/Templater.php(52): XF\Template\Templater->renderTemplate('forum_list', Array, true, NULL)
#16 src/XF/Template/Template.php(24): MaZ\AMP\XF\Template\XF22\Templater->renderTemplate('public:forum_li...', Array)
#17 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#18 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#19 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#20 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#21 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#22 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#23 src/XF.php(488): XF\App->run()
#24 index.php(20): XF::runApp('XF\\Pub\\App')
#25 {main}

Request state​

array(4) {
["url"] => string(8) "/forums/"
["referrer"] => string(39) "https://www.behind-the-mask.net/forums/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

No idea what to do, really. I've rebuilt the user caches, the badge caches and also changed/edited badges themself.

Thank you btw :)
 
Ozzy47 updated [OzzModz] Badges with a new update entry:

[OzzModz] Badges for XenForo 2.2+ Update 2.1.2 Patch Level 2

Full changelog:

  • Added integration with DragonByte Credits (with event negation support)
  • Fixed missing CSS class on featured badges for visitors without permission to view awarded list
  • Added style property for size of badge in mobile profile
  • Сhanged key for "Size of badge in message (single column)" style property (may need to be reconfigured)
  • "Awards you a new badge" notification preference now will not be displayed if emails disabled globally in add-on options...

Read the rest of this update entry...
 
Still experiencing this error, and I followed your previous advice -

I'm also running the latest version of the addon (2.1.1)

Error is -



No idea what to do, really. I've rebuilt the user caches, the badge caches and also changed/edited badges themself.

Thank you btw :)

Upgrade to the latest version and see if that fixes the issue.
 
its becoming a bit frustrating that I have to go to Fp to download the addon, because I cannot access the site ..
 

#1 Badge tier​

Optional feature (admin would have to enable it in admin panel), which add 4 levels of badges:
  • platinum
  • gold
  • silver
  • bronze

Levels would be visible from the profile and help page, for example golden and silver badges with corresponding coloured bars at the right:
lvjwcZi.png


Further development possibilities:
  • add an option for admins to define their own badge levels with custom colors/icons
  • show number of gathered badges sorted by badge tier, example below
nyVjSTX.png


#2 Stack of badges​

Badge categories are useful, but sometimes they are not enough. Especially in case of similar, repetitive badges. For example, let's consider badges for achieving consecutive years since registration, in this case: 1, 3, 5, 7 and 10 years. Right now it looks like this if we use only badge categories:
c6wzj0O.png

Stack of badges (or something similar) would be much more visually informative, for example:
2WhCn6C.png


How this example works:
  • badges of lower "level" are showed inside the highest "level" badge
  • user still can choose any of lower "level" badges to display in his profile
  • description of lower "level" badges would be visible on hover/click event

Further development possibilities:
  • add locked badges from the same stack (they could be greyed out and moved to the right edge for example)

These are some excellent suggestions. Is this something that is currently possible to do with the current settings, or something that could be added perhaps if not? =)
 
These are some excellent suggestions. Is this something that is currently possible to do with the current settings, or something that could be added perhaps if not? =)
Don't think so yet, though repetitive badges was added a few updates ago.
 
Not sure if this is the best place to post that, but I have a couple of suggestions. I hope at least some of them will be useful ;)

#1 Badge tier​

Optional feature (admin would have to enable it in admin panel), which add 4 levels of badges:
  • platinum
  • gold
  • silver
  • bronze

Levels would be visible from the profile and help page, for example golden and silver badges with corresponding coloured bars at the right:
lvjwcZi.png


Further development possibilities:
  • add an option for admins to define their own badge levels with custom colors/icons
  • show number of gathered badges sorted by badge tier, example below
nyVjSTX.png


#2 Stack of badges​

Badge categories are useful, but sometimes they are not enough. Especially in case of similar, repetitive badges. For example, let's consider badges for achieving consecutive years since registration, in this case: 1, 3, 5, 7 and 10 years. Right now it looks like this if we use only badge categories:
c6wzj0O.png

Stack of badges (or something similar) would be much more visually informative, for example:
2WhCn6C.png


How this example works:
  • badges of lower "level" are showed inside the highest "level" badge
  • user still can choose any of lower "level" badges to display in his profile
  • description of lower "level" badges would be visible on hover/click event

Further development possibilities:
  • add locked badges from the same stack (they could be greyed out and moved to the right edge for example)

#3 Repetitive badges​

This might be useful especially for competitive badges (for winning in game tournaments or forum competitions). For example - let's consider badge for ending up annual competition on the first place. If this competition happens every year for 10 years, it would be better to have just one badge instead of ten. But what if someone won more than once? Right now we can solve this problem by writing it out in comment section. But for user it would be much cooler to have given that one badge twice (separately), so he could feature both won editions in his/her profile.

I would suggest to give an option like "multi badge", so it wouldn't be enabled by default.
Wow!! I actually just wanted to ask this question. Yes, this is a great suggestion. I would really like to see this in this add-on.

Is this something you have on the roadmap, @Ozzy47 ?
 
Top Bottom