Auto Action -> Login redirect to a unique menu item for each user

1 month 1 day ago #296519 by w2kd
I have set up for one user
Global setting of trigger - onAfterLogin Type -> Redirect
Condition [username] Equal To "username blah"
Action ULR to menu item.

This works but when I setup a second auto action for another user with a different URL the first one created stops working.
If I disable the second item then the first works.

So it appears that only one auto action is check when a user logon.

I was expecting to have about 25 different redirect for 25 different users.
1 month 1 day ago #296520 by w2kd
[solved]
My configuration error.
If you have one invalid autoaction it stops subsequent ones from working.
1 month 1 day ago #296528 by krileon
It's not that your action is invalid it's that you're doing a redirect. Redirects should be done last as they interrupt the process. It also maybe better to use a field accessible only to moderators to specify a login redirect. Then you only need 1 auto action checking if that field has a value and if it does redirect to it. This would allow you to individually specify redirects per user instead of making an auto action per user.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
Moderators: beatnantkrileon
Time to create page: 0.162 seconds
Facebook Twitter Google LinkedIn