Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Redirect after login not working

  • cbrace
  • cbrace
  • OFFLINE
  • Posts: 64
  • Thanks: 5
  • Karma: 1
7 months 3 days ago #338151 by cbrace
Replied by cbrace on topic Redirect after login not working
PM sent

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
7 months 3 days ago #338153 by krileon
Replied by krileon on topic Redirect after login not working
Have reviewed your install. The redirect appears to be working fine. You set the login redirect to the following.

index.php?option=com_comprofiler&view=userprofile&Itemid=1721

This sends to the CB profile page fine, but is missing its menu item. So the result is the below page.

/component/comprofiler/userprofile

This is due to a menu item with a menu id of 1721 not existing. I'm not sure what that menu item is supposed to be exactly, but your profile menu item has a menu id of 198. So your login redirect should be as follows.

index.php?option=com_comprofiler&view=userprofile&Itemid=198

Have changed this for you and confirmed it redirects to profile with that menu item active.


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.

  • cbrace
  • cbrace
  • OFFLINE
  • Posts: 64
  • Thanks: 5
  • Karma: 1
7 months 2 days ago #338158 by cbrace
Replied by cbrace on topic Redirect after login not working
Think something went wrong with my menu item id's, I have rebuilt it. To be exact it should redirect to the following page. 

I have tried index.php?option=com_comprofiler&view=userslist&listid=28&searchmode=0&Itemid=1279 but that still does not work? It should load the attach menu item.  Am I this stupid or something weird happening? Was hoping to link it purely to a menu item via /my-home/ but using the raw URL also fails?
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
7 months 2 days ago #338161 by krileon
Replied by krileon on topic Redirect after login not working
You would need to supply that full URL as your login redirect. You were currently redirecting to CBs profile page. So if you want it to redirect to that menu item then review what it's URL is in the menu item and use that URL in addition to its Itemid. Have reviewed your install and that menu item so your login redirect URL would be the following.

index.php?option=com_comprofiler&view=userslist&listid=28&searchmode=0&Itemid=1279

This redirects to the following, which is the alias of that menu item so it appears working fine.

/my-home

What issue are you having exactly? What are you using to indicate it's not sending you to the proper menu item? The URL is correct in the address bar and if you scroll down you'll see the userlist. You have a lot of modules assigned to pages at the top though and maybe that's what's making you believe you're on the wrong page?


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.

  • cbrace
  • cbrace
  • OFFLINE
  • Posts: 64
  • Thanks: 5
  • Karma: 1
6 months 3 weeks ago #338208 by cbrace
Replied by cbrace on topic Redirect after login not working
Appears to be a browser issue, on chrome it redirects to root and in Safari it is working fine. I will ask some members to test this further to see if it is local or not. Removed all my caching & cookies but that did not work.

Thanks Krileon!
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum