× Joomla LinkedIn support forum

Topic-icon Any way to standardize login screens?

Active Subscriptions:

None
12 years 3 weeks ago #21017 by joeadl
When using Jlinked we point our users to the Jlinked login - but occasionally they are also redirected to the JomSocial login or the Joomla login. This is pretty confusing, is there any way to make all the login attempts point to the Jlinked page? Thanks!
The topic has been locked.
Support Specialist
12 years 3 weeks ago #21039 by alzander
Joe,
I'm not sure I know what you mean, or at least haven't seen or heard of the issue if I do understand.

Are you saying when user's click the "Login With LinkedIn" button, the user can go to three different locations? That's definitely not correct. If the user is new (unregistered), they should always go the standard Login / Register page of JLinked. If clicking that button directs you to the Joomla or JomSocial login page, that's definitely wrong. If you're clicking another button or link though, let us know, so we understand more.

Obviously, if the user has already registered, they should simply be logged in and go wherever you have your JLinked redirections setup for.

If the redirections are incorrect as in the first paragraph, check if you have any User or System plugins enabled that are meant to redirect the user for any reasons (logins, edit profiles, etc). There's a lot of plugins that are meant to redirect users for certain reasons, but it's always possible that one of those can conflict with our registration/login process. Let us know if you have anything like that.

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

None
12 years 3 weeks ago #21076 by joeadl
Let me clarify - when you click the Login with Linkedin it goes to the appropriate page - that's not a problem. But there are other times when using Joomla/JomSocial that the system will default to standard logins, for example when a user tries to access a restricted page, or when they time out of registration and are required to log back in. During those times the system reverts to either Joomla or JomSocial login.

So is there any way to set the settings so that all logins go through the JLinked page?

Thanks!
The topic has been locked.
Active Subscriptions:

None
12 years 3 weeks ago #21128 by joeadl
Any update?
The topic has been locked.
Support Specialist
12 years 3 weeks ago #21132 by alzander
Joe,
Sorry for the delay.

The LinkedIn registration page shouldn't be used for normal logins, so you wouldn't want to redirect the user there at all. They should only get there by clicking the Login With LinkedIn button and having JLinked redirect them there.

With the next JLinked release (coming out later this month), we're adding an option to automatically add the "Login With LinkedIn" button to the Joomla login page. For now though, you'd need to add the button to JomSocial's login page manually with the {JLinkedlogin} tag in their template files. In future release, we're planning to add more integration points like that for a more automatic integration. The next release will be the start of that.

As for redirecting all of the logins to a specific page, you can do that with a few plugins that are out there or with some .htaccess rules. We do agree it can get confusing to have multiple login and registration pages (or any other duplication), which is why we try to avoid it where at all possible.

Hope that helps, and sorry again for the delay,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 3 weeks ago #21133 by joeadl
Ok, thank you. Can you tell me what are the template locations of the Joomla and JomSocial login pages? I am having trouble finding them (if they are not linked to from a menu)
The topic has been locked.
Support Specialist
12 years 3 weeks ago #21137 by alzander
The files are below. The first line in each is the original file. The second line is where the template override should go. Iif the file doesn't already exist there, simply copy the original to the template override directory. If it already exists there, simply edit it in that directory.

Joomla login:
/components/com_user/views/login/default_login.php
/templates/<YOUR_TEMPLATE>/html/com_user/login/default_login.php

JomSocial
/components/com_community/templates/<YOUR_JS_THEME>/guests.denied.php
/templates/<YOUR_TEMPLATE>/html/com_community/guests.denied.php

Good luck!
The topic has been locked.
Active Subscriptions:

None
12 years 3 weeks ago #21138 by joeadl
That's great. Thank you!
The topic has been locked.