Support Forum
OfflineSo, I want to display only the user's badge and not the badge plus the name of the group he's in.
I see this command below but it only seems to allow turning both (badge and name) on and off. Is there a code for only the badge (kinda the same way you display badges for people on this forum?) or a way to just display the badge via forum settings?
sp_PostIndexUserMemberships('tagClass=spPostUserMemberships spCenter');Example attached

Thank you in advance!
Max
OfflineYou need to add an extra argument to that template display function so that it codes as:
sp_PostIndexUserMemberships('tagClass=spPostUserMemberships spCenter&showTitle=0');see the &showTitle=0 attached to the end of the argument list.
Of course this really should be done using a child theme to avoid losing changes on future updates.
For full details of using a child theme see:
https://simple-press.com/docum.....ild-theme/
For full details of the sp_PostIndexUserMemberships() template function see:
https://simple-press.com/docum.....mberships/
![]() |
YELLOW
SWORDFISH
|
1 Guest(s)
Support Forum

All RSS