Topic-icon Unexpected troubles with JFBConnect system plugin

Active Subscriptions:

None
Hello there,

1- I found out that i cannot regsiter another Facebook user through JFBConnect cause i get redirected now to easysocial registration page, then when continue manual registration from easysocial registration page, i get a blank page with error ERR_TOO_MANY_REDIRECTS. Manual registration works fine if i disable JFBConnect system plug.

2- Before this first issue, i denoted that when Facebook user successed to register with JFBConnect, he gets Easysocial points for registration but twice. If i enable the Points for registration came with JFBConnect, user does not get JFBConnect points, but he's still getting Easysocial points twice.

Do you need for site access?

Best regards
The topic has been locked.
Support Specialist
1 year 11 months ago #67966 by alzander
I'm assuming you have the Registration Component set to "EasySocial" within JFBConnect. Can you try setting that to Joomla -or- enabling Automatic Registration?

That will help us understand where the error is coming from.. within EasySocial registering the user or within JFBConnect.

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

None
1 year 11 months ago - 1 year 11 months ago #67979 by [email protected]
Hello there,

I did additional tests, now the issue 1 is solved: redirect to easysocial registration page occurs when Facebook user disallows the email scope on Facebook login. The error ERR_TOO_MANY_REDIRECTS is ignored for now.

Is there a way to make the email scope required so user can't disallow it on facebook login (like it works for name)?

But the issue 2 is still on. Could you give a try?

Best regards
Last edit: 1 year 11 months ago by [email protected].
The topic has been locked.
Support Specialist
1 year 11 months ago #67980 by alzander
Facebook does not allow requiring the permission for email address. The user is free to provide that information or not. Unfortunately, Joomla does require an email address to create an account, which is why we redirect the user to the selected "Registration Component" registration page if the email address is unable to be fetched.

As for EasySocial points, it's been a while since we used the point system within EasySocial, so I don't have anything immediate to comment on that. Can you let me know:
* What the points are rewarded for? Are they both for new user registration, or are they for separate types of events? I believe ES (at one point) had rewards for registering regularly and points for registering with a social network. I'm unsure how these are denoted, but it may be possible to disable one or the other.
* To confirm, when you register normally with EasySocial (not using a social network), you only get rewarded once?

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

None
1 year 11 months ago - 1 year 11 months ago #67981 by [email protected]
Hello there,

New user gets the point for the only event "User registers on the site" but twice when using Facebook login of JFBConnect. This point comes with easysocial and has the value of 50. Please see screenshot:

 

There is not another point with value 50. There is not a specific point for social registration, basically user does get the point "User registers on the site" once no matter he registers with easysocial form or with Facebook login of easysocial. 

Best regards
Attachments:
Last edit: 1 year 11 months ago by [email protected].
The topic has been locked.
Support Specialist
1 year 11 months ago #67982 by mel
Do you have the 'Social Profiles - EasySocial' plugin enabled? If so, looking at code, I could see a potential cause of this duplication. Can you go into
/plugins/socialprofiles/easysocial/easysocial.php. Around line 344, can you comment out the following line by changing:
$points->assign('user.registration', 'com_easysocial', $this->joomlaId);
to
//$points->assign('user.registration', 'com_easysocial', $this->joomlaId);

Let me know if this helps.

-Melissa
The topic has been locked.
Active Subscriptions:

None
I did it.
It seems fine now.

I guess you are going to fix it in your next release, since i cannot override it.

Just a little curious: what your easysocial point event "Social Network Authentication" is used for? Description says: "Earn points when you authenticate and link your account using any support social network." But seems not working.
I suppose it is the same as "User registers on the site" point, right?

Best regards.
The topic has been locked.
Support Specialist
1 year 11 months ago - 1 year 11 months ago #67987 by mel
I'll have to do testing to make sure the points are awarded in all of the different registration flows, but yes, we'll make the change for the next release.

It's been quite awhile since I've looked at the points, so I had to go check the code. No, those points are actually for existing Joomla users. When they are logged in and then map their existing account to a social network account, that's when those points are awarded.

-Melissa
Last edit: 1 year 11 months ago by mel.
The topic has been locked.