Replies
Hello Mark,
Welcome to the forum. Function with name “bp_core_screen_signup” handle the registration process. Please take a look and let me know if you need further help.
Regards
Ravi- Ravi on November 19, 2020 at 4:58 am in reply to: [Resolved] Show the group type of group in a map by bindPopup #34566
Hello Alejandro,
Thank you for posting. To get the type of group BuddyPress has a function with name ‘bp_groups_get_group_type’. Please take a took.
Regards
Ravi - Ravi on November 19, 2020 at 4:42 am in reply to: [Resolved] Username changer allows spaces in username – how can this be blocked #34565
Hello Gordon,
Thank you for the acknowledgment.
Regards
Ravi - Ravi on November 18, 2020 at 8:18 am in reply to: [Resolved] Can I separate the users' blog posts from the main site (BuddyBlog)? #34548
Hello,
Thank you for the acknowledgment. Marking as resolved.
Regards
Ravi Hi Marcel,
Thank you for your reply.
Since we are scaling the images using CSS, Please make sure the scale factor is same. In other words, Please use a square image. They will look better. Also, I will recommend something like 128×128 size at most if we are going for 64px.
Please let me know if that looks good or not.
Regards
Ravi- Ravi on November 17, 2020 at 4:29 pm in reply to: [Resolved] Can I separate the users' blog posts from the main site (BuddyBlog)? #34526
Hello,
Thank you for posting. Try using the following code.
/** * Exclude user posts * * @param WP_Query $query Query object. */ function buddydev_exclude_user_posts( $query ) { if ( ! is_main_site() || ! function_exists( 'buddyblog' ) ) { return; } if ( ! $query->is_main_query() ) { return; } $meta_query = $query->get( 'meta_query' ); if ( $meta_query ) { $meta_query[] = array( 'key' => '_is_buddyblog_post', 'value' => 1, 'compare' => 'NOT EXISTS' ); } else { $meta_query = array( array( 'key' => '_is_buddyblog_post', 'value' => 1, 'compare' => 'NOT EXISTS' ) ); } $query->set( 'meta_query', $meta_query ); } add_action( 'pre_get_posts', 'buddydev_exclude_user_posts' );
Let me know if it works or not.
Regards
Ravi Hello Marcel,
Try using the following code.
.bp-user-badges-badge-list img { width: 64px; height: 64px; }
It will fix the issue
- Ravi on November 17, 2020 at 4:22 pm in reply to: [Resolved] How to Disable all BuddyPress Emails via PHP #34524
Hello Jkk,
It will disable all WordPress emails.
Regards
Ravi Hello Marcel,
I have tried above mentioned CSS rule with the kleo theme and it is working for me on directory page. Are you facing issue on members directory or single member page?.
Regards
Ravi- Ravi on November 17, 2020 at 4:49 am in reply to: [Resolved] How to Disable all BuddyPress Emails via PHP #34516
Hello Jkk,
Try the following code.
if ( ! function_exists( 'wp_mail' ) ) { function wp_mail($to, $subject, $message, $headers = '', $attachments = array()) {} }
Regards
Ravi- This reply was modified 4 years, 8 months ago by
Ravi.
- This reply was modified 4 years, 8 months ago by