We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Generic Username - Google Connect (recode) | Forum

Kev
Kev Feb 21 '15
This plugin works really well, I'm currently testing it on my dev site. However, when a user signs up with their Google account, the username that's generated is something like "google_user_5" which is obviously no good, as users aren't going to want to have a generated username like this.


Can the plugin be updated so that it generates the username as "firstname.surname" with a digit added is it's a duplicate? Otherwise, it's going to be very confusing for people when they want to share their profile URL.


Thanks,


Kev

Kev
Kev Feb 28 '15
I'll take the silence as a no... :-(
Kev
Kev Apr 17 '15
No response. Awesome, work their chief.
Kali
Kali May 5 '15
Hi Kev, you can change the behavior by going to glconnect/controllers and changing the file connect.php to the one in attachment. Basically I set the username to google name, and then perform some check (add an id if the username exist already, replace accents and weird characters).
Attachments:
  connect.php (8Kb)
Kev
Kev May 6 '15
The file attachment doesn't exist.


Dirk
Dirk May 28 '15
Any news on this?
Peter
Peter Oct 15 '15
This plugin works good.

1) Adjust the Oxwall settings to display the full name of members. (like on Facebook)

2) Adjust the Oxwall settings - allow members change their username in their profile. (profile url ending)

3) Google Connect generate nice full member name (display name) according to Google account.

4) After registering through Google Connect, members can change their default usernames (google_user_XYZ) in profile edit. - EASY, like on Facebook.

5) The next time the member logs in through Google Connect, his username will remain new, because plugin use email address for login proces.


It's the same as on Facebook - After registration, it generates a random username for profile URL and you can change it after.
The Forum post is edited by Peter Oct 15 '15
You do not have permission to reply this topic