Replies
Hi Irene,
Thank You for the details. I have checked the sites and found there are multiple elements having same id and some javascript throwing errors in conosole. Please deactive all other plugins except BuddyPress and BuddyPress Profile Completion and switch to default theme. There might be chances that your theme or any other plugin is conflicting with the functionality.
Regards
Ravi- Ravi on May 13, 2019 at 4:35 am in reply to: [Resolved] Make Buddypress profile completion to Redirect to specific "profile field group" #22956
Hello Tosin,
Thank you for the acknowledgement. I am glad it worked.
Thank You
Ravi Hi Irene,
Sorry for the inconvenience, You can share the image here using https://imgbb.com/ upload the images and share the links.
Regards
RaviHello Jeremy,
Sorry for the inconvenience. We had a JS error in the plugin and that could cause it. Please update and clear your browser cache. Then give it a try? Does it work let me know?.
You download the latest version for “BP Simple front end post”
https://buddydev.com/plugins/bp-simple-front-end-post/
Regards
Ravi- Ravi on May 7, 2019 at 4:42 am in reply to: [Resolved] Issue with profile photo (BuddyPress Profile Completion) #22847
Hello Imborx,
Sorry for the inconvenience, Please let me know which plugin are you using for FaceBook login. Yes, BuddyPress has a function name “bp_get_user_has_avatar( $user_id )” to check weather user has uploaded avatar or not. But with FaceBook Login it might keep FaceBook profile url as avatar.
Regards
Ravi - Ravi on May 6, 2019 at 10:01 am in reply to: Change Cover photo in Mediapress/Community Builder Theme #22820
Hi Samson,
Please visit Your Profile-> then “Change Cover Photo”.
Do you see this in the menu or not?If not, It is most probably disabled and you will need to enable it by visit
Dashboard->Settings->BuddyPress->Options and enable cover upload for userThank You
Ravi - Ravi on May 6, 2019 at 8:44 am in reply to: [Resolved] Make Buddypress profile completion to Redirect to specific "profile field group" #22817
Hi,
Please download the latest version of plugin from github repo. You can download from the following url:
https://github.com/buddydev/bp-profile-completion
and use the following code in your bp-custom.php file.
add_filter( 'buddypress_profile_completion_redirect', function( $redirect_url, $has_fields, $has_photo, $has_cover ) { if ( ! $has_fields ) { $user_id = get_current_user_id(); $group_id = buddydev_get_first_empty_required_group_id( $user_id ); $redirect_url = bp_core_get_user_domain( $user_id ) . bp_get_profile_slug() . '/edit/group/' . $group_id; } return $redirect_url; }, 10, 4 ); function buddydev_get_first_empty_required_group_id( $user_id ) { global $wpdb; $table = buddypress()->profile->table_name_data; $required_fields = BP_Profile_Completion\Core\BP_Profile_Completion_Helper::get_required_field_details(); // No required field, so profile should be considered complete. if ( empty( $required_fields ) ) { return null; } $required_field_ids = wp_list_pluck( $required_fields, 'id' ); $fields_list = '(' . join( ',', $required_field_ids ) . ')'; $query = $wpdb->prepare( "SELECT field_id, value FROM {$table} WHERE user_id = %d AND field_id IN {$fields_list}", $user_id ); $profile_entries = $wpdb->get_results( $query ); $fields = array(); foreach ( $profile_entries as $profile_entry ) { $value = maybe_unserialize( $profile_entry->value ); if ( empty( $value ) ) { continue; } $fields[ $profile_entry->field_id ] = $profile_entry->value; } $not_found_groups = array(); foreach ( $required_fields as $required_field ) { if ( isset( $fields[ $required_field->id ] ) ) { continue; } $not_found_groups[] = $required_field->group_id; } $grp_table = $wpdb->prefix . 'bp_xprofile_groups'; // Now, query, order by soredr $grplist = '(' . join( ',', $not_found_groups ) . ')'; return $wpdb->get_var( "SELECT id FROM {$grp_table} WHERE id IN {$grplist} ORDER BY group_order ASC limit 0, 1" ); }
Thank You
Ravi - Ravi on May 6, 2019 at 5:50 am in reply to: [Resolved] Join group notifications on public group #22809
Hello Fabianski,
Thank You for posting here. Please let me know are you talking about group join activity updates or local notifications or email notification to users. Please also tell me are you using any kind of group notification plugin?. As core BuddyPress Plugin does not provide any option to deactivate notification.
Thank You
Ravi - Ravi on May 6, 2019 at 5:35 am in reply to: Change Cover photo in Mediapress/Community Builder Theme #22808
Hello Samson,
Thank you for posting here. Please help me to understand are you taking about Gallery cover or Profile cover.
Thank You
Ravi Hello Buko,
By media per page I am assuming you are talking about MediaPress. In MediaPress there is an option in admin setting where you can assign how many media to list on single galley page. You can find the option under MediaPress -> Settings -> Theme tab look for “How many Media per page” this.
Thank You
Ravi