Search Results for 'change buddypress menu'
-
Search Results
-
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” tabsCould anybody else can support me on this? Any support would be highly appreciated!!
Wordpress version 4.6
Buddypress version 2.7.4Thanks,
piyosukeHello,
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..
Hey everyone nice to see you.
Ive setted up my WP Page a few days ago and installed BuddyPress today.
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
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:
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.
Topic: BP Profile Does Not Display
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.
Topic: Plugin Language Translation
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:
Regards
Kelvin
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!!
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 codeWP 4.4.5
BP 2.6.2Understand 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)
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!
Hi!
My WordPress version is : 4.5.3
My BuddyPress version is : 2.6.1.1I 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.
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
Under certain circumstances, there is an infinite loop inside the
bp_legacy_theme_new_activity_comment()
function. Specifically, when all of thesecondary_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 | +--------------------------------------+--------+-----------+---------+
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!
- WordPress