Log In And Return To Previous Page

5 years 2 months ago #310741 by bins
When registered In Jevents, there is a setting where a registered user/members details are checked and if members, they have to login to register for an event. If a member, a message appears telling them to login and they will be returned to the event (details filled in, just having to press 'register').

All works fine, but it appears that when members login, they are now not going back to the event (last) page.

The login link/code in the message is:
<a href="%s" title="login">

This creates this link:
/component/users/?view=login&return=aHR0cHM6Ly93d3cueW91cmJ1c2luZXNzY29tbXVuaXR5LmNvLnVrL2V2ZW50cy9ldmVudGRldGFpbC8xMjM2Ny95YmMtbWVnYS1icmVha2Zhc3Q=&Itemid=2998

In member plans I have the home page shown as the url to go to after logging in and have removed this, without change.

Any thoughts?

Please Log in to join the conversation.

5 years 2 months ago #310746 by krileon
Replied by krileon on topic Log In And Return To Previous Page
CB will pick up the return in the URL and send users back to it as long as the return isn't being overridden by your CB Login Module login redirect parameter. If using CBSubs you'd also need to ensure you don't have a login redirect for your plans.


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.
The following user(s) said Thank You: bins

Please Log in to join the conversation.

5 years 1 month ago #310858 by bins
Replied by bins on topic Log In And Return To Previous Page
Noted, thanks.
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.169 seconds

Facebook Twitter LinkedIn