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

6 years 7 months 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.

Please Log in to join the conversation.

6 years 7 months ago #296520 by w2kd
[solved]
My configuration error.
If you have one invalid autoaction it stops subsequent ones from working.

Please Log in to join the conversation.

6 years 7 months 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 - 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.

Moderators: beatnantkrileon
Time to create page: 0.217 seconds

Facebook Twitter LinkedIn