Support Forum

Editing the sp.TopicView.php in 5.x

MA Maximillion
Maximillion
Member

I was wondering if there was a way to only display the forum badge without the associated forum rank name right below it. Let me rephrase that to say “I’m sure there is a way, I don’t currently know how.”

I twiddled about with these two variables and it seems an all or nothing affair. I’m expect I’m missing something quite simple so I’m braced.

sp_PostIndexUserRank(‘tagClass=spPostUserRank spCenter’);
sp_PostIndexUserSpecialRank(‘tagClass=spPostUserSpecialRank spCenter’);

Help is appreciated.

Thank you,

-Max

6 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Add in the parameter ‘showTitle’. So it becomes:

sp_PostIndexUserRank('tagClass=spPostUserRank spCenter$showTitle=0');

Same for the other one.

MA Maximillion
Maximillion
Member

Awesome!!! I’ll drop it in when I’m back home.

Cheers!

MA Maximillion
Maximillion
Member

You meant with an ampersand instead of a dollar sign correct?

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

I got it to work as above – Thank you for the help and I learned a little something!

-Max

YS Yellow Swordfish
Yellow Swordfish
Member

Yes – sorry about that. A bad typo… always ampersands.