Support Forum

Ranks

JS js
js
Member

Instead of special forum ranks overriding regular forum ranks is it possible to display both?

Also, on profile pages I am trying to not show text with all the ranks because I am using special rank badges. I believe these lines are relating to that…but not sure what to change them to?
sp_UserForumRank($args=”, $spProfileUser->rank);
sp_UserSpecialRank($args=”, $spProfileUser->special_rank);

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

On the profile page question, to retard the title being displayed you will need to add a simple argument to the function call (both of them) as:

sp_UserForumRank('showTitle=0', $spProfileUser->rank);

On the topic view post user section question, locate the call in your topic view template:

sp_PostIndexUserRank('tagClass=spPostUserRank spCenter');

And add the extra argument as shown. Note the ampersand and the capitalisation:

sp_PostIndexUserRank('tagClass=spPostUserRank spCenter&hideIfSpecialRank=0');

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/)