Skip to Content Skip to Menu

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

redirect after login possibilities

8 years 7 months ago #278798 by akasharkbow
redirect after login possibilities was created by akasharkbow
I'm using the latest CB, CBSubs and CB AutoActions. My site is set up so that users with different CBSubs subscriptions are redirected to different pages upon login.

I have one page on my site where I have a login module at the top of the page - and if users of any type log in *on this page only* I would like to keep them on the same page.

Is there a way to do this via AutoActions?

Thanks in advance.

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

8 years 7 months ago #278832 by akasharkbow
Replied by akasharkbow on topic redirect after login possibilities
Update: I've found a workaround for this, by having NO redirect, and then using NoNumber's "Articles Anywhere" to show the relevant messages for each user type after login.

If you have a better solution, eg using AutoActions, I'm all ears - but I've achieved what I need (I think).

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 7 months ago #278849 by krileon
Replied by krileon on topic redirect after login possibilities
We don't have anything sent with the login form the make it unique to its location. So there's nothing for CB Auto Actions to really condition off of. So I don't see how this would work unless you used a template layout override and added a new POST input to the login form to keep track of where they came from (something simple like what view they're on maybe) then condition off that using CB Auto Actions.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum