FriendsOfSymfony / FOSFacebookBundle

NOT MAINTAINED - see https://github.com/hwi/HWIOAuthBundle
322 stars 140 forks source link

[Question] Different user types #301

Closed Sydney-o9 closed 10 years ago

Sydney-o9 commented 10 years ago

I am using a discrimination table for my users:

Therefore a user is either a Buyer or a Seller.

Is it possible in that case to use FOSFacebookBundle and ask what type of users they would like to be?

diegoholiveira commented 10 years ago

Since you profiles has the same base (Acme/Entity/User), what you need to do is use this base as entity that will be used.

Sydney-o9 commented 10 years ago

Thanks @diegoholiveira, but this won't let the user choose whether he wants to be a buyer or seller :(

I am just trying to think of a way to do that. Is it possible to ask the user on first login, what he wants to be?

Your insight on this would be very hepful @diegoholiveira

Thanks so much!