Customize Buddypress profile menu

Need some help making the following changes in BuddyPress profile menu:
1. remove 'websites' menu item
2. rename 'Veranstaltungen' to haven't decided yet
3. I would like to add a link inside the Groups section that allows logged in users to create a new group
4. possibly change icon for 'Veranstaltungen'
5. add a title under the collapsed/toggled sign for more menu items

  • Oguz

    Hey Peter ,

    I hope you're well today.

    I can not access your website. Support access is not working, probably because of coming soon plugin. So can you provide your credentials? Please DO NOT post the credential in this thread as support forum is public and this info can be viewed by anyone, you can send us your details here https://premium.wpmudev.org/contact/#i-have-a-different-question using this template:

    Subject: "Attn: Oguz"
    -WordPress admin username
    -WordPress admin password
    -login url
    -FTP credentials (host/username/password)
    -link back to this thread for reference
    -any other relevant urls

    Cheers!
    Oguz

  • Peter

    Hi Oguz,

    thanks for the quick feedback :slight_smile:

    Yeah, I think I know why the support access didn't work. I forgot to delete one of my futile attempts to fix the buddypress custom menu items. There was some code that other people claimed to do the job in bp-custom.php that completely broke even logging in through /wp-login.php/

    Figured it out before I started trashing my computer though :slight_smile:

    I'll enable support access again for you. And then I'll see I get that other info posted to you on "#i-have-a-different-question"

    Cheers,
    Peter

  • Peter

    I had some brilliant help from Adam. He went above and beyond with this one. So here's his solution to the problems:

    1. remove 'websites' menu item
    css. Could have thought about that myself. Duh.

    2. rename 'Veranstaltungen' to haven't decided yet
    Ultimate Branding plugin using Network Wide Text Change. Love the plugin. First time using it.

    3. I would like to add a link inside the Groups section that allows logged in users to create a new group

    Wouldn't have solved that in the next 50 years or so without Adam :slight_smile:

    Created bp-custom.php inside /wp-content/plugins/ with the following code:

    <?php
    
    function add_custom_bp_tabs() {
    global $bp;
    
    bp_core_new_subnav_item( array(
    'name' => Create Group',
    'slug' => 'create-bp-group',
    'parent_url' => trailingslashit( bp_displayed_user_domain() . 'groups' ),
    'parent_slug' => 'groups',
    'screen_function' => 'create_group_redir',
    'position' => 150,
    'user_has_access' => bp_is_my_profile(),
    'link' => trailingslashit( network_site_url() . '/gruppen/create' )
    
    ) );
    
    }
    add_action( 'bp_setup_nav', 'add_custom_bp_tabs', 100 );
    
    function create_group_redir() {
    }

    4. possibly change icon for 'Veranstaltungen'
    - now that's left for another day

    5. add a title under the collapsed/toggled sign for more menu items
    added custom css:

    #buddypress .dropdown-toggle:after {
    content:'more';
    position:absolute;
    top:50px;
    left:25px;
    }