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.
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).
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.