Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'change buddypress menu'

Viewing 25 results - 26 through 50 (of 515 total)
  • Author
    Search Results
  • #320457
    dasuccessltd
    Participant

    Hello guys, i made changes to my menus on appearance in WordPress , i checked buddypress but everytime i make changes it doesnt reflect on the login page, how can i resolve it i want to make changes to the menu displaying on the login page of buddypress

    billiesmith289
    Participant

    Buddypress comes with a single long column user menu on mobile phone.

    How do I change it to horizontal menu with 3 dot drop down please.

    Thanks

    billiesmith289
    Participant

    Hello,

    On mobile phone. Buddypress user menu in my theme is a single column menu. This takes u tremendous screen space.
    What’s the css that can change it to
    Horizontal menu with 3 dots drop down that I see in other theme demos please?

    Thanks,

    purityboy83
    Participant

    hi

    I use bbpress+buddypress
    member -> forums is can see a list of the created topics.

    My information (list of my topics) does not have any problem with page changes,
    Another user’s topic list has a problem.

    I’ll explain the details
    First, the place I’m talking about is the forum menu on the profile page.
    ref to this image link : https://ibb.co/xs3Bbkx

    my topic’s list page 2,3,4 url address is
    ez) http://site_url/member/MYID/forums/topics/page/3/

    ref to this image link : https://ibb.co/KxSJtby

    my topic list is no problem, it’s ok

    however other user’s topic list occur problem
    The first page is fine
    ref to this image link : https://ibb.co/FHzp84n

    but page 2,3,4,… is 404 error occur

    url address is
    http://site_url/member/%5BOTEHR_USER_ID%5D/page/2/

    ref to this image link : https://ibb.co/Dpf6hty

    So if I directly enter the address as below, it will be displayed normally.
    http://site_url/member/%5BOTEHR_USER_ID%5D/forums/topics/page/2/

    ref to this image link : https://ibb.co/NnznmQT

    There seems to be a problem in the URL address conversion process(be my guess)

    I really need help to solve this problem

    Best Regards,
    Hyunho

    #316907
    lynnapp
    Participant

    in my child theme I have added this to the members/single/parts/item-nav

            <label class="toggle" for="toggle">☰ <span>Menu</span></label>
            <input class="toggle" id="toggle" type="checkbox">
    
    <nav class="<?php bp_nouveau_single_item_nav_classes(); ?>" id="object-nav" role="navigation" aria-label="<?php esc_attr_e( 'Member menu', 'buddypress' ); ?>">
    	<?php if ( bp_nouveau_has_nav( array( 'type' => 'primary' ) ) ) : ?>
    		<ul>
       <?php bp_nav_menu(); ?> 
    		</ul>
    	<?php endif; ?>
    </nav>
     

    I have removed the submenu form all the other page fronts
    So this is the problem

    1. The loop for the sub-menus is
    a. Putting the profile menu items under a new submenu under settings
    (this submenu )

    	<ul class="sub-menu">
    		<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">View</a></li>
    		<li id="edit-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/edit/#item-header-content">Edit</a></li>
    		<li id="change-avatar-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-avatar/#item-header-content">Change Profile Photo</a></li>
    		<li id="change-cover-image-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-cover-image/#item-header-content">Change Cover Image</a></li>
    	</ul>

    Here is the source codes for the menus while looking at looking at my own profile not as admin.

    So I was wondering if the walker argument could help with this, but I could not find any documentation on that part.
    Could you point me to where or how to get the profile submenu items under the profile li and not as a sub sub of settings?

    <nav class="main-navs no-ajax bp-navs single-screen-navs user-nav-tabs tabbed-links horizontal users-nav" id="object-nav" role="navigation" aria-label="Member menu">
    		<ul>
       <div class="menu-bp-container"><ul id="menu-bp" class="menu"><li id="front-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/front/#item-header-content">Home</a>
    <ul class="sub-menu">
    	<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/front/#item-header-content">View</a></li>
    </ul>
    </li>
    <li id="xprofile-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">Profile</a></li>
    <li id="activity-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/activity/#item-header-content">Activity</a>
    <ul class="sub-menu">
    	<li id="just-me-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/#item-header-content">Personal</a></li>
    	<li id="activity-mentions-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/mentions/#item-header-content">Mentions</a></li>
    	<li id="activity-favs-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/favorites/#item-header-content">Favorites</a></li>
    	<li id="activity-friends-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/friends/#item-header-content">Friends</a></li>
    	<li id="activity-groups-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/groups/#item-header-content">Groups</a></li>
    </ul>
    </li>
    <li id="friends-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/friends/#item-header-content">Friends <span class="count" style="cursor: pointer;">1</span></a>
    <ul class="sub-menu">
    	<li id="friends-my-friends-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/friends/#item-header-content">Friendships</a></li>
    	<li id="requests-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/friends/requests/#item-header-content">Requests</a></li>
    </ul>
    </li>
    <li id="notifications-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/#item-header-content">Notifications <span class="count" style="cursor: pointer;">1</span></a>
    <ul class="sub-menu">
    	<li id="notifications-my-notifications-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/#item-header-content">Unread</a></li>
    	<li id="read-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/read/#item-header-content">Read</a></li>
    </ul>
    </li>
    <li id="invite-anyone-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/#item-header-content">Send Invites</a>
    <ul class="sub-menu">
    	<li id="invite-new-members-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/#item-header-content">Invite New Members</a></li>
    	<li id="sent-invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/sent-invites/#item-header-content">Sent Invites</a></li>
    </ul>
    </li>
    <li id="settings-personal-li" class="menu-parent current-menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">Settings</a>
    <ul class="sub-menu">
    	<li id="general-personal-li" class="menu-child current-menu-item"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">General</a></li>
    	<li id="notifications-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/notifications/#item-header-content">Email</a></li>
    	<li id="profile-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/profile/#item-header-content">Profile Visibility</a>
    	<ul class="sub-menu">
    		<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">View</a></li>
    		<li id="edit-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/edit/#item-header-content">Edit</a></li>
    		<li id="change-avatar-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-avatar/#item-header-content">Change Profile Photo</a></li>
    		<li id="change-cover-image-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-cover-image/#item-header-content">Change Cover Image</a></li>
    	</ul>
    </li>
    	<li id="invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/invites/#item-header-content">Group Invites</a></li>
    	<li id="data-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/data/#item-header-content">Export Data</a></li>
    	<li id="delete-account-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/delete-account/#item-header-content">Delete Account</a></li>
    </ul>
    </li>
    <li id="groups-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/groups/#item-header-content">Groups <span class="no-count">0</span></a>
    <ul class="sub-menu">
    	<li id="groups-my-groups-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/groups/#item-header-content">Memberships</a></li>
    	<li id="invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/groups/invites/#item-header-content">Invitations</a></li>
    </ul>
    </li>
    </ul></div> 
    		</ul>
    </nav>
    kingfisher64
    Participant

    Hello,

    I was wanting to create a button link in elementor to the BuddyPress user view profile page. I’m struggling to find the correct info.

    There’s basically a link field in elementor available just like this https://pasteboard.co/JI8WdfI.png

    The closest I found was the following:

    https://buddypress.org/support/topic/logged-in-user-profile-link-url/
    https://wordpress.stackexchange.com/questions/35163/add-buddypress-profile-and-messages-link-to-wordpress-menu

    Using Ocean WP theme, Buddypress 7.1.0 (v latest at time of post)

    Kind regards

    #316925
    lynnapp
    Participant

    in my child theme I have added this to the members/single/parts/item-nav
    <label class=”toggle” for=”toggle”>☰ <span>Menu</span></label>
    <input class=”toggle” id=”toggle” type=”checkbox”>

    <nav class=”<?php bp_nouveau_single_item_nav_classes(); ?>” id=”object-nav” role=”navigation” aria-label=”<?php esc_attr_e( ‘Member menu’, ‘buddypress’ ); ?>”>
    <?php if ( bp_nouveau_has_nav( array( ‘type’ => ‘primary’ ) ) ) : ?>

      <?php bp_nav_menu(); ?>

    <?php endif; ?>
    </nav>

    I have removed the submenu form all the other page fronts
    So this is the problem

    1. The loop for the sub-menus is
    a. Putting the profile menu items under a new submenu under settings
    (this submenu )

    	<ul class="sub-menu">
    		<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">View</a></li>
    		<li id="edit-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/edit/#item-header-content">Edit</a></li>
    		<li id="change-avatar-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-avatar/#item-header-content">Change Profile Photo</a></li>
    		<li id="change-cover-image-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-cover-image/#item-header-content">Change Cover Image</a></li>
    	</ul>

    Here is the source codes for the menus while looking at looking at my own profile not as admin.

    So I was wondering if the walker argument could help with this, but I could not find any documentation on that part.
    Could you point me to where or how to get the profile submenu items under the profile li and not as a sub sub of settings?

    <nav class="main-navs no-ajax bp-navs single-screen-navs user-nav-tabs tabbed-links horizontal users-nav" id="object-nav" role="navigation" aria-label="Member menu">
    		<ul>
       <div class="menu-bp-container"><ul id="menu-bp" class="menu"><li id="front-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/front/#item-header-content">Home</a>
    <ul class="sub-menu">
    	<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/front/#item-header-content">View</a></li>
    </ul>
    </li>
    <li id="xprofile-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">Profile</a></li>
    <li id="activity-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/activity/#item-header-content">Activity</a>
    <ul class="sub-menu">
    	<li id="just-me-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/#item-header-content">Personal</a></li>
    	<li id="activity-mentions-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/mentions/#item-header-content">Mentions</a></li>
    	<li id="activity-favs-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/favorites/#item-header-content">Favorites</a></li>
    	<li id="activity-friends-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/friends/#item-header-content">Friends</a></li>
    	<li id="activity-groups-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/activity/groups/#item-header-content">Groups</a></li>
    </ul>
    </li>
    <li id="friends-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/friends/#item-header-content">Friends <span class="count" style="cursor: pointer;">1</span></a>
    <ul class="sub-menu">
    	<li id="friends-my-friends-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/friends/#item-header-content">Friendships</a></li>
    	<li id="requests-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/friends/requests/#item-header-content">Requests</a></li>
    </ul>
    </li>
    <li id="notifications-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/#item-header-content">Notifications <span class="count" style="cursor: pointer;">1</span></a>
    <ul class="sub-menu">
    	<li id="notifications-my-notifications-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/#item-header-content">Unread</a></li>
    	<li id="read-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/notifications/read/#item-header-content">Read</a></li>
    </ul>
    </li>
    <li id="invite-anyone-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/#item-header-content">Send Invites</a>
    <ul class="sub-menu">
    	<li id="invite-new-members-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/#item-header-content">Invite New Members</a></li>
    	<li id="sent-invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/invite-anyone/sent-invites/#item-header-content">Sent Invites</a></li>
    </ul>
    </li>
    <li id="settings-personal-li" class="menu-parent current-menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">Settings</a>
    <ul class="sub-menu">
    	<li id="general-personal-li" class="menu-child current-menu-item"><a href="http://localhost/wordpress/members/athlete-lynn/settings/#item-header-content">General</a></li>
    	<li id="notifications-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/notifications/#item-header-content">Email</a></li>
    	<li id="profile-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/profile/#item-header-content">Profile Visibility</a>
    	<ul class="sub-menu">
    		<li id="public-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/#item-header-content">View</a></li>
    		<li id="edit-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/edit/#item-header-content">Edit</a></li>
    		<li id="change-avatar-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-avatar/#item-header-content">Change Profile Photo</a></li>
    		<li id="change-cover-image-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/profile/change-cover-image/#item-header-content">Change Cover Image</a></li>
    	</ul>
    </li>
    	<li id="invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/invites/#item-header-content">Group Invites</a></li>
    	<li id="data-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/data/#item-header-content">Export Data</a></li>
    	<li id="delete-account-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/settings/delete-account/#item-header-content">Delete Account</a></li>
    </ul>
    </li>
    <li id="groups-personal-li" class="menu-parent"><a href="http://localhost/wordpress/members/athlete-lynn/groups/#item-header-content">Groups <span class="no-count">0</span></a>
    <ul class="sub-menu">
    	<li id="groups-my-groups-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/groups/#item-header-content">Memberships</a></li>
    	<li id="invites-personal-li" class="menu-child"><a href="http://localhost/wordpress/members/athlete-lynn/groups/invites/#item-header-content">Invitations</a></li>
    </ul>
    </li>
    </ul></div> 
    		</ul>
    </nav>
    #318094

    In reply to: Shortcode user profile

    songdove
    Participant

    Darn it. Looking for the same thing. My profile page right now is ugly! Are there buddypress profile integration plugins where I could make this more readable???

    https://www.dropbox.com/s/l55ogi3tffryqm8/bpprofileissue.jpg?dl=0

    When I changed the base title to Main, that seemed to break things a little. But it also wasn’t displaying a new field group I’d created. I deleted that thinking it was what broke the layout, but that hasn’t changed unfortunately. I was hoping to find shortcodes I could use to put the desired new field group onto a custom menu page at the very least. But this profile page is ugly!

    vincenzon617
    Participant

    Hi there,
    I am not sure if this has already been answered so apologies if it has (I cannot find an answer). What i would like to do is remove some of the icons and menus from my BuddyPress profile page. Currently I have 6 buttons on the profile (‘Profile’,’Activity’,’Notifications’,’Friends’,’Forums’,’Settings’). These have sub menus as well, for example if I choose ‘Profile’, its submenus are ‘Home’, ‘View’, ‘Change Profile Picture’.
    What I would like to do is remove everything but ‘Friends’, ‘Forums’ and ‘Settings’. Then I would like only “replies created” to be shown when the user clicks on the ‘Forums’ button. I am currently using bbPress within my site for the forums if that helps (I would add an image but I am having trouble doing so).
    If anyone could help me with this or point me in the right direction to achieve what I would like that would be great!
    Many thanks.

    saraelba
    Participant

    Hello!
    Im trying to get out the buddypress menu from the wordpress toolbar and put it on a another menu on my website.

    My theme it shows a “login in” button on the top right corner, and there is a menu button too but this button dissapears slowly (with some javascript I supposed) and only shows the admin toolbar if a user is logged in.

    I want to change that.
    I want the admin toolbar out.
    (I had change the theme. Same results, except the javascript thing).

    Also, I want to edit the links in the menu too and add other links not related to buddypress.

    Thanks a lot!!!

    justin171185
    Participant

    Hello,
    First off, let me say that I am totally blind and thus use a screen reader. I am decent from inside wp-admin, but very nervous about making code changes, unless I can litterally do a copy/paste. So please please be nice, and make your reply as detailed as possible. I have found posts online to remove and reorder items from Buddypress navbar, but no way to remove it completely.
    You may ask, why would I want to do this? Well, I run an online radio station, and buddypress is added feature, to create an online community around the station, with chat, a forum, and on demand content. However, things weren’t going as I wanted with my radio theme.
    I tried to use the navigation widget which comes with the new Buddypress template, but so far as I could tell, with my screen reader, it was not showing up. Plus, the new bp template wasn’t playing well with the rest of my site, so switched to legacy. So, I have created a custom menu, with some BuddyPress items, some BBPress items, and some custom pages. And used the standard wordpress Navigation Menu widget to make items available from anywhere on the site. So, I have all the functionality I need right there. And thus the navbar just ends up adding duplicate links.

    I know if you do this wrong, you can break buddypress functions. I want to keep features, just get rid of the navbar.
    Using latest wordpress, latest BuddyPress, and On Air2 radio station theme.
    Your help will be much appreciated. If this could be done via plugin, that would be incredible. Otherwise, please be very very specific. Exact file to edit/create, exact lines to add/edit/remove, exact changes to be made. Like I said, I am very confident in wp-admin, but scared to death of code, more specifically, breaking something and not being able to fix it.

    Prolet
    Participant

    Hello,

    I am new to BuddyPress, which probably will explain my question.

    On my new website https://worldartistmanagement.com I have installed BuddyPress 6.1.0

    It is pretty good and I am thankful for its simplicity and yet grand functionality.

    My main membership plugin is Ultimate Membership Pro, which an awesome tool for any membership website. Its authors have an extension to integrate it with BuddyPress – yay. On the BP menu appears another link to UMPs account page. That’s all.

    And here are my questions.

    How can I change the link name of this additional tab, please? It is the name of the plugin, instead My Account or else.

    And the second question, which is more important to me.

    After installing the BP all users are given captcha test by solving some math questions.
    I don’t use captcha, I didn’t enable it and I am trying to find out where this came from. The only sure thing is that it came after BP activation.

    Please advice.

    PS I will address the same question to UMP and to Anti-Spam by CleanTalk, my security plugin.

    Thank you. Stay safe

    #312803

    I had Buddypress installed recently, and all appeared fine. Today I was in the Widgets section making some changes, and dragged the ‘Events’ widget into the Buddypress Member’s Home box on the right, which previously was empty. When I checked my main Buddypress account page, the menus that were previously showing had disappeared, and the sign up form boxes were out of alignment. I undid this change, and menus have not re-appeared, nor has the sign up form corrected to be completely even.

    I have changed the theme to the Old version, instead of new, and that did make the menu come back, but I do not like this style. How can I fix my page?

    Thank you.

    shonty
    Participant

    Hi guys,

    Somehow my BuddyPress filter – menu list – background -on hover – changed colors and acquired an outline, when testing a theme and returning to my original theme.

    I have attached a screenshot of the filter. You will see the highlighted menu item is blue with a thick black outline when hovered over. I have tried to show as much info as possible in the hope someone can provide a css, for when hovering over a menu item to remove the black outline (on hover), and change the background color (on hover) to #21759b, and the text color (on hover) to #ffffff to suit my theme.

    This problem has happened to a few of my filters but I’m sure I can fix those if I can get the css for this one.

    URL to screenshot in my dropbox
    https://www.dropbox.com/s/q9dvxqlhi23j41k/Filter%20-%20on%20hover%20background%20color.PNG?dl=0

    Thank you

    Wordpress Version 5.4.1
    Buddypress Version 6.0.0

    #311949
    bluesweet
    Participant

    After making the changes that I wanted
    Change “activity tab” to “Social Wall”
    Change “docs” to “Official Docs”
    Hope this helps ….

    // Setup the navigation
    // Props to http://wordpress.stackexchange.com/questions/16223/add-buddypress-profile-menu-item for helping me figure this out
    // http://themekraft.com/customize-profile-menus-in-buddypress/
    function my_setup_nav() {
    global $bp;

    // Change name of menu item
    $bp->bp_nav[‘docs’][‘name’] = ‘Official Docs’;
    // Change name of menu item
    $bp->bp_nav[‘activity’][‘name’] = ‘Social Wall’;
    }

    add_action( ‘bp_setup_nav’, ‘my_setup_nav’, 1000 );

    #311948
    bluesweet
    Participant

    i found this snippet and it works great …

    // Setup the navigation
    // Props to http://wordpress.stackexchange.com/questions/16223/add-buddypress-profile-menu-item for helping me figure this out
    // http://themekraft.com/customize-profile-and-group-menus-in-buddypress/
    function my_setup_nav() {
    global $bp;

    // Change the order of menu items
    $bp->bp_nav[‘messages’][‘position’] = 100;

    // Remove a menu item
    $bp->bp_nav[‘conversations’] = false;

    // Change name of menu item
    $bp->bp_nav[‘communities’][‘name’] = ‘My Conversations’;
    }

    add_action( ‘bp_setup_nav’, ‘my_setup_nav’, 1000 );

    King Ding
    Participant

    Hello!

    I have created a plugin that moves the user email preferences to the woocommerce ‘my account’ menu. Everything looks great, but when I select options between the “yes/no” and then click save, nothing changes/nothing is saved?

    Perhaps I’m missing something? Could anyone shed some light on which file remembers and stores the selection after hitting submit?

    The form in question can be located here:
    buddypress/members/single/settings/notifications.php

    Thanks!
    – D

    pickleit
    Participant

    WordPress version: 5.3.2
    BuddyPress version: 5.1.2
    web server: nginx
    Also I am running wordpress in multisite mode.

    I am having problems creating buddypress groups:

    In wp-admin i can click on “Groups” on the menu. The “Groups” page shows no groups, which is correct. I can click on the “Add New” button which redirects me to “/groups/create/step/group-details/”.

    I can fill in step 1 ok, but when i click on the “Create Group and Continue”, it just results in a 404 error. The url doesn’t change either.

    If I enable WP_DEBUG, I get the following errors on the following urls:

    1) /wp-admin/admin.php?page=bp-groups
    Notice: wpdb::escape is deprecated since version 3.6.0! Use wpdb::prepare() or esc_sql() instead. in /var/www/wordpress/public/wp-includes/functions.php on line 4655

    Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /var/www/wordpress/public/wp-includes/functions.php on line 4986

    Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /var/www/wordpress/public/wp-includes/functions.php on line 4986

    Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /var/www/wordpress/public/wp-includes/functions.php on line 4986

    Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /var/www/wordpress/public/wp-includes/functions.php on line 4986

    Notice: add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.) in /var/www/wordpress/public/wp-includes/functions.php on line 4986

    2) /groups/create/step/group-details/
    Notice: wpdb::escape is deprecated since version 3.6.0! Use wpdb::prepare() or esc_sql() instead. in /var/www/wordpress/public/wp-includes/functions.php on line 4655

    Please help.

    #310461
    thirdpotato
    Participant

    Solved: It won’t let me change my account by clicking my name and going to “edit profile” right under my username, but I have to hover through the menu to get to Profile: edit profile.

    Also broken is the “edit” button at the bottom of this thread that just jumps to the buddypress main page.

    #309549
    Buddy Quaid
    Participant

    I have an update for adding situations… since nobody from BuddyPress helps or seems to get on this site anymore, I guess I’ll post this for anyone who needs this.

    (Maybe that’s why BuddyBoss came out?)

    Anyway, I got the situations to show up by going changing to:

    plugins/buddypress/bp-core/bp-core-taxonomy.php and changing line #39 ‘show_in_menu’ to true instead of false.

    This makes it show up and you can change everything and add new ones.

    #309454
    johndoc
    Participant

    Looking for support on where to change the buddypress primary/title menu width. Would like to take the majority of the screen width but does not currently. Using the BP child theme.
    Thanks

    #308689
    David Cavins
    Keymaster

    On what hook are you firing that function? Are you using the Legacy or Nouveau template pack? (Have you changed from the Legacy to Nouveau template pack recently?)

    It could be a number of things, but my first thought is that there’s no reason to be changing the groups nav when you’re in the middle of the create routine, so maybe there’s a more strict check we should be using above and beyond the bp_is_group() check as used on the API page: https://codex.buddypress.org/developer/navigation-api/#change-item-names-of-users-and-groups-nav-menus

    In any case, you should be able to prevent the error by adding a conditional around calling edit_nav():

    $bp = buddypress();
    if ( isset( $bp->groups->nav ) ) {
    	$bp->groups->nav->edit_nav( array( 'name' => __( 'Home/Reflections', 'buddypress' ) ), 'home', bp_current_item() );
    }
    #308686
    Tara Claeys
    Participant

    Several years ago I used code I found here to rename the “Home” nav item on the Groups page. I used this code in my Theme functions.php file.
    It has been working fine for about 4 years, but now when I go to create a new group, I get an error message
    screenshot: https://share.getcloudapp.com/d5ub6x2p

    Below is the code I am using. I assume something changed in an update so perhaps bp_current_item is not working anymore? Or edit_nav?

    //* Rename “Home” to “Reflections”of menu item in BuddyPress Group
    // buddypress()->bp_options_nav[buddypress()->groups->current_group->slug][‘home’][‘name’] = ‘Home/Reflections’;
    buddypress()->groups->nav->edit_nav( array( ‘name’ => __( ‘Home/Reflections’, ‘buddypress’ ) ), ‘home’, bp_current_item() );

    }

    #308617
    David Cavins
    Keymaster

    That’s pretty old code you’ve found. We have a new API for that:

    Navigation API

    The example “Changing the name of the Unread subnav item of the user’s Notifications nav menu” is pretty close to what you’re looking for. If you want to add the displayed user’s display name, this is close:

    function bpcodex_change_activity_nav_name() {
    
    var_dump( buddypress()->members->nav );
        buddypress()->members->nav->edit_nav( array(
            'name' => bp_get_displayed_user_fullname() . "'s Feed",
        ), 'activity' );
    }
    add_action( 'bp_setup_nav', 'bpcodex_change_activity_nav_name', 100 );

    You’ll need to add that code to your bp-custom.php file or similar. https://codex.buddypress.org/themes/bp-custom-php/

Viewing 25 results - 26 through 50 (of 515 total)
Skip to toolbar