Support Forum

Hiding Rank Name, Since Badge is showing

FL FT Lytehaause
FT Lytehaause
Member

I’ve created badges for the various ranks, and that works great. Now I have the badge that says “Admin” on it and the rank written right below it that also says “Admin” How do I get rid of or hide the rank name?

6 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

The template display function sp_PostIndexUserRank() has a ‘showTitle’ argument that is by default set to true (1) and this needs to be changed to false (0). The call is oin the template spTopicView.php of your SP theme.

More details are here: http://codex.simple-press.com/codex/api/template-functions-and-the-api/display-template-functions/topic-view/sp_postindexuserrank/

As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)

FL FT Lytehaause
FT Lytehaause
Member

Thanks so much, I appreciate your quick response.

YS Yellow Swordfish
Yellow Swordfish
Member

As it happens you had inserted the argument incorrectly. But you just originally said ‘forum rank’ not ‘special’ rank and special rank has it’s own display function immediately below the one you changed. Should be Ok now.

FL FT Lytehaause
FT Lytehaause
Member

Yes, I was having trouble with both special and forum rank, sorry, my mistake. Both are working perfectly now. Thank you!!laugh