BuddyDev

Search

Replies

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

    Hi Jerome,
    Thank you for your patience.

    I am sorry, that is a bug. Please remove the code I supplied earlier(It was a mistake, I supplied code from profile data control and not moderator).

    The problem is happening because BuddyPress ignores the xprofile data and uses WordPress user meta data for these ignoring some of our actions. This happens when you use a mapped WordPress field(Biography, first name, last name).

    I am working on a solution, please expect a plugin update by 21st.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24829

    Hi Alex,
    Please make sure you are using maybe_serialize and not maybe_unserialize. The former will always return a serialized string.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24829
    Brajesh Singh on in reply to: BuddyBlog Pro – Groups – Activity Entries #54676

    Hi Nik,
    Thank you for the detailed report.

    I will look into it and get back to you by 22nd.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24829
    Brajesh Singh on in reply to: Help Needed with Profile Completion Plugin #54675

    Hi,
    I am sorry, It seems their support is not able to understand the question.

    Simplify the question for them:-

    – Is there a function to check if we are on thank you page. Like is_page(‘xyz’) but specific to memberpress? We need the code to check when we are on the thank you page, can you provide that?

    I believe they should be able to understand it and help with the code.

    regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24829

    Thank you for confirming. I am glad it worked.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24829
    Brajesh Singh on in reply to: Bulk upload? #54673

    Hi Kim,
    I am sorry, none of those are supported at the moment.

    BuddyPress(or our xprofile custom field types) do not have the ability to import profile field data.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24829

    Hi Fillip,
    I am sorry for the delay.

    Please take a look at these lines near line 112 in bp-friends-suggestions-pro-functions.php

    
    		if ( is_array( $value ) && ! in_array( $compare, array( 'IN', 'NOT IN' ) ) ) {
    			if ( count( $value ) === 1 && ! bp_friends_suggestions_pro_is_multi_valued_field( $rule['match_field_id'] ) ) {
    				$value = array_pop( $value );
    			} else {
    				$value = maybe_serialize( $value );
    			}
    		}
    

    I would suggest replacing them with if( is_array( $values ) ) { $value = maybe_serialize( $value );}
    and then using Like operator for match. That should make it work.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24829
    Brajesh Singh on in reply to: BuddyDev Friends Suggestions Pro “like/not like” #54658

    Thank you.
    I sincerely appreciate your kindness and patience with us.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24829
    Brajesh Singh on in reply to: Help Needed with Profile Completion Plugin #54657

    Hi,
    I am sorry, It still does not answer my question.
    How do I know which page to be skipped, what is the function/code that says this is the page, and I can hook to our code.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24829
    Brajesh Singh on in reply to: BuddyDev Friends Suggestions Pro “like/not like” #54655

    Hi,
    1. Thank you. I look forward to your feedback.
    2. I am sorry, that will not work. here is the reason.

    In order to suggest, we are searching for users in the database and we are using the profile field data from the current logged in user as the search term. The other users are unknown at this point, so reversal will not be feasible there. I will try to look into it in a bit more detail, I am sure we can have a solution for you if you are interested in editing the plugin(Can’t have it in the plugin as generalization of the matching is a problem). I will get back to you in next 24 hours on this one.

    3. I am sorry about that, even I skipped it while looking at your reply and posted without checking. I am sorry, the comment in our plugin mislead you. Will update that in next release.

    Regards
    Brajesh