Hi everybody,
I am setting up a bbpress forum and am complementing it with buddypress community functionality.
Is there a way to let a user edit his short description within buddypress profile, without accessing the /wp-admin dashboard? I have completely restricted access to /wp-admin for subscribers, because I don’t want them to get in contact with it at all.
On the budypress profile startpage one can see the self description of a given user. Below it there is a link saying (roughly translated) “edit your description here”. The link is pointing to “/wp-admin/profile.php#description”.
What I need to achieve is subscribers be able to edit this self description visible on the user profile start page without accessing the wp-admin area. How can I achieve this?
Best regards, peter
They said that I should contact buddypress 😉
I figured it out… it was pretty simple in the end as all I did was change ‘role” to ‘role__not_in’ while putting the role I do want to show in $role
/**
* Exclude Users from BuddyPress Members List unless they have specific WordPress role.
*
* @param array $args args.
*
* @return array
*/
function buddydev_exclude_users_by_role( $args ) {
// do not exclude in admin.
if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
return $args;
}
$excluded = isset( $args['exclude'] ) ? $args['exclude'] : array();
if ( ! is_array( $excluded ) ) {
$excluded = explode( ',', $excluded );
}
$role = 'roletoshow';// change to the role to be shown.
$user_ids = get_users( array( 'role__not_in' => $role, 'fields' => 'ID' ) );
$excluded = array_merge( $excluded, $user_ids );
$args['exclude'] = $excluded;
return $args;
}
add_filter( 'bp_after_has_members_parse_args', 'buddydev_exclude_users_by_role' );
In my Buddypress Profile Fields there is the field “Name”.
It is mandatory and I cannot change the settings of it.
How can I change the privacy settings to “optional” and change the privacy settings like
“visible only to my friends”, “public” or “only for me”?
If you filter the activity stream (for instance show only updates), BuddyPress will also display other activity entries (for instance blog posts) when you click Load More at the end of the activity stream.
Can anyone replicate the issue with BuddyPress 6.1.0? Is this a BuddyPress bug?
Hi, that double opt in column is not part of buddypress. Usually these are relating to newletters or similar so you will need to check your other plugins.
Here is another approach. I dont like it at all because you cannot check a custom post type (you dont have the activity object). But it works.
function me_filter_bp_activity_item_id_before_save( $item_id ) {
if ( !empty(bp_get_current_group_id()) ) $item_id = bp_get_current_group_id();
return $item_id ;
};
add_filter( 'bp_activity_item_id_before_save', 'me_filter_bp_activity_item_id_before_save', 10, 1 );
BTW: The value 1 seems to be the default blog ID.
In this thread @imath explains that:
Custom Post Type Support for Activity
Hi Everyone,
This has not been resolved as of the current version I have which is 5.0. Looking at the changelog for all versions of Buddypress since version 5, I still see no reference to the 8093 ticket, indicating that it has not been addressed.
Any update on this issue would be great.
Hey, BuddyPress community! I’m looking for a way to display a random BuddyPress post.
Thank you so much!
This is my first time creating a topic so sorry if I did it incorrectly
I need to add a default value in some extended profile fields in buddypress registration form so this data is not repeated.
I have seen that I have to use the variable xprofile_set_field_data() but I don’t know exactly in which .php file to implement it and what code to put
As far as i can ee this diagram is out of date:
BuddyPress Database Diagram
It does not detail the message meta table at all!!
Can this be fixed?
And more particularly does each meta item relate to the message ID or the thread ID?
If your theme hasn’t changed buddypress too much then its most likely something like this:
body.bp-user.buddypress{
background: #000!important; /*change #000 to your color*/
}
Otherwise its usually a good idea to check with the theme’s customer service instead.
Sure. You could bundle them together by using an example shown here: https://buddypress.org/support/topic/get-member-type-broken/
Here’s the code
function using_mt_register_member_types() {
bp_register_member_type('Teacher', array(
'labels' => array(
'name' => __('Teachers', 'using-mt'),
'singular_name' => __('Teacher', 'using-mt')
),
'has_directory' => 'teachers', //url slug
));
}
add_action('bp_register_member_types', 'using_mt_register_member_types');
You’d then find that particular type in your-website.com/members/type/teachers/. You can add as many types as you’d like with the above example.
When generating the activity feed BuddyPress says whoever publishes a post “wrote” the post rather than using the assigned author and the assigned author is not credited with the post. This is an issue when one user, say admin, publishes a post written/assigned to User 2. The activity feed then says admin wrote the post when it should say “User 2” wrote the post.
The author name is showing correctly but the link is taken to the admin and also the post is not credited to the assigned author. There is no activity by the other users
I’m trying to create a searchable list of profiles which only displays profiles of a certain type. I tried using the BP Profile Search plugin, but it doesn’t seem like it can only search a certain profile type. I also tried using FacetWP, but that doesn’t seem to do anything. Is there any way to limit BP Profile Search to a single profile type, or achieve this some other way? (I’m using the latest versions of BuddyPress and WordPress)
I ended up using MediaPress Gallery Category with BuddyPress. It was working, but now when I select a category, I get no results. I have no idea what happened. Are there pages here to support the MediaPress Gallery Category plugin?
Hey Everyone!
Does anyone know if there is a way that we can disable public facing user profiles? We have noticed that the public facing user profiles use the user’s email address as their @ username and thus exposes the users email address.
Also, when we navigate to /members this exposes a list of all of our members. Is there a way to disable this as well?
We are using WordPress 5.4.2 the BuddyBoss theme with BuddyPress 5.2.0 and LearnDash LMS.
If anyone can point me in the right direction I would be eternally grateful!
<3 OBD.
Related request: https://buddypress.org/support/topic/buddypress-verified-feature-suggestion/
Has this feature been resolved? I’m also interested in a “verified account” badge or indicator for users.
If this is/can be not built into BP, is it compatible with this WP plugin https://wordpress.org/plugins/bp-verified-member/ or something similar else that is recommended?
Thanks!
Hi, manage signup takes you to the users who are pending on your site, so those who have filled in their details but have not followed the activation link they are emailed (assuming you haven’t turned this off). On my sites they don’t appear on the Dashboard Users page under all, there is a seperate pending option that should show you the same view as the manage signup link.
I think Vaparuns suggested fix is related to the actual members page that is visable to all users on your site.
Could you expand on your exact issue maybe with a screenshot? It is also useful if you could try some of the basic tests in https://buddypress.org/support/topic/when-asking-for-support-2/ and supply some of the additional details regarding plugins/themes.
Update: I created another members directory.
But now, I have a problem showing this directory properly. I created this directory by adding “include” on members-loop php file and I saved it as authors-loop (where I can see only users with role author) and I saved this new file under buddypress/members as well.
I can get this directory by creating a shortcode in functions.php and adding this shortcode on a new page called “authors” but I can’t get the same look as my default members directory (refering to members-loop php file).
It must be related to index.php file under buddypress/members but I dont know how to relate that to my new file.
Default members directory: https://ibb.co/9NNMhxS
My authors directory: https://ibb.co/phcHwk5
I want to create a simple Marriage Bureau Site in which people (who want to find partner) will fill a registration form to submit heir profile (the form will have extended fields). These profiles will then will searchable using the filters of the fields in the form. And I want to use more filters to search like Color, Education, Age, City, etc…
Now Please help how can I achieve this in buddypress, which themes? which plugins? etc
I have updated Kleo version VERSION4.9.120 to VERSION4.9.130
And Buddypress works as expected.
If anybody happen to use Kleo and using the previous version I used, please update it,
Hope it helps,
Thanks