BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25173
    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: 25173

    Thank you for confirming. I am glad it worked.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25173
    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: 25173

    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: 25173
    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: 25173
    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: 25173
    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25173
  • Keymaster
    (BuddyDev Team)
    Posts: 25173

    Hi,
    I am sorry, I did not see the reply earlier.

    1. The issue was a different from was selected in the settings instead of the one you had added for the posts.

    2. Please link me to the page causing it(The use’s profile on which it is happening). It could be either cache or some other issue, just need to confirm.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25173

    Hi Stephanie,
    Thank you for confirming.

    I am glad that it worked.

    Regards
    Brajesh