-
Varun Dubey replied to the topic Unexpected behaviour with Friends List default sorting in the forum How-to & Troubleshooting 6 months, 3 weeks ago
@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…[Read more]
-
Varun Dubey replied to the topic Uploaded Profile Covers NOT proportionate to visible area in the forum Installing BuddyPress 6 months, 4 weeks ago
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 heightreturn $settings;
}
add_filter( 'bp_before_xprofile_cover_image_settings_parse_args',…[Read more] -
Varun Dubey replied to the topic Preview New Forum Post in the forum Installing BuddyPress 6 months, 4 weeks ago
@lesd1315 it’s more specific customization related to bbPress, you can override the form-topic.php template and add some additional custom codes.
-
Varun Dubey replied to the topic BuddyPress Settings->URLs User Groups accordion panel is missing in the forum How-to & Troubleshooting 7 months ago
@agajania The User Groups accordion panel will only be accessible once you have disabled BP Classic. With BP Classic, you will have access to page options, which is the older approach. If your theme and other plugins are compatible with BP v12, then you can safely deactivate BP Classic.
-
Varun Dubey replied to the topic Redirect after login in the forum How-to & Troubleshooting 7 months ago
@adjunkten might be some typo error in copy-paste, but the code is fine
You can use the Code Snippet plugin to use custom snippets. -
Varun Dubey replied to the topic Help with labels in the forum How-to & Troubleshooting 7 months ago
Code Snippet is for labels, not for main components; you can change component names from BuddyPress URL options
@thinlizzie -
Varun Dubey replied to the topic Redirect after login in the forum How-to & Troubleshooting 7 months ago
use the following code snippet
function redirect_to_activity_page_after_login($user_login, $user) {
// Redirect to the activity page after login
wp_redirect( home_url( '/activity' ) );
exit;
}
add_action('wp_login', 'redirect_to_activity_page_after_login', 10, 2); -
Varun Dubey replied to the topic How to access the pages in Elementor since version 12 in the forum How-to & Troubleshooting 7 months ago
@locker17 yes, you can create registration pages like that after disabling BuddyPress Registration
Please check following thread of disable BP registration https://buddypress.org/support/topic/how-to-edit-register-page-for-buddypress/#post-332492 -
Varun Dubey replied to the topic BP Extended – Post format falls apart in the forum How-to & Troubleshooting 7 months ago
@kmp2 It’s a theme-specific sidebar setting single blog; Customizer has the option to tune up the single post layout. https://youtu.be/htQG6xfTFzE?feature=shared
-
Varun Dubey replied to the topic BuddyPress Settings->URLs User Groups accordion panel is missing in the forum How-to & Troubleshooting 7 months ago
@agajania, Please ensure you have enabled the group component from the component tab.
-
Varun Dubey replied to the topic Member pages are empty after upgrading to version 12 in the forum How-to & Troubleshooting 7 months ago
@jgflores check once with your hosting; they can tell you more about possible 403 errors
regarding which theme you are using; try to test once with default https://wordpress.org/themes/twentytwentyone/ -
Varun Dubey replied to the topic How to access the pages in Elementor since version 12 in the forum How-to & Troubleshooting 7 months ago
@locker17, there is no option to edit BuddyPress Directory pages with Elementor like members Groups, Activity, or Registration.
For the login & 404 page, you can create a template for it, as it can be a regular page with an Elementor widget on it.For registration pages, that’s template driven, and you need to override the template to make those…[Read more]
-
Varun Dubey replied to the topic New Link-System on BP in the forum How-to & Troubleshooting 7 months ago
@werny seems to be working fine https://www.loom.com/share/8a63c19245f949859dcfac1d0ac80598
-
Varun Dubey replied to the topic Display output Xprofile checkbox in the forum How-to & Troubleshooting 7 months ago
@agorafolk You can achieve this by customizing your theme or creating a custom plugin to manipulate the output of the xprofile field data.
// Assume $user_id is the ID of the user and $field_id is the ID of your checkbox field
$selected_options = bp_get_profile_field_data( array( 'field' => $field_id, 'user_id' => $user_id ) );// Split the…[Read more]
-
Varun Dubey replied to the topic xprofile date output in the forum How-to & Troubleshooting 7 months ago
@agorafolk you can use the date_i18n() function provided by WordPress, which formats the date according to your WordPress installation’s language setting.
// Assume $member_birthday contains the birthday date from the member's profile in the format '1984-06-27 00:00:00'
[Read more]
$member_birthday = '1984-06-27 00:00:00'; // Replace this with the actual… -
Varun Dubey replied to the topic Prevent Buddypress Rewrite Rules on Non-Buddypress pages/posts in the forum How-to & Troubleshooting 7 months ago
One approach is to use the pre_get_posts action hook to check if the current page is a BuddyPress page using BuddyPress conditional tags like bp_is_directory() or bp_is_user(). If the page is not BuddyPress, you can remove or modify the rewrite rules.
-
Varun Dubey replied to the topic Member pages are empty after upgrading to version 12 in the forum How-to & Troubleshooting 7 months ago
To resolve a Server Error 403 Forbidden, consider these steps: First, refresh your permalinks in the server settings. Then, activate the debug log feature to identify specific error logs for deeper insight into potential issues. This could be due to incompatible custom code or plugins.
-
Varun Dubey replied to the topic Help with labels in the forum How-to & Troubleshooting 7 months ago
You can use the WordPress gettext filter.
This filter allows you to intercept and modify text before it’s displayed on the page. Here’s an example of how you can use it to change a specific string in BuddyPress:
/**
[Read more]
* Translates specific strings in BuddyPress to new values.
* This function hooks into the 'gettext' filter provided by… -
Varun Dubey replied to the topic Buddypress don't genere member page in the forum Installing BuddyPress 7 months, 1 week ago
Buddypress: v2.6.9 ?
the current version is 12.2.0
-
Varun Dubey replied to the topic Set activity stream to show excerpt only and thumbnails in the forum How-to & Troubleshooting 7 months, 1 week ago
@rodrigolzd, try this: https://wordpress.org/plugins/bp-activity-filter. You can disable a certain type of activity posting. This feature will only be effective on new activities, and will not remove existing ones. For example, when someone adds you as a friend or registers on the community.
- Load More
@vapvarun
Active 1 day, 16 hours ago