Notifications
Clear all

wpForo 1.x.x [Solved] Hide secondary group information from profile heading

5 Posts
2 Users
1 Reactions
1,074 Views
Posts: 6
Topic starter
(@somebooks71)
Active Member
Joined: 4 years ago

Hi, is there a way to hide secondary group information from the profile of a user?

 

 

4 Replies
Sofy
Posts: 4584
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

@somebooks71,

The option is located in the Dashboard > Forums > Settings > Members Tab. It's called "Display Secondary Usergroups under Post Author Avatar". You'll need to uncheck the checkboxes. 

Posts: 6
Topic starter
(@somebooks71)
Active Member
Joined: 4 years ago

Hi @Sofy, thanks for your reply.

My checkboxes are already unchecked and, actually, secondary groups don't appear on posts.

But they are visible in the profile page (see image attached in the original post).

Can I make them hidden?

2 Replies
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4584

@somebooks71,

Use the CSS code below: 

#wpforo #wpforo-wrap .wpforo-profile-wrap .profile-stat-data-item:nth-child(2) {
display: none;
}

The CSS code should be added in the "Custom CSS code" textarea, located in the Dashboard > Forums > Settings > Style Tab.  

Please don't forget to delete all caches and press Ctrl+F5 (twice) on the frontend before checking.

(@somebooks71)
Joined: 4 years ago

Active Member
Posts: 6

@sofy, thanks.

i solved it, actually the correct code is as follows:

 

#wpforo #wpforo-wrap .wpforo-profile-wrap .profile-stat-data-item:nth-child(3) {
display: none;
}

but you put me on the right path 😀