Topic-icon Change registered names

Active Subscriptions:

None
12 years 10 months ago #10978 by fb_548860032
Is it possible to change the way a facebook user is saved into the users database. I used to use a different plugin and that one used the actual name to register a facebook user, if that username already existed (but with a different email, e.g. there were 2 dave Jones) it it added a digit to change it. So instead of registering FB_12345678910 it would perhaps do FB_Huw_Thomas or even just FB_Huw, then if that username was already taken by another ruser it did FB_Huw2 or something ?

I'm assuming it's doable? I know I can make them enter a username etc but I don't want the user to have to enter anything but I'd prefer real names instead of numbers in facebook id number.

I look forward to your prompt helpful reply as always :D

Huw
The topic has been locked.
Support Specialist
12 years 10 months ago #11066 by alzander
Replied by alzander on topic Change registered names
Huw,
Very sorry for the delayed response to this question. In the upcoming 4.0 release, we're planning to have a few preset selections an admin can choose for the default username that's created. Until then though, you'll need to make a slight modification to the code. The below page will show you how to do what you're looking for, but please note that usernames must be unique, so you'll need some numbers or something else to make sure that if 2 Huw Thomas' sign up to your site, that they will each get a unique username.

In the example, we show how to still use the Facebook User ID (which is guaranteed unique). In the 4.0 release, we plan to have a counter that can be added to the unique name, so it would be Huw_Thomas1, Huw_Thomas2, etc.
www.sourcecoast.com/jfbconnect/docs/comm...#username-generation

Hope that helps get you started, and thanks for your patience for the answer.
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 10 months ago #11068 by fb_548860032
Thanks for the reply and no problem at all with the delay. I'll have a look later on and see how well it works for us.

When are you hoping to release v4 ?
The topic has been locked.
Support Specialist
12 years 9 months ago #11080 by alzander
Replied by alzander on topic Change registered names
v4.0 is expected for July. We're upping the major version numbering because we'll be migrating to Facebook's newer authentication scheme which will be required as of September 1st. It's not available yet, so we're working on the other features that will be in that release right now. Once the new authentication is fully available, we'll be implementing it and making the release.

Alex
The topic has been locked.