The first question is if you have overloaded any template files? These would be located in themes/your-child-theme/buddypress
If you have files in directories in there then switching the BP Theme could cause errors.
If not then it’s worth switching to Legacy just to see if it works. However that’s not really solving the issue and if you are getting JS errors the same errors could stop the Legacy theme from working too.
Nouveau is the latest BP Theme ans it came with extra customisation options in Customizer but if you have not used these then there’s very little difference between the two theme views.
Might be worth letting me know what those error are so I can advise further. The other option would be to deactivate all of your other plugins and see if that fixes the problem but it’s a bit longwinded if you have some errors – better to address those first.
Yes I have 2 errors. But Iam not a proffesional, Im scaring to crash all the site.
First should I use the Buddypress legacy if it’s resolve my problem?
What’s the differece between Legacy and Nouveau ? It very important if I change the template ?
ok, yes it’s Buddypress nouveau
If you look in Settings>>BuddyPress>>Options you can see which template is configured, it’s either Legacy or Nouveau.
Thanks for the link π
By the way, really are there no official documentation about it? Someone have to search all the BuddyPress code (ora a third party plugin code) trying to understand how to do it? π
Hi!
I am using BuddyPress with “SuitePlugins – Advanced XProfile Fields for BuddyPress”, and I created some custom fields. On the registration page I want to check if ex. “idofcertificate” custom field data exist in the database. If exist then throw an error, to only one account to be created with this “idofcertificate”. There is any resolution to do this?
Thank you very much!
I think you are talking about something not added by BuddyPress. You need to refer this to the specific plugin developer in question.
Hello and sorry for bringing up again this old topic, but now it can be closed and considered resolved. After some month of ignoring that issue I came back to take care for the concerned website and still had the same problem.
I saw that the related ticket is closed and marked as fixed. And I can acknowledge that the group pages are showing up on other installations, but on this particular site it consisted.
So I tried again with changing the theme, deactivating all plugins, reinstalling buddypress and so on without success to finally figure out that it has had something to do with my bp-custom.php. After deleting it, it works, the group pages are shown again. I created a new bp-custom.php copied the content from the old one and it still works. Don’t know what happened or where might be an unnoticed character.
Thanks for taking care, developing and maintaining Buddypress!
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
Hello! How I can add a notifications like in admin bar to my site menu. (I don’t use buddypress user widget and users don’t have access to the admin panel. My site menu use like user admin panel).
Hi. I noticed that the three options which BuddyPress offers in regards to field visibility is “Only Me”, “Friends Only”, and “Everyone”. If someone sets their preference of a field to “Only Me” or “Friends Only”, is it still possible for the admin to see it? If not, is there a method that I can implement to see it as an admin but to hide it to other members? Also, can I put this field into an additional column on the Users Admin Panel? Thanks for any assistance which you can provide me.
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 );
@sitesfromash All the fields you keep in base group, those will be visible at registration page
For details you can check https://codex.buddypress.org/getting-started/guides/modifying-the-registration-form/
It’s simple to do.
Create and publish a page entitled ‘Regional Groups’.
Go to the BuddyPress Settings: yoursite.com/wp-admin/admin.php?page=bp-page-settings
For the User Groups setting, chose ‘Regional Groups’ from the drop down.
Then click ‘Save Settings’.
BuddyPress will use the Regional Groups page.
And you can use the Groups page for whatever you want.
Dear,
I tried but it didn’t work. I made a bp-custom.php map in: wp-content/plugins/bp-custom.php –> In the map bp-custom.php i placed a file bp-custom.php
I used notedpadd ++ as a editor to place the code you give me and copied it to my server. Once installed, i can’t enter my site. It gives an error:
Warning: require …
Fatal error: require(): Failed opening .. class-buddypress.php on line 226
This looks strange, cause the code filled in notepadd ++ goes only to line 11.
I filled it in as:
<?php
function bp_activities_user_friends_scope( $retval ) {
if ( bp_is_activity_directory() ) {
$retval[‘scope’] = ‘friends’;
}
return $retval;
}
add_filter( ‘bp_after_has_activities_parse_args’, ‘bp_activities_user_friends_scope’ );
?>
did I do something wrong?
Big thank for youre help
Looks like that would be buddypress/groups/single/members-loop.php.
this line:
<?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) ) ) : ?>
Would be the one to change:
<?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) . '&type=alphabetical' ) ) : ?>
Hopefully that should work
There’s a plugin the converts a group to announce only, maybe that could be the basis of a fan page?
BuddyPress Announce Group
@hitesh4317 BuddyPress does not any inbuilt feature to display post listing at their profile. You might be using some 3rd party plugin.
BuddyPress does not manage what happens to posts when a user is deleted, I think that’s a WordPress function.
Anyone here? I have tried EVERYTHING! Running the tasks on Buddypress, eliminating the cache
If you are talking about activity posts…
The default behavior is NOT to remove the content, but to refuse to post it and show the error message and leave the content in the textbox.
Are you running some other code re moderation?
Anyhow…
Unfortunately, there are no hooks in the moderation functions.
So you would need to remove the hook that is added in buddypress\bp-activity\bp-activity-filters.php
add_action( 'bp_activity_before_save', 'bp_activity_check_moderation_keys', 2, 1 );
add_action( 'bp_activity_before_save', 'bp_activity_check_blacklist_keys', 2, 1 );
and replace it will a hook that leads to a custom function that does what you want.
@pratibhasvaksha You can check the following doc
Navigation API