Please Log in or Create an account to join the conversation.
The last visit date is updated during the login process and believe it also gets set on logout. That's simply how it functions. Please keep this in mind when trying to do any behavior on it.The [lastvisitdate] condition [lastvisitdate] Not Equal To 0000-00-00 00:00:00 does not work in fields as well since the [lastvisitdate] get set before the condition is tested.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Try conditioning against 1 or 0 instead of true or false.Thanks but "[var3] is equal to false" fires on first login. So I still cant prevent an auto action to fire on first login.
CB does. Leave the login redirect URLs completely blank. If a return URL is available CB will use it. If one isn't sent with the URL (as &return=BASE64_ENCODED_URL) then it can't return them as it has no idea where to return them to. If this is not working edit "Community Builder System plugin" within Extensions > Plugins and ensure under Parse URLs you have the following configuration.And again: Why is CB not behaving like Joomla, meaning redirecting the user after login to the page he was on when he logged in? I would not have to deal with that whole thing at all.
carin wrote: I have an "onAfterLogin" redirect action. How do I prevent that action from executing on first login after registration so it does not override the "First Login Redirect"-value in the cb configuration?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I suppose you could have a checkbox field that you toggle to checked after a login that isn't their first login then condition against that checkbox field. Another option maybe 2 auto actions 1 that adds a usergroup if it's their first login then another that removes it if it's not their first login. Then you'd condition against that usergroup or a view access level that includes that usergroup. This would avoid needing a field for it and allows ACL usage throughout your site for first visit.Now I still have the problem with that other field that should only show up on the first login. How would I achieve that since the [lastvisitdate] is no option?
Please Log in or Create an account to join the conversation.