Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Hide Member Group from Profile
Avatar
TS Admin
Member
sp_UserOfflineSmall Offline
Apr 2, 2016 - 5:49 pm

I attached screenshot of a post profile from my forum. How do I remove the line that says "Members". I want to hide this to clean up the profile look. Also, when users have a badge, the profile also displays the badge name and icon. Thanks.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 2, 2016 - 7:13 pm

no screenshot attached...  are you sure you are talking about profile? if so, you can adjust whatever you want in the profile template of your sp theme...  if using a popup profile, it would be spProfilePopup.php... if full page profile, it would be spProfileShow.php...

for example, to remove the line

                    sp_UserMembership('', $spProfileUser->memberships);

when you say badge, what do you mean?  forum rank badge, special rank badge or usergroup badge??  all will support what you want, you just need to tell it to hide the title... so

                    sp_UserForumRank('', $spProfileUser->rank);

would become

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

as always, before editing any of our themes, we recommend making a child theme for it so you dont lose any changes if you update the theme...

Avatar
TS Admin
Member
sp_UserOfflineSmall Offline
Apr 2, 2016 - 7:21 pm

Thanks for the info. I eventually did find spTopicView.php and added the showTitle=0 switch.

I found: https://simple-press.com/suppo.....oup-label/

Not sure why my attachement didn't post. I tried to include the screenshot. (Isee - I didn't press start upload).

members.PNG

Thanks again.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 2, 2016 - 7:31 pm

Ah, so you didnt mean profile... but the user info area of each post on topic view... so yes, the template file is spTopicView.php...

to get rid of their memberships (ie Members), you would remove

                                    sp_PostIndexUserMemberships('tagClass=spPostUserMemberships spCenter');
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626