Forum Replies Created
-
In reply to: Unable to Join Groups – Button Click Does Nothing
@kokiri, these are your demo groups created using a plugin or imported data, or are they newly created groups manually?
In reply to: Trouble with translation@adjunkten you can find pot file inside BuddyPress plugin language folder and to sync you also also use poedit tool
In reply to: How can I Change the Group SlugYou can change it from BuddyPress Url Setting https://tinyurl.com/24shwf9b
In reply to: Blurry Avatar and Cover Images@whyknott @thinlizzie avatar and cover images are not included as media attachments; the thumbnail generator plugins will not affect them. Avatar and cover image cropping are done when uploaded; any custom script will work only for new uploads.
In reply to: BP user @mentionImplement a debounce function to delay AJAX requests until the user has stopped typing for a specified duration. This will reduce the number of requests and improve responsiveness. The debounced function can be added to the input event in the “What’s new” section of the BuddyPress activity stream.
https://dev.to/zahoorcodes/benefits-of-delaying-ajax-calls-2f35In reply to: Groups type not working@traqbar It seems to be working fine. Try debugging using the default theme and only BuddyPress to find which plugin is causing the issue.
In reply to: Website error@garymorris, contact your BeSocial theme support to fix the issue.
In reply to: Custom DevelopmentFirst, ensure that BuddyPress is loaded and initialized before your plugin tries to call its functions. Since BuddyPress hooks its initialization to WordPress
bp_initaction, which typically fires on wp or init at a priority of 10, you should ensure your hook runs after this or directly onbp_initwith a lower priority (higher number).You can try to debug like this.
function my_custom_buddypress_function() { if ( ! function_exists('xprofile_get_field_data') ) { error_log('BuddyPress xprofile component has not been loaded yet.'); } else { // Your code here } } add_action('bp_init', 'my_custom_buddypress_function', 20);In reply to: Custom DevelopmentEnsure the BuddyPress plugin is active and add custom code in child theme functions.php or a custom plugin or using the code snippet plugin. xprofile_get_field_data is a valid function https://hooks.wbcomdesigns.com/reference/functions/xprofile_get_field_data/
In reply to: Custom Development@mattdotnet BuddyPress does not save profile field values inside the user meta
you can fetch them using the following approach and sync them with your requirement$field_name_gender = 'Gender'; // Replace with your actual xProfile field name $field_name_location = 'Location'; // Replace with your actual xProfile field name // Get the xProfile field values $gender_value = xprofile_get_field_data($field_name_gender, $user_id); $location_value = xprofile_get_field_data($field_name_location, $user_id);In reply to: No way of banning users?In reply to: Plugin installation failed@frankferr BuddyX is a theme, not a plugin. Add it to the ‘Add New Theme’ section.
In reply to: Group Forum Bug@planetearthlings You can delete those forums from the backend dashboard
All forums get listed under Forums menus.In reply to: Group functions triggering deprecation notice?@johndawson155, please follow the steps to deactivate other BP-related plugins at your staging. It’s possible that one of your active plugins contains deprecated code.
In reply to: BuddyPress custom plugin@hajnalmadar we already have a plugin for it https://wbcomdesigns.com/downloads/buddypress-private-community-pro/ please checkout our support they will give you sandbox link to test it.
In reply to: Sidebar not on members page@werny check with your theme support
@mervyntsao make sure to upload and activate the child theme after installing the parent theme.
In reply to: Templating in Buddypress 12.x@scordisian BP pages are not standard post-loop
to understand the flow, you can child template files for BuddyPress
You can find them inside the BuddydPress plugin at the following path
buddypress/bp-templates/bp-nouveau
You can modify all of these templates by using a child theme.In reply to: Hi~Any way to edit generated URLs or Pages@mervyntsao These are template-driven pages; if you have to modify them, you need to override template files inside the child theme and then make your changes
For legacy
buddypress/bp-templates/bp-legacy/buddypress/members/
for Nouveau
buddypress/bp-templates/bp-nouveau/buddypress/memberscan be overridden inside the child theme
your-child-theme/buddypress/members/index.php
In reply to: no forum displaying & strange URL@boomer68 check your permalink setting once, ideally,
it should be
Single Forums domain.com/forums/forum/single-forum-slug
Single Topic domain.com/forums/topic/single-topic-slugIn reply to: How to restrict media access@persoonlijkvaardiger Making all media urls private will impact the site; images and videos are also considered media elements. You can try https://wordpress.org/plugins/buddypress-docs/#description
@ajgetmilk01 check once with AWPCP support. They might not have released any updates to support BP v12. You can also try it once with BP v11.4 to double-check at your development site.
In reply to: Generating user pages@thinlizzie last stable version is v11.4, with classic features.
BP pages are moved to a Custom Post Type in BP v12
You can manage them directly from BP Options >> URLsWith BPv12, BP Classic can be used if you have other custom codes that are not ready with BPv12. Otherwise, you can use BP v12 without BP Classic.
@yatesa01 @juwaretu I checked the Repair member’s last activity data, and the function seems unusable. The function starts by clearing all existing last_activity records for members from the bp_activity table. It then attempts to insert new last_activity records into the same table, pulling data from the usermeta table. BuddyPress no longer saves the data into the usermeta last activity_data unless $use_legacy_query mode is enabled.
https://buddypress.trac.wordpress.org/ticket/9096 I have also submitted a ticket to get more insight into it.You can use the following code snippet to increase image dimension.
function wbcom_custom_cover_image_sizes( $settings = array() ) { $settings['width'] = 1920; // Your desired width $settings['height'] = 1080; // Your desired height return $settings; } add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'wbcom_custom_cover_image_sizes', 10, 1 ); add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'wbcom_custom_cover_image_sizes', 10, 1 );You can also add custom CSS for cover images to make them responsive and adapt to different screen sizes.
you can check https://codex.buddypress.org/themes/buddypress-cover-images/ for more details