WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a facebook authentication plugin installed. I also have a premium content plugin installed.

When a user authenticates with facebook they are logged in as a subscriber.

When a user signs up for premium content a unique user account is generated, separate from the facebook user account created already.

Is there a way to make both plugins share the same information for users? When a user signs up for premium content can they just use the facebook account, or if they are a user with no account just use the facebook authentication.

For clarification the reason I am trying to use facebook authentication is because 1:) it is easy for the user, and 2:) my hope is people are not willing to pass on there username and password to others if it is also their facebook login.

share|improve this question
Please link both plugins. Hard to say anything if we can't see the code. – kaiser Aug 27 '11 at 19:05

I think it is less likely to be done already - those are totally 2 different random plugins.

You might have to do your own coding

I'd go with database trigger, once something is inserted in one plugin table or the other, same data inserted in the other.

You might have to validate that usernames are unique in both table, something not easy to do code wise - so i guess you just add some standard string to the target table in the trigger

share|improve this answer

Your Answer


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.