Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have both Wordpress and Drupal installed on two domains. I want the users that register via Wordpress to be stored in Drupal's user table. Also, any login attempts should be checked against Drupal's database.

I don't have a lot of experience with either (though I'm fairly confident in my PHP skills). I am not looking for a way to mirror the users, but to actually tell Wordpress to use Drupal's database.

I think I have to rewrite the login and register methods on Wordpress. Am I wrong? And what's the best way to do this? (what files do I need to go into)?

share|improve this question
3  
If I were you, I'd split this into two questions - first ask at Drupal Answers your question about remote authentication (external site authenticating through Drupal). Once you know how that works, then come back here and dig deeper into specifics. It might be easiest to ignore WP's login functions altogether rather than attempt what is guaranteed to be a very messy integration between the two. –  SickHippie Mar 26 '12 at 20:16

1 Answer 1

Personally, I'd use the hook Register Form (run at the end of the default rego form) to capture the data then POST the data to a Drupal page and/or run the mysql query ond the Drupal database.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.