Notifications
Clear all

[Solved] can't properly display earned badges in profile

5 Posts
2 Users
0 Reactions
1,129 Views
Posts: 12
Topic starter
(@vengeance)
Active Member
Joined: 2 years ago

Perhaps this has been addressed before, but I didn't find anything by promptly checking the forum.

So we wanted to make it so the badges earned are shown in our users profile, but found out it shows them properly only in comments. We tried to "pluck" badges out of there to display in profile page but it only shows you yours no matter which profile we check.

There is a screenshot below, everything below the thick grey bar is the pre-visualization of what we were trying to achieve but couldn't.

Is there anything we can do or perhaps did wrong? One thing we sure did is probably the fact we posted it in the wrong forum, so here we go again. note that it wasn't bought directly by my but by my partner

2
546457
4 Replies
Posts: 4213
 Tom
Admin
(@tomson)
Famed Member
Joined: 10 years ago

@vengeance,

This question has no relation to our addons and to wpDiscuz. Your profile page is powered by UM plugin. You should contact the UM plugin developers and ask them to help you display myCRED badges (the badges are provided by myCRED plugin) on the profile page of their plugin: https://wordpress.org/plugins/ultimate-member/

Posts: 12
Topic starter
(@vengeance)
Active Member
Joined: 2 years ago

Are you sure you can't help us? My developer guy said he successfully copied the code from comments but when applied to a profile page it doesn't take into account the particular users. Are you sure you can't provide us with the info of what in particular we should code into a profile page (imagine it's any random, maybe a self written profile plugin) to make it properly display one's earned badges?

The way i see it, it's not that their plugin doesn't display elements correctly, i thought maybe we are plucking the wrong part of the code or something

2 Replies
 Tom
Admin
(@tomson)
Joined: 10 years ago

Famed Member
Posts: 4213

@vengeance,

The things you're asking has no any relation to wpDiscuz. The budges are provided by myCRED plugin, they are displayed by myCRED functions. And the place you want to display them is the Ultimate member's profile page. So I have no idea why you're asking this here at wpDiscuz addons support forum. The source and the target of your request are different plugins. We don't familiar with Ultimate member profile page and with the template files of UM profile pages, and we cannot customize them for you. You should ask this to the UM developers.

 Tom
Admin
(@tomson)
Joined: 10 years ago

Famed Member
Posts: 4213

You can also read the myCRED codex to find the shortcodes or functions for displaying badges. Here is the doc: https://codex.mycred.me/chapter-iii/badges/displaying-badges/

And here is the doc of UM plugin to customize the template files: https://docs.ultimatemember.com/category/118-templates

Share:
Scroll to top