#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Disabling specific ...
 
Share:
Share
Tweet
Share
Notifications
Clear all

Disabling specific statistics displaying

    Last Post
RSS

userX
Posts: 23
 userX
Topic starter
June 30, 2017 5:44 am
(@userx)
Eminent Member
Joined: 5 years ago

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

Topic Tags
profile icons profile statistic
5 Replies
Robert
Posts: 8968
Robert - Twitter
 Robert
Admin
June 30, 2017 6:31 am
(@robert)
Support Team
Joined: 6 years 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;}

 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
userX liked
userX
Posts: 23
 userX
Topic starter
June 30, 2017 7:24 am
(@userx)
Eminent Member
Joined: 5 years ago

Thank you once again, works great 🙂

Reply
LindyK88
Posts: 3
 LindyK88
May 13, 2019 8:12 pm
(@lindyk88)
New Member
Joined: 3 years ago

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

- website
- occupation
- social networks
- location
- timezone

Thanks!

Reply
Sofy
Posts: 4057
Sofy - Facebook Sofy - Twitter
 Sofy
Admin
May 14, 2019 11:20 am
(@sofy)
Support Team
Joined: 4 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;
}

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
1 Reply
bookreader
 bookreader
(@bookreader)
Joined: 3 years ago

Active Member
Posts: 8
June 25, 2019 9:35 pm
Reply toSofySofy

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.png
Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Removing Categories in Member Activity Section?
    2 months ago
  • CPT added to total blog articles in user activity
    1 year ago
  • User profile
    3 years ago
Topic Tags:  profile icons (1), profile statistic (4),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Prevent access to the url "community"

    By totor, 17 hours ago

  • Dark mode

    By Vijiki, 22 hours ago

  • Menu location

    By Vijiki, 1 day ago

  • Setting recent topics on forum frontend

    By Vijiki, 2 days ago

  • Draft draft users post on wpforo

    By Vijiki, 2 days ago

  • How to remove content from email notification

    By Vijiki, 2 days ago

Topic Tags

  • translation49
  • css49
  • plugin conflict48
  • seo45
  • new features44
  • buddypress42
  • ultimate member40
  • avatar40
  • forum40
  • moderation38
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode31
  • spam29
  • forum accesses29
  • phrases28
View all tags (2163)

Recent Posts

  • RE: How to remove content from email notification

    Looking for a close to issue. Expecting a reply.

    By Sales445, 2 hours ago

  • RE: New wpForo

    @robert So, will this update feature such as changi...

    By gsmdahisi, 8 hours ago

  • RE: Dark mode

    @chris I did switch to dark mode and I have 3 Questions...

    By Vijiki, 9 hours ago

  • Prevent access to the url "community"

    Hello everyone. We use wpforo on a site with a public...

    By totor, 17 hours ago

  • RE: How to make logo appear on the BP photo

    Just like here, the wpDiscuz Image shown above the menu...

    By Chris, 20 hours ago

  • RE: Draft draft users post on wpforo

    @vijiki, You can set the post/topic unapproved, so th...

    By Chris, 22 hours ago

  • RE: Menu location

    Thanks

    By Vijiki, 22 hours ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,765 Topics
49.5 K Posts
11 Online
44.1 K Members

Latest Post: How to remove content from email notification Our newest member: itu778 Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation