Using a non-wordpress database to manage comments
-
I’ve got a website with its own user database. I’m adding a wordpress blog to my existing site, and would like to use the name and password information from that other database in conjunction with the comments. So I’ve disabled wordpress registrations. I want it to be set up so that if a visitor is not logged in to the existing website, they can enter a name and email address to submit a comment, but if they are logged in to the existing website, the name that will be associated with their comment is the one retrieved from my other database.
What’s the best way to do this? I can pull the values for name and email from cookies, and I’ve written code to do this, but I wonder if there is a more robust way to do this.
- The topic ‘Using a non-wordpress database to manage comments’ is closed to new replies.