Can't Get This Module To Work How I Want

that1guy - June 26, 2008 - 03:27
Project:Facebook - Auth
Version:5.x-1.x-dev
Component:User interface
Category:feature request
Priority:minor
Assigned:Unassigned
Status:active
Description

I am testing locally and got the module to work, but I want really fleshed out profiles and have a problem. I would like to make it so that if you have no account on the site and want to use FB to make an account you click the button, it goes to Facebook, comes back to the site and then asks you to input username, password and email.

As it is now, combined with logintoboggan module clicking the FB button takes you to Facebook and then comes back to the site asking for your password and send a password it creates. Instead, on that page, I would like for it to ask for username, so that users can choose if they want to use their facebook name or change it to something else, as well as choose their passwords right there and then rather than have a randomly generated one sent to their email to confirm. Here is an example of how registering should look. (http://socnet.shellmultimedia.com/user/register) Even if it is that I need other modules to get this functionality, would using this module overwrite them asking for the email only? Thanks for any help.

#1

halkeye - June 29, 2008 - 16:58

Ah

Re-reading this again I see this is a feature request not a bug fix.

The alt mode goes through the full drupal user registration, but it does default the username to the real name.

I will gladly accept any patches to change this behavior.

#2

that1guy - June 29, 2008 - 18:53

I think how I said this was a bit confusing, hopefully here I explained it better.

http://groups.drupal.org/node/6683#comment-41146

#3

halkeye - June 29, 2008 - 18:54

you are absolutely right. When i read that during the week it did make alot more sense.

#4

that1guy - June 29, 2008 - 19:02

I apologize, I am now delving into Drupal myself, and I have been spending ours upon hours testing stuff, so as soon as I realized this module worked but not QUITE the way we needed I posted...sleepily haha.

If any more explanation is needed let me know, but how easy should this be to do? What would be involved? Mind you I do not code :-/

#5

budda - December 14, 2008 - 17:38

Does the Facebook Auth module keep some mapping between a facebook account (userid) and the selected Drupal username? I would assume that would be required for this feature to work....?

I guess the same would go if you allowed a Drupal user to edit their username at a later date.

#6

halkeye - December 14, 2008 - 18:53

Yea, there is a mapping of uid=>facebook uid in the authmap table.
the username of the user can be whatever they want.

 
 

Drupal is a registered trademark of Dries Buytaert.