Topic-icon Landing page after login

Support Specialist
8 years 3 months ago #56905 by alzander
Replied by alzander on topic Landing page after login
We don't currently have that option based on the type of registration. As noted, it's an easy code-change to make all social network registrations go into a specific group. It would be much more difficult to set registrations from Facebook into one group and users from LinkedIn to another group. I'm also not sure if that would make sense since a user can register with Facebook, but then connect their account to all of the other social networks we support.

If you'd like the code change to set all users into a specific group, just let us know and we'll gladly help however we can.

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

None
8 years 3 months ago #56946 by rakesh
Replied by rakesh on topic Landing page after login
Ok let's try that then, would be a pitty to not use JFBconnect login function.

So what I need is to have a new FaceBook registration be assigned to a specific Joomla group.

As a start :)
The topic has been locked.
Support Specialist
8 years 3 months ago #56964 by alzander
Replied by alzander on topic Landing page after login
Sure thing. There's 2 different spots that may need to be modified. They are both in the /components/com_jfbconnect/models/loginregister.php file.

For automatic registration, around line 293, you'll see:
$defaultUserGroup = $config->get('new_usertype', 2);
Simply update that to the ID of the group you want social network users to register into, like:
$defaultUserGroup = 4;

For normal registration, with our form, that takes a few more lines of code that I'll need to test first. If that's how you have things setup, let me know, and I can get that to you.

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

None
8 years 2 months ago #57010 by rakesh
Replied by rakesh on topic Landing page after login
Yes please, I will need the option of normal registration as well, automatically subscribing to the Joomla Group.

I noticed it is not possible to have a menu item link to JFBconnect registration. So this means it will be a Joomla core change? hope not
The topic has been locked.
Support Specialist
8 years 2 months ago #57016 by alzander
Replied by alzander on topic Landing page after login
JFBConnect doesn't have it's own registration page. The only way to get to our registration page is by clicking our social login buttons *and* having automatic registration disabled. If that's what you want, you can use our SCLogin module to show the login buttons anywhere you want, which will then redirect to our registration page if the user doesn't already have an account.

I'll look into the code changes for the normal/form-based registration process. It may take a few days to get something tested that works right.

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

None
8 years 2 months ago #57042 by rakesh
Replied by rakesh on topic Landing page after login
Ow dear, the way my site is setup is by having menu items going to the registration page.

So using the JFBconnect is can only be done through buttons?

Would it be possible to use the URL menu item then to get to that page?

Hope so
The topic has been locked.
Support Specialist
8 years 2 months ago #57045 by alzander
Replied by alzander on topic Landing page after login

Ow dear, the way my site is setup is by having menu items going to the registration page.

On the registration page, you can add our social login buttons. With our {JFBCLogin} easy-tag, it's very easy to add our social login buttons anywhere you want. So, you can still have users redirect to your registration page where they can go through the longer-form registration flow or use the social login buttons to register with their social accounts.

We don't have a registration page that you can send people too before they login with a social network as that doesn't make sense and isn't the natural social authentication flow.

I hope that helps explain more, but if you need more details on how to add our social login buttons to other pages, like your current registration page, just let us know.

Thanks,
Alex
The topic has been locked.