Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'change buddypress menu'

Viewing 25 results - 126 through 150 (of 578 total)
  • Author
    Search Results
  • sherissa_r
    Participant

    Hi, I’ve been searching all day and have not found a good tutorial on how to edit the Buddypress /WP admin toolbar in the top right-hand corner.
    Is this the only tutorial available?

    Modifying the Toolbar

    I would like to change the labels for some of the menu items.
    e.g. Forums to Discussions
    Friends to Network
    Groups to My Groups
    Courses to My Courses

    Thank you in advance if you’re able to guide me to a tutorial on how to do this using bp-custom.php or my child theme’s function.php

    #262496
    danbp
    Participant

    If you consider all your users to have the same ability to publish, you can simply setup WP’s default role from subscriber to author. You don’t need a plugin to do that. To allow categories, search on WP codex, as this has nothing to do with the fact you use BuddyPress.

    For customizing the Howdy menu item, use this custom snipet or take one of the existing plugin to do that.

    piyosuke
    Participant

    Hi,

    I introduced “BuddyPress Follow” plugin and this has been working very well.

    As a default, there are “Following” and “Followers” tabs in parent navi menu of member profile pages, but I would like to create “Follow” tab in parent navi menu and show “Following” and “Followers” tabs in sub-menu under “Follow” tab.

    (Default)
    Parent navi menu > “Following” and “Followers” tabs

    (What I want)
    Parent navi menu > “Follow” tab
    Sub navi menu > “Following” and “Followers” tabs

    Could anybody else can support me on this? Any support would be highly appreciated!!

    Wordpress version 4.6
    Buddypress version 2.7.4

    Thanks,
    piyosuke

    #261790
    danbp
    Participant

    Is “xprofile component” the feature exposed in “Settings > BuddyPress” named “Extended Profiles” (at the very top of the config page)? (It probably is, but I just want to be sure, thanks.)

    Yes it is !

    it is possible […] to effect the change of either the email or password fields?

    Yes it is ! from here: your-site.abc/members/USERNAME/settings/ – the link can be found under the top right usermenu on wp’s toolbar: username > settings > general OR/AND on the buddymenu, when you’re on your profile: Settings ! And that’s it !

    null

    For all other BP related questions, please read through the codex, i really have no time to (re)write all explanations. Sorry, hope you uderstand.

    Mwiinga
    Participant

    Hello,
    I’m running a multisite.
    My WordPress version is 4.6.1 and BuddyPress is version is 2.7.2.

    I would like to change the custom profile menu item names. I have searched around google, wordpress, stack-exchange for days now, and I’m only finding solutions on how to “edit actual BuddyPress menu items” like ‘activity,’ ‘profile,’ and all..

    Because my installation is multisite, I have a menu item “sites” which I would like to have changed to something like “Schools”

    I’ve tried the below code but, it’s working only on default buddypress menu item.

    //***************************************************************************************//
    function bpcodex_rename_profile_tabs() {
      
          buddypress()->members->nav->edit_nav( array( 'name' => __( 'Support', 'textdomain' ) ), 'forums' );
          buddypress()->members->nav->edit_nav( array( 'name' => __( 'Study Groups', 'textdomain' ) ), 'groups' );
          buddypress()->members->nav->edit_nav( array( 'name' => __( 'Schools', 'textdomain' ) ), 'site' );  
    }
    add_action( 'bp_actions', 'bpcodex_rename_profile_tabs' );

    Please help..

    #261098
    Venutius
    Moderator

    Trying to get a theme to support BP can be a bit of a challenge, if it were me I’d start with adding the register and login links in the menu then hide them for logged in users to keep it tidy, you can do that using WPFront User Role Editor. I run a few sites with theme’s that don’t support BP, it is possible but often you find yourself having to make css changes in order to display parts of the site correctly.

    I’ve set up a site, which is about setting up BuddyPress, you might want to take a look, it might give you some ideas. http://buddyuser.com

    #260897
    mooki3
    Participant

    Hey everyone nice to see you.

    Ive setted up my WP Page a few days ago and installed BuddyPress today.

    Page Menu

    I bet you can see my problem in this Image. I think its not really nice to have my Profile and the Activity on the upper right and the members and (second?) profile button on the lower left corner of the menu.

    However: I would like to change the position of these buttons but i dont really know how to do that.

    Cheers 🙂 And have a nice day: Maurice

    #260892
    Masoud
    Participant

    hi.
    i am using latest versions of both wordpress and buddypress.and working on a food website.
    in this website , i wanted to allow only authors to post activity updates .
    (because it will be much easier for users to track their favorite chef recipes in the activity page.)
    so i’ve hide the ” personal ” submenu of activity tab : Activity > Personal (where people can post updates)
    with the help of following code in bp-custom.php :

    function bpfr_hide_tabs() {
    global $bp;
    if ( bp_is_user() && ( !current_user_can(author) || !current_user_can(administrator) ) ) {		
     bp_core_remove_subnav_item($bp->activity->slug, 'just-me');	}
    }
    add_action( 'bp_setup_nav', 'bpfr_hide_tabs', 15 );

    but now when i go to my profile (as a subscriber)
    i will see a 404 page.
    i’ve searched a lot and i noticed that , now that i’ve removed the default activity stream tab , i have to point it to another tab. so when a user profile is loading (or if a user clicks on activity tab),
    instead of default activity> personal . it load activity > mentions / OR / favorites / OR / … (some other submenu than personal )

    so my question is:

    how can i change the default activity stream tab
    from
    Activity > Personal
    To
    Activity > Mentions – Or to – Activity > Favorites – …

    thanks a lot for any help.

    #260847
    metalhead
    Participant

    Hello Buddypress buds!

    A lot of people have been talking over the past couple of years about “how to require a profile photo upon registration. And I know it’s a risky thing to do, but many of us are willing to take that risk.

    There are a handful of plugins that try to assist with this procedure, but some fail, and some are only partially successful. The best solution that I’ve found is Xprofile Custom Fields. With this plugin, and a lot of help from the author, I’ve managed to get profile photos to be required in the registration process. However, the issue I’m having is that the users are unable to effectively change their profile photo by using the options in the Buddypress “Profile” section/menu. The user can still click “Change Profile Photo,” and it will accept their upload, but the old photo remains in the member directory & in the user’s profile itself.

    I think there must be a miscommunication occurring due to this new way of gathering the user’s original profile photo. It seems like some code, pertaining to the Buddypress “Change Profile Photo” function needs to be tweaked, but I can not pinpoint the function, which would be the first step towards fixing this issue.

    To demonstrate how I’m requiring the profile photo upload in the registration, here is the function I’ve added to my theme’s functions.php file:

    add_filter( 'bp_core_fetch_avatar', 'my_custom_avatar', 10, 2 );
    function my_custom_avatar( $avatar, $params ) {
        if ( 'user' === $params['object'] ) {
            // Get the src of the original avatar.
            $array = array();
            preg_match( '/src="([^\"]*)"/i', $avatar, $array );
            if ( count( $array ) > 1 ) {
                $old_url_avatar = $array[1];
                // Get the new url of image.
                $uploads = wp_upload_dir();
                $img = maybe_unserialize( BP_XProfile_ProfileData::get_value_byid( 5218, $params['item_id'] ) );
                if ( ! empty( $img ) ) {
                    $new_url_avatar = $uploads['baseurl'] . $img;
    
                    // Replace the old src with the new url.
                    $avatar = str_replace( $old_url_avatar, $new_url_avatar, $avatar );
                }
            }
        }
    
        // Return the avatar.
        return $avatar;
    }

    I’d like to mention that I have asked the plugin author about this, but my message on that plugin’s support forum has been deleted twice, making me think I should give the man a break.

    Here are some specifications of my site:

    The site can be reached here.

    It’s running on WordPress v4.6.1, Buddypress v2.7.0, & using BuddyPress Xprofile Custom Fields Type v2.6

    “5218” is the field ID for the “Upload Image” field.

    Thanks and sorry if I posted in an inappropriate forum, I think I chose the right one.

    #260632
    JeffWillia.ms
    Participant

    Hello,

    I’m having trouble with a Buddypress Profile. The profile in question was the original Admin profile that created the site. Somewhere along the line, the Buddypress interface for the profile just stopped displaying. If I try to select “Profile” in the drop down menu, it just directs to the Home Page, but no BP profile. I can login and administer the page, there’s just no BP profile. I’ve deleted it and re-added it, from both WP back-end, and from the tables in My PHP Admin. I can also add other user profiles (including Admins) which function perfectly fine, including BP Profiles. I can even change the access level of this particular profile, but that doesn’t help. The problem is with this particular User ID. Normally it wouldn’t matter, and I’d just start another Admin profile, but this User ID is branded to the site so that Users can identify it’s the site owner. Any ideas what is going on? Thanks.

    #260499

    In reply to: menu link member list

    reivilob
    Participant

    Hi
    it does not change the problem. (both WP menu or BP menu is interesting)
    In my case at a WP menu
    In the WP menu admin you have a Buddypress section where you can select a lot of BP feature for login or logout users, but the Member list is not available here…

    If there is a way to do it by functions.php it is ok for me but not clear how to do it and by example define the position in the menu …

    Best regards
    Olivier

    #260272
    versetab001
    Participant

    Hello,

    So I found a source on here, how to rename the menu bars in the profile section of buddypress.

    I downloaded a plugin called Buddypress User Blog, and I want to rename the tab header “Blog” to “Posts” or “Articles”. I have downloaded the PO file that comes with this plugin and then made the translation from en_US to en_UK. and uploaded it to the server, under the BP-User-Blog/Languages folder, but still no changes.

    How do I activate the new PO and MO file?

    Or is there another way to change the wordings on the profile Tab?

    Here is a screenshot of the tab:

    Profile

    Regards

    Kelvin

    #259959
    livingflame
    Participant

    I know that Buddypress is a good growing project, but, needs very Important Native (by Default) features.

    1) Buddypress Block User (allow users to block other users –– really allow to hide your info, activities, etc. for a specific @user-1 e.g, auto-unfriend, no more messages from the blocked. This feature integrated with rtMedia too).
    OR FOR NOW: Buddypress Report User (with Custom Motives, p. ej. “@user-1 is sending me hateful messages”, “@user-2 published an annoying activity”). So, Admin can to impose a Sanction for @user-1, e. eg. 7 days without Post, 15 days without Sending Messages… or Community Expulsion -–> Block, Delete, Banned Email). Admin can too, to Sent a Message (previously edited for auto ms saying: @user-1 you are banned for…. 30 days. Sincerely the Admins).

    * Buddypress CONFIRM Account immediately after Sign Up.

    A Social or Community without this Function is Nothing. PLEASE!!

    2) Buddypress Chat (too, Message Template, to read Messages in a specific page).

    3) Buddypress Message with Attachments.

    4) Buddypress Global Search.

    5) Buddypress Custom Menu with Account Alerts (e. g. https://goo.gl/reojsE ). Yes. I know, if you go to WP Menus, you can add to your Navbar or Menu – Profile, Activity, Notifications, etc. BUT WITHOUT Bubbles or Account Alerts… That is very very Impractical.

    6) Buddypress Media (yes I know, we have rtMedia, but its add-ons are very expensive. The complete pack = US$500 more or less).

    7) Buddypress Follow/er Native.

    8) Buddypress Share (from activity).

    9) Buddypress Autocomplete Fields (for a specific text area, e. g. City: New York, Fruits: Apple, etc.), Range Fields (e. g. I’m searching friends from 20 to 21). Buddypress Birthdate normal, but, with an option to show only the Age! 10) Buddypress Advance Search. With this you can create an advance Form with Fields for Show on Members Page or in a Widget.

    11) Buddypress with Ads Area (inside Activity, Groups, Members and Forums). (Optional from Buddypress Option Panel)

    12) Buddypress More Customizable. >> A button over Cover Profile for Easy Photo Change (yes, like Facebook has)… The CPanel with MORE Options… MORE Options for: Profile / Settings / Profile Visibility and PRIVACY!!

    For now is all. Thanks!


    @johnjamesjacoby


    @djpaul


    @boonebgorges


    @imath


    @mercime


    @hnla


    @tw2113

    lesanis
    Participant

    Hello,

    Is there a way to make cover-image-header.php and home.php to appear before main content(theme’s sidebars and buddypress content) in Member’s single page?

    Thank you!!

    #259813
    antoinegdln4
    Participant

    Hi Everyone !
    One year ago, i try to put the notifications of the Buddypress bar into my header.
    And, thanks to the members of this forum, it works succesfully.
    I have now a new item on my menu, and it’s a count of the notifications.

    But i want to see immediatly when there is a new notification !
    I would like to change the color of the notification bubble only when there is a new (ou more) notification !
    Can you help me ? :/

    There is my actual php code, on the bp-custom.php

    function my_nav_menu_notif_counter($menu) {      
            if (!is_user_logged_in())
                    return $menu;
            else
                    $notif = '<li ><a class="ab-item" href="' . bp_core_get_user_domain(bp_loggedin_user_id() ) . 'notifications/">'. __('').'<span id="ab-pending-notifications" class="pending-count alert">'. __(''). bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span> </a></li>';
                    $menu = $menu . $notif;
                    return $menu;
    }
    add_filter( 'wp_nav_menu_items', 'my_nav_menu_notif_counter' );
    add_filter( 'show_admin_bar', '__return_false' );

    Sorry if my english is bad, i’m french
    I have bad knowledges in Php, but i can try to understand the code

    WP 4.4.5
    BP 2.6.2

    #259141
    danbp
    Participant

    Hi @bastianernst

    guess you made some mistake while activating BuddyPress and using your theme. Probably you have also some other plugins in use ?

    So, aside from reading absolutely throuhg the install BP documentation, i strongly recommand that you check the site fonctionnalities by using only:

    WP+BP+Twenty Sixteen theme. No other plugin, no custom code.

    If you allowed registration, you have a login widget (the one coming with WP) you can activate in the sidebar. Do this for testing the password change (click on lost password ?) once active.

    Also on the basic install, you should have all BP menus in the usermenu (top right corner) and on a user profile.

    Once anything ok on this install, upload BP Default Data plugin and activate it. This will add fake datas in all parts of BP, so you have content everywhere that let you test completely the site.

    Go through and see how it works.

    If all seems ok, you can then activate the final theme. Simply remind that BP pages should be empty, without any content or template model.
    Don’t forget to set up pretty permalinks (whatever but by default) and with a little luck, you’ll be on the right path.

    kinglizzy
    Participant

    Hi there

    I have the latest version of WordPress running. I see that BuddyPress in untested and I wonder if this is the cause of my problem. When I tried to set it up as per the numerous videos and forum posts, I don’t have the options that people are selecting. I also don’t have the menu at the top of the page that used to be there. There is very little functionality at all. I am new to BuddyPress and am building a social network but it doesn’t seem to do anything that it should. Where do I set up buddypress? I changed the permalinks as stipulates and now I get this message:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘ReduxFramework::_options_page’ was given in /home/infoboxco/public_html/wp-includes/plugin.php on line 52

    It this to do with BuddyPress or WordPress.

    Thanks for your time
    Liz

    #258461

    In reply to: identify code

    danbp
    Participant

    Your link is 7 years old ! That’s a prehistoric reference 🙂 and outdated!
    If you’re talking about the Notification(x) item on BuddyMenu, it is in the language file where you can change it or use the trick indicated on Nav Api codex page (mentionned in the above post).

    Example:

    function bpcodex_change_unread_nav_name() {
        buddypress()->members->nav->edit_nav( array(
            'name' => 'The new name in whatever language',
        ), 'notifications' );
    }
    add_action( 'bp_setup_nav', 'bpcodex_change_unread_nav_name', 100 );

    Add the snippet to bp-custom.php

    #258411

    In reply to: identify code

    idichoo
    Participant

    Hi,

    well… it sound complicated to me as i am still quite confuse.

    Anyway, i need to identify because i wish to change notification word in buddypress menu bar to chinese by hard coding or whatever.

    Can you advise what to enter into the css or where to change it.

    jowyds
    Participant

    Understand that Version 1.9 update, there is an addition of “About BuddyPress” link in the Dashboard at Admin Bar. Is there anyway that I can disable it or change the link?

    Added “About BuddyPress” link to WP-logo menu in the WP admin bar (#5285)

    rmens
    Participant

    I just upgraded BuddyPress from 2.5.3 to 2.6.1.1 and on the profile page navigation there used to be a submenu with the option to edit your profile and change the avatar. Since upgrading to 2.6.1.1 these options are no longer visible.

    After searching around a bit in my theme I couldn’t find anything that seems to be related to this. Does any one else have this problem? Thanks!

    LavishDhand
    Participant

    Hi!

    My WordPress version is : 4.5.3
    My BuddyPress version is : 2.6.1.1

    I have been trying to find a way to change the names / text of at least 2 BuddyPress member profile menu items.

    I want to change ‘Friends’ to ‘Connections’ and ‘Groups’ to ‘Clubs’.

    I tried using poedit with the latest pot file from BP 2.6 and translated all occurrences of ‘Friends’ and ‘Groups’ but it is still not working.

    translations

    All translations other than profile nav items are working fine. I also tried changing the language in WordPress settings, still no avail.

    Kindly help me

    Many thanks

    Jeremy Pry
    Participant

    Under certain circumstances, there is an infinite loop inside the bp_legacy_theme_new_activity_comment() function. Specifically, when all of the secondary_item_id fields are zero, the $parent_id will continually be set to zero. An infinite loop ensues and eventually the script will time out. This causes new activity items to not display until the page is refreshed, as mentioned here: https://buddypress.org/support/topic/activity-comments-post-blank-until-refresh/.

    This error happens when attempting to add a comment to a group post. I believe this is a similar problem as the one expressed here: https://buddypress.org/support/topic/activity-comments-post-blank-until-refresh/

    For information:

    • WordPress 4.5.3
    • BuddyPress 2.6.1.1
    • Single site install in web root
    • There are indeed other plugins activated on this site. The full list is below. This site is for a client, and I’m unsure of which plugins can be safely deactivated to test.
    • We’re using a customized theme, but I have tested with the TwentySixteen theme and found the same results.
    • The core BuddyPress files have not been modified to my knowledge.
    • The site is hosted on Page.ly, but I can reproduce the problems in a local VVV install
    • The live site is http://www.lifeofdad.com/

    I believe that this may be a problem inside BuddyPress itself, as the function with the infinite loop is part of BuddyPress. The Javascript that makes the Ajax request is part of the BuddyPress Wall plugin, but from what I can tell the problem is in the aforementioned bp_legacy_theme_new_activity_comment() function.

    My specific concern is this loop:

    
    	// Load the new activity item into the $activities_template global.
    	bp_has_activities( 'display_comments=stream&hide_spam=false&show_hidden=true&include=' . $comment_id );
    
    	// Swap the current comment with the activity item we just loaded.
    	if ( isset( $activities_template->activities[0] ) ) {
    		$activities_template->activity = new stdClass();
    		$activities_template->activity->id              = $activities_template->activities[0]->item_id;
    		$activities_template->activity->current_comment = $activities_template->activities[0];
    
    		// Because the whole tree has not been loaded, we manually
    		// determine depth.
    		$depth = 1;
    		$parent_id = (int) $activities_template->activities[0]->secondary_item_id;
    		while ( $parent_id !== (int) $activities_template->activities[0]->item_id ) {
    			$depth++;
    			$p_obj = new BP_Activity_Activity( $parent_id );
    			$parent_id = (int) $p_obj->secondary_item_id;
    		}
    		$activities_template->activity->current_comment->depth = $depth;
    	}
    

    I’ve run XDebug locally to inspect the items in the loop as it is running. If some of the raw variable data is required, I can provide that.

    I have tried making some changes to the code in this loop to prevent the infinite loop from occurring. While successful in that endeavor with a few tweaks, the result is that the comment sent back through the Ajax response is the wrong comment, and a page refresh is still needed.

    I considered filing a bug in Trac, but I wasn’t certain whether something else could possibly be interfering.

    
    +--------------------------------------+--------+-----------+---------+
    | name                                 | status | update    | version |
    +--------------------------------------+--------+-----------+---------+
    | akismet                              | active | none      | 3.1.11  |
    | all-in-one-seo-pack                  | active | available | 2.3.7   |
    | appbuddy                             | active | available | 2.0.7   |
    | appcamera                            | active | available | 2.0.0   |
    | appfbconnect                         | active | none      | 2.3.0   |
    | apppresser                           | active | none      | 2.5.0   |
    | apppush                              | active | available | 2.1.0   |
    | appshare                             | active | none      | 2.1.0   |
    | appswiper                            | active | available | 2.2.1   |
    | bp-profile-search                    | active | none      | 4.5.2   |
    | buddypress                           | active | none      | 2.6.1.1 |
    | buddypress-activity-plus             | active | none      | 1.6.4   |
    | bp-moderation                        | active | none      | 0.1.7   |
    | buddypress-nocaptcha-register-box    | active | none      | 1.1.3   |
    | buddypress-toolbar                   | active | none      | 1.6.0   |
    | buddypress-wall                      | active | none      | 0.9.4   |
    | buddypress-xprofile-image-field      | active | none      | 2.0.1   |
    | category-posts                       | active | none      | 4.6.1   |
    | contact-form-7                       | active | none      | 4.4.2   |
    | contact-form-7-to-database-extension | active | none      | 2.10.20 |
    | cubell-themes-functionality          | active | none      | 3.1     |
    | envato-wordpress-toolkit             | active | none      | 1.7.3   |
    | hashbuddy                            | active | none      | 1.5.2   |
    | login-with-ajax                      | active | none      | 3.1.6   |
    | mailchimp-for-wp                     | active | none      | 3.1.11  |
    | nav-menu-roles                       | active | none      | 1.8.2   |
    | nextend-facebook-connect             | active | none      | 1.5.9   |
    | buddypress-media                     | active | none      | 4.0.4   |
    | vine-embed                           | active | none      | 0.2     |
    | wds-lod-automatic-friends            | active | none      | 0.1.0   |
    | wds-lod-base                         | active | none      | 0.1.0   |
    | wds-lod-bp                           | active | none      | 0.1.0   |
    | wds-lod-post-types                   | active | none      | 0.1.0   |
    | wds-lod-widgets                      | active | none      | 0.1.0   |
    | wordpress-importer                   | active | none      | 0.6.1   |
    +--------------------------------------+--------+-----------+---------+
    
    #256451
    danbp
    Participant

    @socialc, since 2.6 and the new Nav API, there is a much simplier possibility as the translation file to change nav item names.


    @marcono
    , try this; not sure you learned, below snippet is on Nav API examples i indicated previously. 😉

    function bpcodex_rename_group_tabs() {
    
        if ( ! bp_is_group() ) {
            return;
        }
       
        buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Group Discussion', 'buddypress' ) ), 'forum', bp_current_item() );
    }
    add_action( 'bp_actions', 'bpcodex_rename_group_tabs' );
    
    function bpcodex_rename_profile_tabs() {
     
          buddypress()->members->nav->edit_nav( array( 'name' => __( 'My Buddy Forums', 'textdomain' ) ), 'forums' );
          buddypress()->members->nav->edit_nav( array( 'name' => __( 'My Buddy Groups', 'textdomain' ) ), 'groups' );
     
    }
    add_action( 'bp_actions', 'bpcodex_rename_profile_tabs' );
    DrHariri
    Participant

    Hi,

    I was working on an updated theme for my blog on my staging server (WPEngine) but when I moved all files & DB to the production install, the slug for any Buddypress menu link I add changed from being:
    http://educadme.staging.wpengine.com/members/admin/groups/
    To
    http://educad.me/somaia-hosam-triggered-wp_login-1x/admin/groups/

    The “somaia-hosam-triggered-wp_login-1x” slug seems to be for an achievement custom post of BadgeOS.Tried disabling BadgeOS without success.

    I’ve read somewhere that a similar issue existed in some of the older versions where urls are leading to 404 errors but not sure if it is related.

    Anyone had a similar issue?

    Thanks!

Viewing 25 results - 126 through 150 (of 578 total)
Skip to toolbar