BuddyDev

Search

[Resolved] user profile tab creator – remove timeline from user menu

  • Participant
    Level: Master
    Posts: 153
    Talia B on #42846

    i just bought this plugin
    and modified the “timeline” (activity) tab to be hidden for everyone
    but users can still see it form the menu
    i am using buddyboss.
    in the main Menu – clicking on my profile name – then i can see “timeline” link (which takes me to 404)
    please see my image:
    https://drive.google.com/file/d/1VJDnt1t58m4KIwJKho46Lo_kGrb4lvdl/view?usp=sharing

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #42850

    Hello,

    Please use ‘my-account-activity’ in Adminbar Item ID setting under edit or create tab screen. It will hide the timeline menu in the admin bar as well.

    Regards
    Ravi

  • Participant
    Level: Master
    Posts: 153
    Talia B on #42870
    This reply has been marked as private.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #42887

    Hello,

    Thank you for the acknowledgment. I have checked this and found that BuddyBoss uses a custom template for showing this user menu. You can override this template in the child theme and remove the link from the template or You can override this menu from the admin section with your own custom menu.

    Template file needs to override:

    
    wp-content/themes/buddyboss-theme/template-parts/header-profile-menu.php
    

    Override by the custom menu:
    https://www.awesomescreenshot.com/image/21060555?key=06b844a3cd0916539a67dc403d554925

    Regards
    Ravi

  • Participant
    Level: Master
    Posts: 153
    Talia B on #42895

    1. i dont want to override the profile menu cause it includes many options and fit exactly to the needs.
    2. also doesnt feel comfortable with override the template file.
    these options will force me to follow changes etc..

    any other easy way ? maybe can u please give me simple CSS to hide this option ?
    i can send u privatly by email my staging credentials

    thank u for great support and availability

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #42897

    Hello,

    Thank you for the acknowledgment. Please the following CSS rule to hide the ‘Timeline’ menu.

    
    
    .header-aside-inner .user-wrap li#wp-admin-bar-my-account-activity {
        display: none;
    }
    
    

    Please let me know if it helps or not.

    Regards
    Ravi

  • Participant
    Level: Master
    Posts: 153
    Talia B on #42915

    this works great thank u very much!!

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #42932

    Hello,

    Thank you for the acknowledgment. I am glad to help you.

    Regards

The topic ‘ [Resolved] user profile tab creator – remove timeline from user menu’ is closed to new replies.

This topic is: resolved