Log:
PHP Warning: reset() expects parameter 1 to be array, boolean given in /site_path/wp-content/plugins/buddypress/bp-core/bp-core-template.php on line 3034
Code: https://buddypress.trac.wordpress.org/browser/trunk/src/bp-core/bp-core-template.php#L3034
BuddyPress 4.2.0
WordPress 5.1.0
PHP 7.2.15-1+ubuntu16.04.1+deb.sury.org+1
Yep but it would require custom code I would have said. There’s a BuddyPress filter called bp_current_user_can and a WordPress filter map_meta_cap you could hook into these, determine the user and situation and choose to allow the action accordingly.
Hi there, I can confirm this as an issue, would you like to raise this on trac to get it fixed?
BuddyPress uses the WordPress login page so any WordPress login page customiser will do that for you. Most have much the same features so just find one that’s still being maintained.
If I go to the new Profile page that I created through my site after installing BuddyPress, and then I hit the camera icon on my avatar, it opens this page: https://www.celebritywotnot.com/members/c-claire/profile/change-avatar/ which displays the message: “OOOPS, SORRY! WE COULDN’T FIND IT! You have requested a page or file which doesn’t exist”
Many apologies if there is something I’m missing here. I assumed this was part of the extended profile option in Buddypress but perhaps its through WordPress’ own Users or Discussion section in which case, I’m still not sure what I’m doing…
I just tested the buddypress installation on my site http://www.celebritywotnot.com. It’s all up and working but, when I try and edit the avatar on my profile, I get redirected to a page that reads: OOOPS, SORRY! WE COULDN’T FIND IT
Wordpress 5.1
BuddyPress 4.2.0
Hi,
Thank you for reply.
I tried as you mentioned but I’m not understand about how to use the ‘UserName’ in WordPress menu.
BuddyPress allowed (Profile > Edit screen ) only below links to add into the WP menu directly.
https://prnt.sc/mqtrvs
Thank you!
WordPress 5.1
BuddyPress version 4.2.0
I created my WordPress website using a premier theme called WPLMS. I translated most of the website plugins by loco translation but I am facing issue with BuddyPress plugin, it is not translating the registration page and other related pages such as activating the account and so on… even though I manually translated the required texts into Arabic, I can see that it only works with the profile account page. And since it translating the login form which is part of BuddyPress plugin, I think there is an issue somewhere in BuddyPress. wish someone gets me to the right solution. thanks in advance
Hi,
I’m trying to hide ‘View’ tab under the ‘Profile’ menu and make ‘Edit’ tab as default view. I tried several ways and referred few articles. But still I couldn’t find a solution.
Please refer this snapshot: https://prnt.sc/mqdizd
If this is not possible, can we insert direct menu link to ‘Edit’ tab in WordPress Menus section? So, I can hide ‘View’ tab using css.
Ex: https://example.com/profile/%5BUSERNAME%5D/profile/edit/
Thank you!
Hi!
There’s an error on BuddyPress profile page:
content.js:3 E_NOTICE Undefined index: Полное имя – /wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php:159
#44 /wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php:139 – BP_Core_User->populate()
As I can gues – it related to xprofile fields. It seems that I removed the field ‘Полное имя’ that was created before on the Users Profile Fields page.
And now php string:
$this->fullname = esc_attr( $this->profile_data[$full_name_field_name][‘field_data’] );
in plugins/buddypress/bp-core/classes/class-bp-core-user.php
causes an error.
Could you help me?
WordPress version 5.1
BuddyPress Version: 4.2.0
Site URL: https://test.mc21academy.ru/
Thanks for the reply.
They are not in the loop because I’m using a plugin, Ajax Load More to render users and it creates it’s own loop using the WP_User_Query not buddypress methods.
Appreciate the direction to the BP_XProfile_ProfileData method. I’ll check this out.
Hi,
I’ve changed and renamed already successfully the upload path for my WP upload folder with the Upload Url and Path Enabler plugin and i wonder if there is a way to do the same with BP.
Thank you in advance
In WordPress each user role has a number of assigned capabilities, I’m looking for you to tell me a capability that the Member has that the visitor does not.
Possibly a good template plugin would be https://wordpress.org/plugins/bp-xprofile-rich-text-field/ it’s got the filters and actions you’d need. It’s not straightforward, you’d need to extend the BP xProfile Field Type class in order to have it as part of the xProfile field type collection by the looks of things. I agree it would be nice to have it documented but we have what we have. Maybe one of you can strip down one of these plugins and write it up for the rest of us?
The other option is to ask either of the collection plugins to add your type to their collection?
Member is not part of WordPress’s default roles, so you must have created this using the user role editor you posted the link to. When you did that, you must have added some extra capabilities above the default subscriber, it’s one of those extra capabilities that we need.
A general question, not related to a live site at this point, just something I’m playing with.
With a fresh WordPress + BuddyPress install, under Users > Profile Fields, I’ve created a new field called Last Name.
New registrations are capturing the data correctly and it is stored in wp_bp_xprofile_data.
Is there any easy way of also getting that value into wp_usermeta.last_name as well?
Thanks in advance.
Hi, community I need your help.
I’m using BuddyPress + WordPress multisite.
The current situation is this:
When a user is invited to join a blog he gets an email via wp_mail. He/she don’t get any notification via BuddyPress about that.
I want to also add the mail which WP send to user to the BuddyPress as BP_message so the user can accept the blog invite from his/her BP inbox.
Do you have any ideas?
Thanks in advance
Lena
Untested, but try:
function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
// New custom notifications
if ( 'custom_action' === $action ) {
$custom_title = "You have new custom notification";
$custom_link = get_permalink( $item_id );
$custom_text = "You have a new custom notification";
// WordPress Toolbar
if ( 'string' === $format ) {
$return = apply_filters( 'custom_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link );
// Deprecated BuddyBar
} else {
$return = apply_filters( 'custom_filter', array(
'text' => $custom_text,
'link' => $custom_link
), $custom_link, (int) $total_items, $item_id, $secondary_item_id );
}
return $return;
}
}
add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 20, 5 );
We’ve had a few requests for Fan Page functionality recently so I took a look at the announce group code to see what changes could be made to turn it into a fan page plugin. Other than changing the name to fan page I also noted that it did not prevent group members from creating new topics in the forum so I’ve forked the plugin and added those changes. Hopefully that will deliver something like what you are looking for. I’ll submit it to WordPress.org and let you know once it’s live.