Hello – I am using Reboot and have created a child theme per the instructions.
Most of my users get assigned to 1 user group, however a small number of users might be members of several user groups. Almost all user groups have a custom rank badge assigned to them.
Using my child theme, I successfully made several changes to the user’s profile display of user groups on their posts:
– Don’t display the text name of any group(s) the user is a member of
– Display the custom rank badge(s) of any group(s) the user is a member of (if the user group doesn’t have a badge, nothing is displayed)
However, I need to make these same changes to the user profile popup and full profile.
In my screenshot below, the user belongs to 3 user groups, “curator”, “CMS Faculty” and “Moderator”. Moderator has no custom rank badge. You can see on their post profile they show Curator and CMS Faculty badges. But on the popup, it show the badges, the user group name as text, and the text for the level of “Moderator” and the user group “Moderators” which has no custom badge.
I want to see ONLY custom rank badges on the user profile popup and full profile displays.
I copied spProfileShow.php and spProfilePopupShow.php into the appropriate child theme folder, and located sp_SectionStart(‘tagClass=spProfileShowAvatarSection spLeft’, ‘profileAvatarRank’); where the magic seems to happen.
I can block the text “Moderator” by commenting out the line:
#sp_UserForumRank(”, $spProfileUser->rank);
However I lose both the text and forum rank badges (nothing is displayed) if I comment out:
#sp_UserMembership(”, $spProfileUser->memberships);
Can you tell me where the code is located that let’s me block display of the profile’s user group text names but will still allow the user group rank badges, if present, to be displayed?
Thanks!
Kelly

