Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does anyone assign badges based on custom profile attributes?

Hiya - Have a ticket into support but figure you all may know some solutions as well. We started utilizing custom profile attributes via the API. The goal for this is to allow our team a better method to assign badges compared with creating dozens of roles.  Instead, we are running a script to set the hidden profile attributes on the user, and then setting badge rules to decide which badge to assign.

Example: We created a badge rule with the following using the help of support and what is documented here

custom.custom_profile_custom_badge_107 != 'default'

We have multiple users who have this set to something beyond default, but it still shows 0 people as getting assigned the badge. At the same time, we can't use any other logic/rules, such as

custom.custom_profile_custom_badge_107 = 'meow'


Here's an example of it all in the sense we think we have this all working properly, but apparently not since users should get assigned a badge but are not. Does anyone have a working version of how they are doing the rule(s) to do anything similar with custom profile attributes?


4 Replies 4

We have a profile completion badge, which includes the user having updated their 'homepage feed', which is controlled via a custom profile setting. Unfortunately for you the way we assign this badge is via the profile completion role, which is granted when the user completes the profile experience.

So short answer; Not really, no.


@Parshant is my personal hero when it comes to API and custom assignments.

He build a customization that assigns users extra points for changing their profile picture from the default. Not exactly the same but perhaps he has ideas.

I think there is a step in between whereby the action assigns the role and the role assigns the points. Not sure if this approach would work for your use case.

I hope he has some tips!

😊Good luck with it! 🍀


Learning from others and helping where I can!
Community Passionista!

@StanGromer this isn't going to answer your question but it's something I've been thinking about as we do want people to complete their profile.

We don't currently but perhaps on the horizon.  Not sure if we'll be assigning badge badges or role icons to indicate a person's current status. I could see a similar application with product support where the icon might change depending on what node you are in and what product you are giving or getting support with/on.

We're a quit tobacco site. Whether you're you're a smoker, vaper, chewer, or other tobacco user you would have a icon to indicate whether you're a current or former user and how recently you quit. You might also have a different icon if you're just supporting someone and are a non-tobacco user yourself. The icon might change based on the date you quit. But since you can slip/relapse perhaps badges might not be the best route to go since someone shouldn't show up as a long term quitter if they've relapsed. 


  • Cigarette for current smoker
  • No smoking sign with red circle for recently former smoker
  • No smoking sign with green circle for quit a while ago

hi @StanGromer,

Great question and we would be interested in a solution as well.

As for the user profile, we also do have a badge for completing your profile.

The biggest challenge we face is awarding community members with badges for particular activities: sharing product tips, participating in Community challenges, etc. Why? Because we can introduce a badge only once and assign it to particular users only once.

If you have a better solution in place (I'm wondering how Khoros is awarding the Titans badges ;)) - I would be happy to learn more!




Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.