Topic-icon After registration or login with facebook get message

Active Subscriptions:

None
Hi
After registration or login with facebook.
1. Why does it immediately go to the main page?
2. Why does the message appear that this page is only for registered users?
Thank you for your help.
The topic has been locked.
Support Specialist
9 years 3 weeks ago #61736 by mel
Could you please review the settings you have for the JFBConnect > Configuration > General > "New User Redirection" and "Returning User Redirection" settings to see if they're set properly? When logging in with a social network, these two options are used to determine where to go after logging in. I would also check JFBConnect's "Skip Joomla User Activation" setting. If you are requiring activation but are redirecting to a registered page, this could also explain the issue.

Additionally, sometimes other extensions also have redirection settings that may alter where you're pointed to after logging - for instance JomSocial redirection plugin may be a common culprit if you've set the new and returning user redirection settings correctly.

Check these areas out and let me know if you continue to have problems.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hi
Thanks for the answer.
I did as you said and it fixed the error. ( JFBConnect > Configuration > General > "New User Redirection" and "Returning User Redirection" )
But now the next question. What should I do if I have two languages on my site?
Thanks for the answer.
The topic has been locked.
Support Specialist
Well, that's a tougher one. I'm assuming if you used Community Builder as the registration component option, the language switching worked properly even if the templates didn't?

If that's the case, I'd have to recommend making a code edit to the SCLogin module, which is not something I recommend often. It's a small change to add the proper menu item ID to the community builder registration link. To do so, edit the /modules/mod_sclogin/helper.php file. At line 209, you'll see:
$this->registerLink = JRoute::_("index.php?option=com_comprofiler&task=registers", false);
Update that like below where XXX is the menu ID you want to use:
$this->registerLink = JRoute::_("index.php?option=com_comprofiler&task=registers&Itemid=XXX", false);

Test that out and see if it helps get you going.

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

None
Thank you very much for help.
I have only Joomla + Jreviews
Everything works without any changes in the code.
The topic has been locked.
Support Specialist
9 years 3 weeks ago #61756 by mel
From your latest response, it sounds like you aren't having a problem with the language switching and have resolved the redirection issue. If not, please clarify on the issue that still remains.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Thank you. At the moment everything is all right and there are no problems.
The topic has been locked.
Support Specialist
9 years 3 weeks ago #61764 by mel
Ok. Glad to hear it. Let us know if you run into any other issues.

-Melissa
The topic has been locked.