Home Forums Plugin Support WP User Frontend (Free Version) Buddypress Integration Add On Registration Issue

This topic is: not resolved

This topic contains 13 replies, has 3 voices, and was last updated by  Tareq Hasan 5 years, 6 months ago.

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #10153

    hughs
    Participant
    Post count: 42

    I am using Buddypress Integration Add On with WPUF Pro to build a custom registration form. The data that users enter on my custom form is saved and available in the user edit profile fields but not in member profile view fields. I am also using data from member fields to match members using a dating theme and because the user data is not saving correctly the matching doesn't work either.
    Why would the registration form data only be passed to the member profile edit fields but is not saved and visible to other members in the view profile tab.
    I posted this question a couple of weeks ago and thought it was not an issue but it turns out this is a problem for me.
    Thanks!

    #10181

    hughs
    Participant
    Post count: 42

    I have done more testing on this and am getting some strange results. When a new user creates a new profile the profile field data that is saved seems to be getting created in a separate db. Profile field data that should be visible in the Profile tab is not. When the user goes back to update their profile and then save it the field data changes and is then availalbe in the view profile tab.
    The same thing happens for my dating matching function. When users create new profiles their data works with users that have also created new profiles. But as soon as one of them updates their profile the matching function no longer works. Only users that have updated their profiles can be matched against other users that have also updated their profiles.
    So it appears that the registration form using BP Integration Add On is somehow saving duplicate data or using a separate db?
    Any solution for this?

    #10182

    hughs
    Participant
    Post count: 42

    A couple of questions to try and solve this:
    1. If I am using WPUF Buddypress Integration Add On to create a custom Registration form for users to register, do I have to make users update their profile from the Buddypress Integration Add On Edit Profile page? When users now update using the Buddypress Edit Profile tab on their profile it is creating the above conflict.
    2. Do the meta tags in the BP Integration Add On have to exactly match the BP user registration fields? And if so how to I find out what the BP fields are called?

    #10194

    Mahi
    Member
    Post count: 1555

    1. You don't have to allow users to edit their profile. It doesn't matter users registering by using WPUF form or default BuddyPress form if you insert same values with same meta_keys then all should be same.
    But, yes, you can allow users to edit their profile by using WPUF form edit options

    2. yes, they have to be same. I think it saves under same _usermeta. Check Your Database.

    #10215

    hughs
    Participant
    Post count: 42

    Hi Mahi,
    This simply isn't working. I think the problem with BP Integration Add On is that it is not really integrating with Buddypress. The plugin uses WP verification when the user clicks the Register button and the Meta Key fields don't match correctly with Buddypress fields. The only fields that are working are the WordPress fields. All Buddypress fields are not integrating. The data is passed through to Buddypress but not saved to the database.

    I would like some serious help with this or I would like to ask for my money back.
    Thanks

    #10218

    Mahi
    Member
    Post count: 1555

    Its been long time you are struggling with this! I can assure it works perfectly and tight.
    Its been tested with many sites. Perhaps you are missing something or doing something wrong.

    Please share your login details as private reply. I will setup 2/3 fields for you and you will see.

    #10219

    hughs
    Participant
    Post count: 42
    This reply has been marked as private.
    #10221

    hughs
    Participant
    Post count: 42
    This reply has been marked as private.
    #10227

    Mahi
    Member
    Post count: 1555

    Please allow me few times. I will update you once i finish testing.

    #10235

    hughs
    Participant
    Post count: 42

    OK thanks.
    I did manage to access the database using PHPMyAdmin and see that the Meta Key refers to two values: default_visibility and allow_custom_visibility. Perhaps these Meta Key values are what was missing?
    Thanks for taking a look.

    #10254

    Mahi
    Member
    Post count: 1555

    Hello hughs,

    You are right! Seems like it has some “Visibility” issue. Please stay with me. I will dig further and will update you soon.

    #10256

    hughs
    Participant
    Post count: 42

    OK thanks. Do you still need to use my site for testing. Because I usually have it in maintenance mode and would prefer to not have it public while I am building it. Just let me know.
    Also, as I mentioned the Meta Key controls the visibility of the site along with the Meta Values, so perhaps this is the issue. I would just need to know what to set for these values.
    Thanks
    Hugh

    #13592

    hughs
    Participant
    Post count: 42

    Hello Mahi,
    Did you ever make any progress with this problem. I have managed to get my registration form to work except for the date field. I managed to get the date to save to Buddypress and display in the profile but it doesn't work in the profile search when a user searches for members by age range. So it seems similar to the visibility issue I was having before.
    If the user goes into his/her profile and resaves the information then it works. Can you explain why information is showing up in the profile but doesn't seem to be saved to the databases? Any function I can run to resave user profile information?
    Thanks for your help!
    Hugh

    #13611

    Tareq Hasan
    Keymaster
    Post count: 2831

    I wasn't following the thread and might miss something.

    Here's how it works:
    1. In BuddyPress, when you create profile fields, they are saved in wp_bp_xprofile_fields table.

    2. BP doesn't store the users data in the standard wp_usermeta table, instead they saves it to wp_bp_xprofile_data table.

    3. As WPUF saves users profile data to standard wp_usermeta table, the BP integration plugin of WPUF maps those data between these two table.

    4. When you update or register via WPUF, it saves the data to wp_usermeta table as always. The integration plugin copies these data over to wp_bp_xprofile_fields table to stay in sync with BP. But when you update the profile in BP, it doesn't copy back to WPUF.

    5. About the visibility problem: BP saves visibility informations of each user fields to a user meta bp_xprofile_visibility_levels, which is stored as standard user meta in wp_usermeta table. But WPUF doesn't do anything with it. If you set the “Let members change this field's visibility” in BP, it should show the data in profile.

    As in WPUF, there isn't any visibility option, integrating those various visibility option in WPUF will not be that easy. In that case, in the integration add-on, I can set all the visibility to public.

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘Buddypress Integration Add On Registration Issue’ is closed to new replies.