• Resolved pradhansb

    (@pradhansb)


    Hello, and thank you. I am a newbee in db management. I am working with a plugin (Bookly) which maintains a separate table of users independent of the WP_users table. This is only accessible when a user “registers” while using the plugin. IOW, the Bookly form populates both the WP_Users and the Bookly_Users Table. This actually occurs on the 3rd step of using Bookly. I’d like to create a registration at the very beginning of the process either using a Registration plugin, or as I have seen, using WP Data Access.

    So the question is, can WP Data Access both register AND at the same time append a line to the Bookly Users Table.
    If so, I am on my way!
    Thanks for your help and advice
    Pradhan

    • This topic was modified 2 years, 8 months ago by pradhansb.
    • This topic was modified 2 years, 8 months ago by pradhansb.
    • This topic was modified 2 years, 8 months ago by pradhansb.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi Pradhan,

    You can use the wpda_after_simple_form hook in your WP Data Access project to synchronize data. Using this hook is documented here:
    https://wpdataaccess.com/2020/01/29/action-hook-wpda-after-simple-form-to-add-custom-elements-to-end-of-data-entry-forms/

    From there you update the Bookly table. Maybe you can ask the Bookly developers if they have an interface?

    Does this help?
    Peter

    Thread Starter pradhansb

    (@pradhansb)

    Hi Peter,

    Thanks so much for your very prompt reply. And yes, I am sure it helps but as mentioned, I am a newbee so I will need to do some testing on a test site before I implement. It will be a little bit of a learning curve for me, but what the heck, I like learning new things!

    I suggested to Bookly that they make a front-end registration add-on to do precisely this. They seem to be a responsive group but my suggestion is 1 of hundreds they are bound to receive. That’s why I though to do it on my own.

    Can you use a registration plugin to deal with the registration side, and then add the necessary code upon submitting to sync to the bookly table, or is it better to build my own registration form as you suggest in your video. Doing that may serve as a good self-tutorial for me.

    Pradhan

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi Pradhan,

    >>> Can you use a registration plugin to deal with the registration side, and then add the necessary code upon submitting to sync to the bookly table, or is it better to build my own registration form as you suggest in your video.

    I think there are registration plugins that are able to deal with this. But you will need to add your own logic to write back to the Bookly table. I think it’s beter to check if they can do something for you. Maybe there is a Bookly hook you can use? Or other options? Ask them… ??

    Best regards,
    Peter

    Thread Starter pradhansb

    (@pradhansb)

    Thanks again Peter.
    Yes, I did ask them and its now on their future feature request list. I would think it would be a popular item so maybe they will get to it sooner rather than later.

    Again, thanks for your prompt reply.

    Oh…and I’ve enjoyed watching your videos!

    All the best,
    Pradhan

    Thread Starter pradhansb

    (@pradhansb)

    In my spare time, I am watching your videos on your plugin. I just want to offer my complements. Your plugin represents a LOT of work. It is well planned, and very impressive.

    No questions here…just a complement!
    Pradhan

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Thank you Pradhan! ?? There is still a lot to do… ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP Registration AND simultanously append another Table?’ is closed to new replies.