Topic-icon Login redirection problem

Active Subscriptions:

None
13 years 8 months ago #26406 by dimili
Hi, i have a Login redirection problem.
I have a link i my site which is only for registered uses but visitors can see it to.
So if i click on this link it goes to a page wich says sorry you have to login first.
When i login with the default joomla login it redirects me to the right page of the link(i have not add manualy redirection)
When i login with jbconnect i stay in the login form.
What can i do?Please help it us very important for me.
Thank you
The topic has been locked.
Support Specialist
13 years 8 months ago #26415 by alzander
Replied by alzander on topic Login redirection problem
What is your login redirect setting in the JFBConnect Configuration area? If that's set to "No", it should leave you on the same page. If the redirect to the login page is done correctly, using a return=(Some string) in the URL, JFBConnect should then use that URL instead.

If that's not happening, can you post (or Private Message) the link to the registered content page so we can see what's happening?

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

None
13 years 8 months ago #26422 by dimili
Replied by dimili on topic Login redirection problem
So if i have it in yes, i have to select a menu item manualy for redirection , the menu_item_root root is not an option.
With joomla login it redirects me to the right page (i have not add manualy redirection) .
You can see here beta.greeceinsiders.com/experience.html if you login with
user:demo
pass:demo
The topic has been locked.
Support Specialist
13 years 8 months ago #26430 by alzander
Replied by alzander on topic Login redirection problem
What are you using for SEF URLs or to restrict that content? Normally, when you are redirected to a Login page, there is a return=(some really long string) parameter in the URL, like:
index.php?option=com_users&view=login&Itemid=159&return=L2luZGV4LnBocD9vcHRpb249Y29tX2NvbnRlbnQmYW1wO3ZpZXc9YXJ0aWNsZSZhbXA7aWQ9OTpjaG9vc2luZy1hLWpvb21sYS1mYWNlYm9vay1leHRlbnNpb24mYW1wO2NhdGlkPTgmYW1wO0l0ZW1pZD0xNTk=
If the redirect occurs that way, JFBConnect will properly redirect the user back to the originating article. Adding that return=... paramater is the normal way for Joomla to redirect the user to a login form.

Can you try disabling your SEF URLs or whatever your using to do that redirect and test again and see if it works? You don't have to disable them permanently, but knowing if that helps fix the problem will help us understand what the issue is and how to fix it.

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

None
13 years 8 months ago #26445 by dimili
Replied by dimili on topic Login redirection problem
Hi, i diasable it but
1)Because the link i have is an external link in joomla it does not redirect anywhere so i cannot check
2)I have virtuemart in the site, so there i had the same problem,if i go to checkout it redirects me to the vm registration which i dont want where also the is not the fb connect.Do you want me to disable the sef to see what i mean?
Thank you for your time
The topic has been locked.
Support Specialist
13 years 8 months ago #26520 by alzander
Replied by alzander on topic Login redirection problem
Dimitris,
I would recommend disabling SEF, temporarily, to see if the redirection does work then as expected. If so, let us know, as we'll have to understand why enabling SEF is causing the problem.

With Virtuemart, is the user being automatically redirected to the registration page? Then, when they click the Login With Facebook button, you're saying they remain on the registration page? If so, again, with SEF disabled, see if the registration page actually has a return=... parameter in the URL.

Finally, I'm not sure what you mean about the external link in Joomla that does not redirect anywhere? What is configured as an external link in the menu, and how is that supposed to be redirected to with JFBConnect?

All that will help us understand the issue further.

Thanks,
Alex
The topic has been locked.