Topic-icon No message informing of successful registration

Active Subscriptions:

None
11 years 3 months ago - 11 years 3 months ago #51209 by wdd
Hi,
When the registration is completed, it just redirects back to the /login page without any message informing the user registration has been completed. It's really confusing. And another thing, I selected to show the fields that are being imported but they don't show. Any ideas why that might be?
Best,
wdd
Last edit: 11 years 3 months ago by wdd.
The topic has been locked.
Support Specialist
11 years 3 months ago #51222 by mel

When the registration is completed, it just redirects back to the /login page without any message informing the user registration has been completed. It's really confusing.

Usually, a message like "Facebook profile successfully connected" is displayed. It seems like strange behavior that you are being directed to the login page. The user should be logged in directly after registration, unless you require user activation. But even then another message should be displayed saying that the user needs to be activated. Could you verify that the user is actually created in the backend and there is an entry in the JFBConnect > User Map table for the user?

And another thing, I selected to show the fields that are being imported but they don't show. Any ideas why that might be?

Could you take a screenshot for me of the JFBConnect login/register page on the front-end? And in the backend of the JFBConnect > Profiles tab for the social profile plugin you are using. Also, you would only see imported fields on registration if Automatic Registration is disabled. If you could provide a URL where I can test the social network login button to see this in action, that would also be helpful.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago - 11 years 3 months ago #51225 by wdd
Hi,
Yes we do require admin approval for all registrations as it's a very restricted social site, not open to the public. I get a message saying I'm being logged in using Facebook when I already have an account created but when I first register, nothing appears, it just reloads the page and puts me back on the /login page

here's the front-end registration page, after I fill in my details it just puts me back on the login page. The account is setup correctly, it's just the lack of any message/alert that I find confusing. Plus, as you can see, the fields being imported don't show.

This page is very unstyled (due to not being able to assign the correct template to it, that I described in the other thread), but you get the idea. Is there any way to display the site details so that it's only visible to the support team on this forum?
Thanks for looking into it,
wdd

File Attachment:


File Attachment:
Last edit: 11 years 3 months ago by wdd.
The topic has been locked.
Support Specialist
11 years 3 months ago #51227 by alzander
For EasySocial, we don't currently show their fields in the JFBConnect registration flow. We improved our system for EasySocial and JomSocial and recommend you switch the "Registration Component" option in JFBConnect to "EasySocial". That will take the user through the standard EasySocial registration flow when the authenticate with a social network for the first time. The "Show Imported Fields" option will work in their flow to either hide or show fields that have data imported from them.

Displaying the highly dynamic and very Javascript heavy profile fields in our registration page isn't an option. They are very hard for us to keep compatibility with changes in EasySocial with, which is why we simplified and just use their registration flow. It's a better user experience and only one registration flow to have to manage.

That may also help with the activation message issue you're having, but if not, let us know.

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

None
11 years 3 months ago #51232 by wdd
Hi, thanks again. Yes, this looks a lot better and works how I imagined it would (it displays the regular registration but with fields populated by data from FB). However, after I save step 2 (the one with education fields), I get the following error on this page index.php?option=com_easysocial&task=saveStep&currentStep=3&controller=registration&7116ec0b5799b46f709e1f6b07e7623f=1

File Attachment:


Thanks,
wdd
The topic has been locked.
Support Specialist
11 years 3 months ago #51236 by mel
Once JFBConnect redirects to the EasySocial flow, the registration is out of our hands. I would suggest you contact the EasySocial team to resolve this. There are other similar reports of this issue on the EasySocial forums, such as stackideas.com/forums/the-page-isn-t-redirecting-properly

If they end up thinking this is a JFBConnect issue, please let us know and we'd gladly help, but it seems outside the realm of our product right now.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago - 11 years 3 months ago #51341 by wdd
Hello again,
I got back to the EasySocial devs and they were only able to determine that the glitch happens when the avatar field is set to required. Also, I tested the built-in FB registration provided with ES and it worked just fine, the problem is I will need to add Twitter and other social sites to the register/login area, so I need JFBC for that. Here's what their support guys told me:
"I am not really sure how is JFBConnect redirecting the user's registration process through the normal registration process but this isn't actually the proper behavior. Basically what is actually happening is that the user avatar is set to "required" but for some reasons the avatar is missing from the registration form altogether."
The whole thread can be found here stackideas.com/forums/step-3-of-registra...redirecting-properly

At this point I figured I can set the avatar to not be required and not worry about the bug, however I then tested the registration process using JFBC and registration went smoothly, but after approving the user and trying to login using the FB button I get redirected to the registration form again. Would be great if you could take a look.

Edit: also, I just noticed while testing the registration that the avatar imported isn't mine, it's just a random photo from I don't know where.
Thanks,
wdd
Last edit: 11 years 3 months ago by wdd.
The topic has been locked.
Support Specialist
11 years 3 months ago #51352 by alzander
JFBConnect uses a different mechanism than what's built into EasySocial, so that doesn't tell us much. They have the advantage of being able to integrate with their own code, whereas we're trying to work alongside their code. In general, it works for most users, but hiccups can always arise.

For the avatar itself, we have to play some games. For all sites JFBConnect has worked with using EasySocial so far, the avatar is not required. Few sites actually require that an avatar is uploaded during registration, and it's not the default of EasySocial, so that's what we expect. During the registration flow, if you have "Hide imported fields" enabled, we simply pre-fill those fields and use some CSS to actually hide the form field from the user. For the avatar, EasySocial has no way for us to pre-load the avatar (we've asked), so we use CSS to hide that field and then import it after the user has registered. In your case though, since that field is required, EasySocial's validation is still throwing an error because no image has been uploaded.

There's really not much we can do about that now other than recommend:
1) You don't hide imported fields so that the user can see and fill out any fields, including avatar
2) Don't mark avatar as required

Now, for the 'random avatar being imported', that's strange, and not something we've heard of. My best/only guess is that while you're testing, you're clicking register a few times, starting the flow, navigating away, clicking register again and restarting multiple times. In that case, due to how we import the avatar, it may be possible that one of the avatars from any of the social networks you tried to login with is used. However, it shouldn't be a completely unknown avatar to you. That would be very odd behavior that I wouldn't have an immediate response too.

If you're testing, please clear your browser cache and try from scratch to see what happens.

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

None
11 years 3 months ago - 11 years 3 months ago #51412 by wdd
Hello Alex,
As I mentioned I'm fine with setting the profile photo to not be required if that's what it takes to make this work. I also have the imported fields set to show and I've had that all along. However, there's a much bigger issue here that you seem to overlook completely in your reply and that is a new user is added correctly and then activated by the admin but when that user returns to the site and tries to login, they're brought back to the registration page and they're not able to login at all (using the FB button). During the registration process, the third step seems to be skipped altogether and the page notifying the user that registration has been complete has a URL /registration/completed/2?userid=952 which I'm worried indicates that the registration hasn't been completed (there are 3 steps in the ES registration process). That would explain why the user is being brought back to the registration page instead of logging in successfully.

As for the avatar, it is possible that one of the ES dev's avatars is wrongly imported as mine, as they were doing some testing and debugging for me. However, this is not acceptable behaviour as there might be many users registering using Facebook and they need to have their own avatars imported, not somebody else's.

Just tested it again, after clearing the cache and cookies, and got the same result - registration complete but logging in using FB button brings me back to the registration page and also the avatar imported is not mine. Using the email address as username and the password I selected while registering logs me in correctly but the facebook button in the login form brings me back to the registration page.
Thanks,
wdd
Last edit: 11 years 3 months ago by wdd.
The topic has been locked.
Support Specialist
11 years 3 months ago #51419 by alzander
Can you go to the JFBConnect -> Usermap area and see if a row has been added for the user that you registered with? That table shows the 'mappings' between a social network account and the Joomla account that it is connected to on your site. Knowing if that link is (or isn't) being created, as well as if it's somehow tied to the wrong Facebook or Joomla account, will help narrow things down further.

Another *test* would be to enable the Automatic Registration feature of JFBConnect to see if that works. If so, it means it's something with the flow through EasySocial. It's possible they've made a change in that flow that we need to update for or that there's some additional plugin/feature that you have enabled in/for EasySocial that we haven't tested with.

We have many users with JFBConnect and EasySocial working well, so I'm not sure what's going on here. Please let us know what's in the usermap listing and how automatic registration works for you and we'll gladly help however we can.

Thanks,
Alex
The topic has been locked.