AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] Disabling specific statistics displaying

6 Posts
5 Users
1 Reactions
4,896 Views
Posts: 23
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@userx)
Eminent Member
Joined: 9 years ago
[#4653]

Hello, how do I disable displaying some of these statistics. For example I don't want to sohw blog posts or likes given, etc.


5 Replies
Robert
Posts: 10741
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months ago

Only CSS. Put this code in Dashboard > Forums > Settings > Styles > Custom CSS Code textarea. Then delete all caches and do Ctrl+F5 on forum front. Note, only use the line you want to disable, there are 10 boxes and 10 CSS lines:

/* Posts */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(1){display:none;}

/* Topics */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(2){display:none;}

/* Questions */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(3){display:none;}

/* Answers */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(4){display:none;}

/* Question Comments */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(5){display:none;}

/* Liked */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(6){display:none;}

/* Received likes */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(7){display:none;}

/* Rating */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(8){display:none;}

/* Blog Posts */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(9){display:none;}

/* Blog Comments */
#wpforo #wpforo-wrap .wpf-profile-section .wpf-statbox:nth-child(10){display:none;}

 


Posts: 23
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@userx)
Eminent Member
Joined: 9 years ago

Thank you once again, works great 🙂


Posts: 3
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@lindyk88)
New Member
Joined: 7 years ago

Thank you. What is the specific code to disable these boxes:

- website
- occupation
- social networks
- location
- timezone

Thanks!


Sofy
Posts: 5774
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi @lindyk88,

you should use the following CSS code:

.wpf-field-name-site, .wpf-field-name-occupation, .wpf-tr.row-1, .wpf-field-name-location, .wpf-field-name-timezone{
display: none !important;
}

1 Reply
(@bookreader)
Joined: 7 years ago

Active Member
Posts: 8
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

I want to display the location, but not the social networks. However, when I use this code: .wpf-tr.row-1 it also removes the location from the front-end of the profile page. (See attached image). This is happening even though I did NOT include the CSS class for the location.

My questions are:

1. How do I prevent the social networks fields from displaying, while allowing the location?

2. In the screenshot attached, why does the profile front-end still say "Social Networks," even though these field options no longer display in the account settings page?

Thank you!

Missing location on profile page

Share: