• Resolved rjjacob

    (@rjjacob)


    Everything in your documentation points to a user’s table in a separate database but what if we have a separate user’s table with username, pswd, etc., stored within the same WP DB? Is that workable?

    I realize we could just as easily set up an additional DB on the same localhost but wondered about this point.

    Also, would/could this provide functionality for the opposite, i.e., user logs into their WP account and has access to cred forms and reports generated by another php-driven app?

    The page I need help with: [log in to see the link]

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

    (@tbenyon)

    Hey @rjjacob,

    You can definitely use the plugin to login using a custom table in the WP database. You just fill out the details for that db in the settings.

    Regarding your question about the reverse; a few people have asked about accessing additional data from the ‘external db’.

    This is something that would be so individual to everyone’s usecase and would require individual sql queries to be written and then the data that was returned would need to be handled and piped in to a custom view. This is very much something that you need to have some development experience to be able to do.

    I have felt before that if you’ve got the experience to be able to render the view, you can easily write the way to connect to the db and get the data.

    However, you’ve made me think that it may be useful if I wrote a function that you can just pass an sql query string to that will do the rest of the query to the external db for you. It’s not saving developers a lot of time but if you think you would use this, I’ll take the time to add the functionality. Let me know if this is the case.

    Thanks @rjjacob,

    Tom

    Thread Starter rjjacob

    (@rjjacob)

    My apologies for not responding sooner after your quick and helpful reply. The php application I was trying to integrate is displayed in iframes and the way I handled the issue was to pass the WP user ID to the frame and that accomplished what I needed. However, I have another project where I will be using your plugin as it’s perfect for it.

    Thanks again for your attention.

    Plugin Author tbenyon

    (@tbenyon)

    Hey @rjjacob,

    Sounds like you’re all sorted! Please let me know if you have any other questions.

    I would be SOOOOOOOO grateful if you could take the time to write a 1 sentence review?

    Thanks,

    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Usage Question’ is closed to new replies.