Replies
Hello Paul,
Sorry for the inconvenience. Please share your condition here so that I can check. In regard to ‘in’ or ‘Equal to’ operator. The First will be used in the case of a single value field whereas the second one will be used if you have multiple values for the field.
Please also let me know what is field type you are comparing in?.
Regards
RaviHello Darshan,
Please look at the following WordPress document that guides you in setting up corn jobs in WordPress. Please check and let me know if it helps or not.
https://developer.wordpress.org/plugins/cron/
Regards
Ravi- Ravi on July 7, 2021 at 4:51 am in reply to: Give social groups the ability to add their social links? #39451
Hello Omar,
Thank you for the posting. You can use Group’s description field to put the social media links of the groups. Are you looking for any other way of implementation. Please do let me know.
Sample image with a social link in the description: https://tinyurl.com/yfaj3msr
Regards
Ravi Hello,
Thank you for your clarification. Please use the following code:
// Do not check profile completion on none BuddyPress pages. add_filter( 'bp_force_profile_completion_skip_check', function ( $skip ) { if ( ! is_buddypress() ) { $skip = true; } return $skip; } );
Regards
RaviHello
An example with the filter. By default, the Profile Completion plugin redirects the user to the specific page under the Profile’s tab e.q. edit profile if not completed his profile field data. But with the following example code you can alter the redirect URL:
/** * Modify profile completion redirect URL * * @param string $redirect_url Redirect url. * @param bool $has_fields Has user completed all required fields?. * @param bool $has_photo Has user uploaded avatar image?. * @param bool $has_cover Has user uploaded cover image?. * * @return string */ function buddydev_modify_profile_completion_redirect_url( $redirect_url, $has_fields, $has_photo, $has_cover ) { $user_id = bp_displayed_user_id(); // Redirect to profile if not completed his required fields. if ( ! $has_fields ) { $redirect_url = bp_core_get_user_domain( $user_id ) . bp_get_profile_slug(); } return $redirect_url; } add_filter( 'buddypress_profile_completion_redirect', 'buddydev_modify_profile_completion_redirect_url', 10, 4 );
Regards
RaviHello
Thank you for posting. Please use “BuddyPress Profile Completion” as it is an advance version of “Force Profile Photo”.
This plugin provides a filter that allows you to filter the redirect URL. Please check the following:
apply_filters_ref_array( 'buddypress_profile_completion_redirect', array( $redirect_url, $has_fields, $has_photo, $has_cover ) );
You can use this to alter the redirect URL. Please let me know if it helps or not
Regards
RaviHello Kevin,
The plugin is updated no. Please upgrade to the newer version and check if the issue is resolved or not.
Regards
RaviHello Kevin,
I am looking into it and will update you at day end.
Regards
Ravi- Ravi on June 14, 2021 at 5:03 am in reply to: [Resolved] Change format of BuddyBlog Pro Post List #39118
Hello Nick,
Sorry for the inconvenience. BuddyBlog Pro by default does show a post’s excerpt on the user’s post screen. Is there any chance you have override the BuddyBlog posts template?. If not please let me know which posttype you are dealing with.
Regards
Ravi Hello Rick,
Sorry for the inconvenience. I have tested the plugin and checked when the user is not logged in plugin CSS not applying. I will fix this and let you know.
Regards
Ravi