You’ll want to rebuild your badge counts!I was looking for something like this and found this addon to be ideal.
But having a bit of issue as I was doing some tests and awarded some badges to my test account but then removed them all.
However it is still showing as 2 badges in the profile. How can I reset this to 0 now?View attachment 242363
There are currently no methods to check if a user has a badge in a template. I can definitely add it in a future update though.Is there a template conditional that we can use in such as user_has_badge_X?
Thanks for thisGot it. leaving it here for reference.
CSS:@media (max-width: 650px){ .featuredBadges--message { justify-content: start !important; position: relative !important; top: 0 !important; right: 0 !important; } }
Nevermind! Giving the other admin super moderator seems to have fixed it!Hiya!
I'm having some issues with user permissions. It seems like my other admin is unable to award badges for some reason. Any ideas? Based on permissions, they shouldn't be having any problems.
Thanks,
Harvest
This is because the logic for showing the badge permissions also checks for the moderator parameter. If its not set, it will not show the option.Nevermind! Giving the other admin super moderator seems to have fixed it!
This would be because the user featured a badge before you changed these settings.I have some problems with users who tried to manage their badges
I have set to no the settings to manage featured badges however the user
https://interfans.org/forum/members/m0loch.11537/ Is only displaying one badge but has 5
Can you show step by step pls?This would be because the user featured a badge before you changed these settings.
I guess there should be a way to clear out favourites as an admin... for now youd need to delete rows from the sql table
what are you using to manage your database?Can you show step by step pls?
Cpanelwhat are you using to manage your database?
I will add a function to the addon to clear out featured badges via acp in a future update... for now, manual fix below:Cpanel
xf_cmtv_badges_user_badge
;UPDATE xf_cmtv_badges_user_badge SET featured = 0 WHERE featured != 0;
The awarding system is based off of the users activity; the badge wont award unless the user has been online in the activity interval you set in the global settings. Try changing your activity interval to disabled and run the cron manually to see if the badge awards?Having a weird issue.
I have a separate usergroup called 'Registered Invitees' where users whom have registered using a referral addon are promoted to this specific usergroup. Now, I've created a badge exclusively for these members and checked the following options under the 'award if' page under the badge.
- User has registered using a referral link
- User is a member of any of the selected user groups: (I've selected the correct usergroup)
This doesn't seem to apply the badge to anyone except for myself. No idea why! This should apply it to 17 members whom are under this specific usergroup.
Many thanks, and happy holidays
great idea, something we'll add in the future.Love this addon! Definitely looking forward to the auto-remove feature @VersoBit!
However, I do have a feature request;
It'd be great if a user clicks on a badge, a modal shows up with the title & description of the badge, so you don't have to visit the badges page to figure what this badge is for!
xf_cmtv_badges_user_badge
., xf_cmtv_badges_badge_Badge_1
.xf_cmtv_badges_user_badge
xf_cmtv_badges_badge
AS xf_cmtv_badges_badge_Badge_1
ON (xf_cmtv_badges_badge_Badge_1
.badge_id
= xf_cmtv_badges_user_badge
.badge_id
)xf_cmtv_badges_user_badge
.user_id
= XXXXXX)xf_cmtv_badges_user_badge
.award_date
DESCWe use essential cookies to make this site work, and optional cookies to enhance your experience.