Hi i was wondering if it would be posible to make a setting so that only the badge that requires the most userpoints is displayed. I just want to get a sort of level system in my forums. at the moment users are getting badges for every level.

I noticed that you can set the badges module to only display one badge, however i have badges for aministrators, moderators, special user recognition.

so any help would be greatly appreciated. thanks

Comments

aaronbauman’s picture

Status: Active » Needs review
StatusFileSize
new2.63 KB

I needed this same functionality.
For my use case, it doesn't make any sense to have more than one point-based badge, so this patch forces point-valued badges to be unique on the user.
In other words, a user is only assigned ONE userpoint badge - the badge with the greatest userpoint threshold for which they qualify.

This could be setting-ified, but I did not have time to implement think about the implementation.

I think an optimal approach to this would be a change to user badges to create badge groups.
Then, users could progressively increase their badge-rank by group.

aaronbauman’s picture

Holy necropost, batman!
Really no one else has needed this feature for almost 2 years?

aaronbauman’s picture

oh sorry for the flood - that last patch has paths on my local machine.
here's a generic one.

zhuoyan’s picture

subscribe

Status: Needs review » Needs work

The last submitted patch, userpoints-uniquify-point-badges-491100.patch, failed testing.

albert volkman’s picture

Project: User Points Contributed modules » Userpoints Badges
Version: 6.x-1.x-dev »
Component: Code: userpoints_badges » Code
Issue summary: View changes