Support Forum

How to put badges Special Ranks with normal rank?

AL Aitor Ruiz Lorenzo
Aitor Ruiz Lorenzo
Member

Hi, how can I do to display both the user’s normal range (depending on how many messages you have) plus a special status, both within the UserSection. 

Sin-título.png

In the image shown in yellow the Special rank, but I want users to have a special rank and the normal range at a time, ie several badges or medals.a.png

Also, I can not place the logo to a moderator. As you can see in the picture, placed a badge and keep the changes, but only in the forum “Moderator” appears next to the user, not the badge.

 

as2.png

Thank you.

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

by special status, are you meaning special rank?

To show both special and normal ranks, see:  https://simple-press.com/documentation/codex/api/template-functions-and-the-api/display-template-functions/topic-view/sp_postindexuserrank/

in particular,  you want to use the hideIfSpecialRank argument and set it to 0… ie:

                                    sp_PostIndexUserRank(‘tagClass=spPostUserRank spCenter&hideIfSpecialRank=0’);

as to moderator, by logo, do you mean badge?

in your image, you applied a badge to the usergroup, but are  you displaying usergroup badges?  by default, our themes do not display them since too many badges (ranks, special ranks, usergroups, etc) tends to get confusing…

to display usergroup badges see:  https://simple-press.com/documentation/codex/api/template-functions-and-the-api/display-template-functions/topic-view/sp_postindexusermemberships/

MP Mr Papa
Mr Papa
Member

good to hear!  btw, we strongly recommend you use a child theme or make your own vice editing our provided themes since you will lose changes on updates…