• Hello team,

    Great idea and great plugin to sync WP and BP fields!

    I’m writing to report an issue I noticed. This plugin adds some info as an option of the Name field (field ID = 1), i.e. in the (wp_)bp_xprofile_fields table. Since that info is not really a field option, in the BuddyPress sense, it should go into the (wp_)bp_xprofile_meta table instead.

    I noticed the issue because a user reported an incompatibility between BP Profile Search and BuddyPress to WordPress Full Sync, and I found that it was caused by the added extra “option”.

    Thanks for looking into this, and keep up the good work!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Sergio De Falco

    (@sgr33n)

    Hi,
    Thanks for reporting. This kind of approach is also used by BuddyPress itself to store xprofile fields options. It’s used e.g. for the radio buttons values, so I developed this to work in a BuddyPress similar way.

    Thread Starter Andrea Tarantini

    (@dontdream)

    Ciao Sergio,

    Thank you for your reply.

    Just to clarify my thoughts, BuddyPress adds the field ‘options’, i.e. the values that a field can take, to the (wp_)bp_xprofile_fields table. As you noted that happens, for instance, with the radio buttons values.

    Other field data that are not ‘options’ (that are not possible values of the field) are added to the (wp_)bp_xprofile_meta table.

    Since BuddyPress to WordPress Full Sync adds something that’s not an ‘option’, i.e. not a possible value of the field, to the (wp_)bp_xprofile_fields table, my suggestion was to follow the BuddyPress way and move that information to the (wp_)bp_xprofile_meta table.

    Plugin Author Sergio De Falco

    (@sgr33n)

    Thanks Andrea, so I will take a look to this table to understand if it’s a better way to implement this. Anyway could you explain how BP2WP conflicts with BP Profile Search?

    Thread Starter Andrea Tarantini

    (@dontdream)

    Hi Sergio,

    The conflict is no longer an issue, because I modified the code on BP Profile Search to avoid it, and I’ll release the change with the next version.

    But I wished to share my thoughts with you – a conversation between programmers on the preferred way to use the BuddyPress tables ??

    Plugin Author Sergio De Falco

    (@sgr33n)

    So you’re the developer. Good!
    I totally agree ?? Keep in touch!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reporting an issue’ is closed to new replies.