Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] User redirect

  • vertti
  • vertti
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 0
11 years 1 week ago - 10 years 11 months ago #235708 by vertti
[SOLVED] User redirect was created by vertti
Is it possible to redirect the user back to the page which the user was trying to access before login?

So if a user is trying to access an article from remote url for example, he would be redirected automatically to that article after succesfull login.
Last edit: 10 years 11 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • danbo1972
  • danbo1972
  • OFFLINE
  • Posts: 88
  • Thanks: 22
  • Karma: 4
11 years 1 week ago #235714 by danbo1972
Replied by danbo1972 on topic User redirect
It should do it automatically. (at least mine does) Double check to ensure that your joomla settings are not set to redirect to a certain page. Also, make sure none of your auto actions are fighting with you onafterlogin

That's all I can offer you. I'm pretty new to all of this. Good luck.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
11 years 1 week ago #235763 by krileon
Replied by krileon on topic User redirect
Yes, install and enable CB Core Redirect available for download in the Free downloads section. It helps set the Return URL for CBs login module based off the Return URL Joomla would normally send to its login module.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • vertti
  • vertti
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 0
11 years 6 days ago #235859 by vertti
Replied by vertti on topic User redirect
Yes, CB Core redirect was very helpfull! Only problem is now, that I had to remove Login Redirection URL.

So user that is trying to acess linked url will get there after log in, but a user that comes to the site and logs in will end to the site root/home/first page..and he has no clue is he logged in to the site or not..?

..Meaning how could I define, that a user that is trying to access certain site will get there, and a user just logging in would see a welcome-page as before..?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
11 years 6 days ago - 11 years 6 days ago #235870 by krileon
Replied by krileon on topic User redirect
You can't have location by location login redirects. You can force to always go to a specific page or always return to previous location, but not both. There is triggers through the login process, but you won't have access to the return URL as it's encrypted for easy and secure passing between pages.

Best I can suggest is create multiple login modules and place them on different Joomla menu items this way the module displayed is based off the Joomla menu item used and thus can have multiple login redirects, but you may end up with pages not having a login module if you depend on "show on all pages" module usage.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 11 years 6 days ago by krileon.

Please Log in or Create an account to join the conversation.

  • vertti
  • vertti
  • OFFLINE
  • Posts: 8
  • Thanks: 0
  • Karma: 0
10 years 11 months ago #237117 by vertti
Replied by vertti on topic User redirect
Ok, thanks for the info Krileon;)

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum