• Does the plugin off the shelf handle custom user fields. If not can it be added?
    We have a few fields in our external database that we need to map to our WP users as custom/meta field values

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author tbenyon

    (@tbenyon)

    Hey @ejbrewer,

    It doesn’t at the moment but this is possible.

    There’s two ways this could be handled and I’m not sure which one is the best approach.

    1) Integrate in the admin area

    I could have a section where you could choose additional data that you want to fetch from the users table.

    I could then just store this as meta data for the user in the WP database where the phone_number field would become exlog_phone_number.

    2) I get the entire user row when I query to authenticate the user. I could add this information to the exlog_hook_action_authenticated hook that exists and you could handle storing the data you require yourself.

    Option one will take weeks to implement (just because it’s a bigger job that’ll require me to book out some time to do) and option two could be completed this week.

    What are your thoughts?

    Tom

    Hey Tom,

    I would go for a medium complex solution where you could allow for up to 10 custom fields in the plugin admin area. Just a simple 1 to 1 mapping. They are all blank to start with, but if filled in then allow remote columns to be mapped to WP custom meta.

    A few months ago I had to pull in remote address details to the local WP profile so I just hacked your plugin and hard coded it. Works really well! Thanks!

    Plugin Author tbenyon

    (@tbenyon)

    Really glad it’s working well for you and well done on the hack! ??

    I’ll leave this open as I will still try and get this feature added at some point ??

    Any chance you might share the hack please, need to do exactly that..? @rperrett

    @philengel Send me your email address and I’ll email it to you. I don’t believe PM is supported on this site?

    Appreciate it, thanks. [email protected]

    @rperrett could you share me with me too? my email is [email protected]
    Thanks!

    Plugin Author tbenyon

    (@tbenyon)

    Hey @rperrett,

    Be careful with asking for people’s personal details. I know the moderators sometimes close peoples accounts for it.

    However, really appreciate how helpful you’re being to the others ??

    Thanks!

    Tom ??

    I already made my change and it worked too. Thanks for the tips and the great plugin! ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Custom User Fields’ is closed to new replies.