BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24843
    Brajesh Singh on in reply to: bug BuddyPress Profile Data Moderator #54559

    Hi Jerome,
    The code will work if you put it in functions.php in your active theme/or child theme. Make sure you are not checking as site administrator as it won’t stop site admins form viewing the data.

    Also, can you confirm that the plugin is hiding the data from their actual Profile view(Under the header, profile tab) without this code too?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24843
    Brajesh Singh on in reply to: bug BuddyPress Profile Data Moderator #54557

    Hi Jerome,
    Thank you for your patience.

    I had a look at the theme’s code.

    There is a function hardcoded in the theme header that prints this data(You select these fields in the Theme Settings page(BuddyPress members & Profile) section.

    There is no good way to fix this issue in the header.

    There is a solution to use the following code

    
    add_filter( 'xprofile_get_field_data', function ( $values, $field_id, $user_id ) {
    
    	if ( ! function_exists( 'bp_profile_data_control_is_field_visible' ) ) {
    		return $values;
    	}
    
    	if ( bp_profile_data_control_is_field_visible( $user_id, get_current_user_id(), $field_id ) ) {
    		return $values;
    	}
    
    	return '';
    }, 10, 3 );
    
    

    In child theme’s functions.php but it is not very efficient as it will apply to all the fields being fetched(including Display name), currently we were only applying to profile loop.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24843

    Hi,
    Thank you for using the plugin.

    You will need to reach out to the other developer to understand the issue/have a solution.

    This plugin does not do anything special. It simply detect scroll and simulates click on “Load More” button. Here is the js code.
    https://github.com/sbrajesh/bp-activity-autoloader/blob/master/_inc/activity-loader.js

    I am sorry, I don’t have any idea why that would not work with some plugin.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24843
    Brajesh Singh on in reply to: Memberpress Free Plan #54555

    Hi,

    There is a filter bp_force_profile_completion_skip_check that you can use to skip check on any screen. You will need to reach out to the membership plugin for what test you need to do for it. If you return true with this filter on a page, It will not redirect from that page.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24843

    Sorry, I posted reply of another topic here by mistake. I will be following up soon.

  • Keymaster
    (BuddyDev Team)
    Posts: 24843

    Hi Philipp,
    Thank you for using the plugin.

    I am sorry for the inconvenience. The most probable reason for this is Post form not being associated with post type.

    Please visit Dashboard->BuddyBlog->Settings and click on “Post” (Or your post type) tab. Please search for “Post Form” and select the form you have created earlier and save the settings.

    That will fix it. Please let me know if it works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24843

    Hi Stephanie,
    Hope you are doing well.

    I am sorry for the delayed reply.
    No worries about the forum selection.

    It is most probably related to User Name changer plugin and the new BuddyPress URI parser changes. Please allow me to look into it and release a solution in 24-48 hours.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24843

    You are welcome.

  • Keymaster
    (BuddyDev Team)
    Posts: 24843
    Brajesh Singh on in reply to: Anonymous plugin – Activity as friend #54539

    Hi Katrine,
    Hope you are doing well.

    I am sorry for the delayed reply, we have been away form BuddyDev for a bit.
    I will be releasing an update within next 48 hours with a fix for the anonymous activity.

    I am sorry, I won’t be able to offer any assistance with custom privacy as I am deeply invested in a whole alternative solution.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24843
    Brajesh Singh on in reply to: BP Deactivate Account – Bugs #54538

    Hi Katrine,
    Thank you for the reply and understanding.

    Hope you are doing well. That’s the limiting we have to face as 3rd party plugin developers when the base platform does not offer/limit flexibility. I am sorry that we could not help much with it and I am hoping that we will do something about these for sure in future.

    Regards
    Brajesh