[SOLVED] Redirect

12 years 3 months ago - 12 years 3 months ago #189982 by drdehart
[SOLVED] Redirect was created by drdehart
When we click a uddeim notification link url, like this one: /index.php?option=com_uddeim&task=show&messageid=44740,
if not logged in, it redirects to this url: /index.php?option=com_comprofiler&task=registers. What controls this redirect and can we disable it and just show a "You must log in" message on the same page (/index.php?option=com_uddeim&task=show&messageid=44740).

The objective is to allow the user to login on the same page as the notification url, with no re-direct, so that they can get directly to their message without having to click around to find the inbox.

Please Log in to join the conversation.

12 years 3 months ago #190034 by krileon
Replied by krileon on topic Re: Redirect
UddeIM is probably trying to send the user to Joomlas registration/login page at which time CBSubs would intercept it and take you to the equivalent CB page. No workaround that I am aware of. If a user doesn't have access it's common practice for extensions to send them to register/login page as necessary.


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 to join the conversation.

12 years 3 months ago #190072 by drdehart
Replied by drdehart on topic Re: Redirect
We found a way to resolve this by making the uddeim inbox menu link Public (instead of Registered). It is an invisible menu anyway, so I don't think user security is compromised (your opinion?). Now the uddeim link stays at the uddeim url and the user is able to log in and go directly to their message.

If the user is not logged in, they see "You are not logged in." on the page, if they log in as the wrong user, they see: "This message cannot be displayed.
Possible reasons:
You have no rights to read this message.
The message has been deleted."

If they log in as the right user, they immediately see their message.

Seems like the best result.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.201 seconds