• Hi Joshua, this is very similar to what I am looking for, but I’m wondering if this may be overkill for me. My situation: I have a website with a guest and member side. To access the member side the user must have an account and log in. This database is on the same server as my WP installation, but was put together before I started infusing my site with WP elements outside of their “template blog” environment. So there is NO reason whatsoever, so far, that a member logged in has a reason to leave a comment, or post a reply, or anything…asside from a contact form there is nothing for them to input data.

    I found a polls application that can log usernames of those answering polls. I’d love to use that feature to keep track of what users vote for what items in that poll application. I don’t want my users (over 1,000) to have to create new logins with wordpress just for the sole purpose of making it possible to log their entries in the polls.

    On the member side of my site, after the user logs in, there is a session created and a cookie. Do I need your External Database Authentication Reloaded plugin just to make it possible for my polls application to log the user data from my other user database?

    Or, is there a simple way of modifying the polls code to use the user data in the user session that I created? I’m no expert in PHP and higher coding languages, but I can follow along and do some more research if you can point me in the right direction.

    https://www.ads-software.com/extend/plugins/external-db-auth-reloaded/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Joshua Parker

    (@parkerj)

    If you want to make it easier on yourself, this plugin might be the best bet.

    Thread Starter nxnla

    (@nxnla)

    Hey Joshua, I have the plugin configured correctly now. I have a question for, hopefully, the last step of what I’m trying to do.

    I still need to have plugins in WP get the logged in users’ first/last name when they log in using the external database login function.

    I’ve not dug into the WP Codex much and will take me more time to learn it (which I intend to do, but I just don’t have the time it would take to get up to speed before my issue needs to be mended).

    How do I pass my external database user info (after logging in with my external db login function) to the WP_User object so it can be referenced by the wp plugins that need to log that user info?

    Plugin Author Joshua Parker

    (@parkerj)

    Hmmm, maybe this is something I should look into with this plugin. It only looks at the users table and not the usersmeta table. I think the best way to handle this is to mysql query in the plugin to use a join. I will have to test this out to be sure.

    Thread Starter nxnla

    (@nxnla)

    Hey Joshua, I appreciate the response. I also have a budget to put toward the solution to my problem. If you are interested in helping me get this worked out please let me know. There are some other plugins I’d like to use that would also need to that user data from the external database, so if you know of a way of coding this that would cover future plugins that would be great.

    I really wish I hadn’t gone down the road of a separate login process outside of the WP platform. If trying to butcher the code is going to cause future problems I will probably just import all the user data into the WP database and have all my users re-register/confirm registration.

    Anyway, please let me know if you are willing to help, and what your rate will be.

    Thanks
    Nick

    Plugin Author Joshua Parker

    (@parkerj)

    If you still need help, let’s talk over email. Send me an email through this contact form: https://www.7mediaws.org/company/contact/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Overkill for my situation?’ is closed to new replies.