Forum Replies Created
-
In reply to: Friend request
In wp-admin, go to Settings > BuddyPress > Components and make sure Friend Connections is enabled.
Then, on the members directory, you should see an “Add Friend” button next to each member.In reply to: Xprofile fieldIf you mean as an input, then it would be easier to add a JobTitle xprofile field.
You could write some code to sync the WP field with a BP field.
Or there are plugins in the repo that claim to sync those fields.In reply to: Xprofile field$jobtitle = get_user_meta( bp_displayed_user_id(), 'JobTitle', true);In reply to: How to use bp hooks?There is already a filter with that name:
apply_filters( 'bp_members_signup_error_message', '<div class="error">' . $error_message . '</div>' );
It passes only one argument. You need to write a custom filter hook with a different name.also – these are the forums for BuddyPress.
Please contact BuddyBoss for questions specific to their codebase.
This thread is now closed.In reply to: How to use bp hooks?You need to look at
themes\buddyboss-theme-child\functions.php : Line 48to see what arguments are passed in the filter hook and then change your function to include all those arguments.
And the ‘2’ in
add_filter( 'bp_members_signup_error_message', 'function_voornaam', 10, 2 );
needs to equal the number of arguments passed in the filter hook.In reply to: How to use bp hooks?Read the docs re how to use apply_filters.
Try:
add_filter('bp_members_signup_error_message', 'function_voornaam');In reply to: 404 on New TopicThese are the forums for BuddyPress.
The support forums for bbPress are here.In reply to: Display single activity on a wordpress page templateThe
"include"argument takes a bool or an array – not an integer.In reply to: Blank Buddypress Register pageOpen your browser’s inspection tool and then the console.
You will see all the errors indicated that bootstrap files are not being loaded.
You could try switching themes to see if it is a theme issue.In reply to: Is a BuddyPress user the same as a WordPress userYes.
In reply to: Is a BuddyPress user the same as a WordPress userYes.
In reply to: Profile Picture CompressionBuddyBoss is a fork of BuddyPress. The respective codebases have diverged, as all forks do.
If you are using BuddyBoss – you should use their support ticket system.In reply to: Redirect members directory to profile pageInstead of
https://mywebsite.com/membres/%USERNAME%/
Use:https://mywebsite.com/membres/me/
The use ofmewill redirect a logged-in user to their profile.In reply to: THERE HAS BEEN A CRITICAL ERROR ON THIS WEBSITE.Go to wp-admin and then Settings > BuddyPress. Under ‘Components’, make sure ‘Extended Profiles’ is checked and then save the settings.
In reply to: cannot create group programmaticallyPlease use the
codebutton when posting code.
If you are calling the function before BuddyPress has completely loaded, then it will not work.
Yourfunction_existscheck won’t work even if you include that file. That file contains functions that rely on the loading of the full groups component.In reply to: cannot create group programmaticallyFor a new group, leave
group_idempty.In reply to: Clean up private message spamThis may be helpful: https://wordpress.org/plugins/bp-messages-tool/
In reply to: Profil urlThis will send any logged-in user to their profile:
https://example.com/members/me/In reply to: Getting profile fields data?Please use the
codebutton when posting code here.
Try:bp_signup_usermetaIn reply to: Getting profile fields data?In reply to: BuddyPress and IPv6In reply to: Need help with edit profile and register formPlease send your questions to the creators of the buddyboss forms plugin.
In reply to: Need help with edit profile and register formSince you’re using the buddy boss forms plugin try using the BuddyBoss Platform instead of BP.
In reply to: Upload avatar directly from the folder via PHPTake a look at
buddypress\bp-core\bp-core-avatars.php
Starting ~Line 920,* Handle avatar uploading.
The ajax function shows how to apply user_id.The arguments are listed in
function bp_member_type_list
inbuddypress\bp-members\bp-members-template.phpThere is a $label argument that you could set to an empty string.