Topic-icon Bug - Custom Registration Component

Active Subscriptions:

None
8 years 10 months ago - 8 years 10 months ago #55437 by micbro
I am utilizing the custom registration component, everything works peachy until the login redirect....then nothing. I have the custom registration set for a 'login' article. The user can login successfully with any social platform, but then SCLogin returns them to the index.php/login form which is only available to guest ACL leaving a rather unpleasant warning on the screen as soon as they login.

Is there a way to hard code to get around this temporarily until this is resolved as it is a problem for me.

Thanks!
Last edit: 8 years 10 months ago by micbro.
The topic has been locked.
Support Specialist
8 years 10 months ago #55441 by mel
We have three settings for redirection after logging in:

1. New user redirection - when a new user is created by logging in via social networks, after the user is created, they will be redirected here.
2 Returning user redirection - when an already existing user logs in via social network, they will be redirected here.
3. Logging in via Joomla credentials - this setting is in the SCLogin module and will be used when logging in via Joomla credentials only, not social network login

From your description, I'm not clear on which of these scenarios is not working for you. It sounds as if you have the SCLogin option set (#3), but I suspect, you also need to set up #1 and #2. Could you verify your values for all three of these settings for us?

-Melissa
The topic has been locked.
Support Specialist
8 years 10 months ago #55442 by alzander
Can you post (or Private Message) me the following:
* The login page you're starting from
* The URL of the 'login' article you're redirecting to
That will help us investigate what's happening on your site.

As for a temporary fix, the redirect to the custom registration page is performed at line 124 in the /components/com_jfbconnect/controllers/login.php file:
if ($redirect)
                        $app->redirect(JRoute::_($redirect, false));
I hope that helps,
Alex
The topic has been locked.
Support Specialist
8 years 10 months ago #55443 by alzander
Melissa and I both read your question a bit differently. I'm not sure who was correct, or if either of us were.. but if you have any questions, please let us know.. and/or clarify where we may be wrong in what you're trying to do.

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

None
8 years 10 months ago #55445 by micbro
Ha ha, sorry for the confusing question guys. This stuff makes my head hurt :/ I did find the answer I needed in this URL: www.sourcecoast.com/forums/jfbconnect/jf...g-the-sclogin-module

I'm also using the JFBConnect component which has it's own redirect settings. I didn't even consider redirect options in that component. The redirect settings in the SCLogin module appear to be applicable only when a user is logging in with a Joomla username / password, not an auto social login as provided by JFBConnect.

I do appreciate the responses!
The topic has been locked.
Support Specialist
8 years 10 months ago #55449 by mel
I win :) Glad that you got it resolved and sorry for your confusion. Let us know if you run into any other problems going forward.
The topic has been locked.