Topic-icon jfbc 5.1.1 google username prefix

Active Subscriptions:

None
10 years 8 months ago #36142 by remington
hey alex,
congrats to the new version, very nice and we already can't wait to see twitter next :D
something we just found while starting testing: we enabled auto-registration and also allow users without a google+ profile to sign up with the open id setting.
we tested with 2 different google accounts that not have a google plus profile and both were not able to signup when we used the auto username prefix "first.last" and "firlas" - however when switching to "email" or "f_ , g_" prefix the process goes well. not an issue for us, just more of an information for you ;)
as a sidenote, just in case you missed it, german is (as always) ready at transifex ;)

best regards, alex
The topic has been locked.
Support Specialist
10 years 8 months ago #36181 by alzander
Alex,
Glad you're liking the new release so far. We're very excited about it, obviously, and poured a huge effort into re-structuring just about every line of code to make adding new providers (like Twitter) much simpler in the future. It was a big undertaking, but already paying off very well with ease of code and less support than normal after such a big release.

With that said, there are definitely some bugs. I haven't heard of the issue you mention and am not sure why that would be happening. Can you let me know if the "Name" field in the Joomla User Manager is being properly filled out? That will narrow things down greatly. Basically, the Open ID method (which isn't even really what it is.. it's like a beat-up old authentication method that they still support, but really is just basic authentication.. but I digress) returns a very limited profile. There is a 'name', 'family_name', and 'given_name' field. For the first.last or firlas, we use the given and family name fields. It's possible those don't exist for some users.

If the Name field does work, then it means that the 'name' field (likely) always works, but the family and given may not. That would be easy to check if those are empty and fall back to 'name' in that case.. just need to know more details since we hadn't seen that in our tests. I'm assuming the Name field has to work since the g_1234 setting works, but just want to check.

As always, thanks for the feedback and if you have any suggestions or comments, let us know.

Thanks,
Alex
The topic has been locked.
Support Specialist
10 years 8 months ago #36183 by alzander
Oh yeah.. thanks for the German. I don't manage the translations stuff, so I don't monitor that. However, we had a discussion the other day about some translations that weren't up-to-date and there was a quick comment about "Except German, that's always ready to go". I didn't think anything of it at the time.. but it made me smile when reading your post :)

Thanks again! We really do appreciate it.

On an unrelated note, do you/have you used Xing? I know it's a big German social network, but not much else. We get requests to support it periodically, and wanted to know if you had any thoughts on it's value or your interest. Like I mentioned, we've redesigned JFBConnect to have a much easier process to support new social networks. After Twitter and LinkedIn, that's high on our list to investigate... no guarantees though. Your feedback would be very, very appreciated.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 8 months ago #36184 by remington
hey alex,
thanks a lot for your kind words - we're happy to help and support great products like yours. And I know that melissa is handling the language stuff and she's doing great at it, having the resources up-to date even before the release is out, that's unfortunately not common use everyhwere ^^

for the prefix I haven't digged into it. as our users don't see usernames at all but login with their email adress I simply switched to the email prefix format and haven't cared about why the other 2 firstname/lastname options haven't worked. we also had 2 different error messages on it - one time that for username there shouldn't be used special characters and the other one told me to enter a username. but really not that important for us right now.

about xing: yeah, we use it and lots of others do as well here in germany. in global it's actually the very same as linkedin, a network for business contacts, and in germany right now it's the most popular one. but the chances are high that everywhere outside germany (and perhaps austria and switzerland) xing is not that popular, especially compared to linkedin, so it's probably not a "must-have" sign in option but some might find it useful. but of course if you wanna test on it and need an existing xing user let me know, we're happy to help out - same goes of course for every other alpha/beta or whatever where you need some testers :P

best regards,
alex
The topic has been locked.
Support Specialist
10 years 8 months ago #36222 by alzander
Alex,
I was a bit confusing on what I was asking for above.. can you tell me, for the users on your site with a g_1234 prefix, is their "Name" field in Joomla correct? Mainly, was that field able to be imported from Google correctly? You don't need to revert to the first.last prefix or anything, just let me know if that 'Name' field seems to be importing correctly as that will help us understand how to best fix the other case.

Regarding Xing, thanks for the feedback. It's what we were looking for. *If* we were to roll out Xing integration, it would likely be an add-on of sorts to JFBConnect, and not directly integrated into it. That way, the users that want it can use it, but the user's that don't would be confused by it. It's still early stages for the ability to have add-ons like that, but it's an investigation point for us. Your feedback helps us determine whether that idea is worth pursuing or not.

Thanks again, and good luck,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 8 months ago - 10 years 8 months ago #36227 by remington
hey alex,
the name field that you asked for is displaying the emailadress of the google account. this also results that when "send email" is enabled the registration mail text for the users start with hello This email address is being protected from spambots. You need JavaScript enabled to view it.,

I went through the google login process with all 4 prefix formats so that I have some data to share with you - as said all use the auto-registration and the google user doesn't have a google+ profile. results:
email and fb_, g_ were successful, a new joomla user was created (message: Google profile successfully connected.)
email prefix: name: This email address is being protected from spambots. You need JavaScript enabled to view it. / username: This email address is being protected from spambots. You need JavaScript enabled to view it.
fb_, g_ prefix: name: This email address is being protected from spambots. You need JavaScript enabled to view it. / username: g_116783935303174179854

the other 2 methods were not successful at all, no new user was created.
at first.last prefix I receive this error message: Please enter a valid username. No spaces, at least 2 characters and must not contain the following characters: < > \ " ' % ; ( ) &
at firlas prefix I get this one: Please enter a user name.

hope that helps ;)
Last edit: 10 years 8 months ago by remington.
The topic has been locked.
Support Specialist
10 years 8 months ago #36230 by alzander
Alex,
That helps immensely and was exactly what I needed to know. We'll implement a 'fallback' to check if the first and last name aren't available from Google and, if not, use some variation of the email address as the user's name. Likely, we'd use the portion before the @ symbol as users tend to go up in arms if their email address is displayed on the front-end. It's not ideal as their Joomla name could be something funky because email address are, many times, funky.. but it should work.

This should be easy to implement. If you want the code, let me know, and I can make sure I post it back here before release. Otherwise, it will go in the 5.1.2 release, likely out around mid-September.

Thanks again!
Alex
The topic has been locked.