I have menu items which are different for logged in users and for guests. Joomlas ACL allow to show only the items for the appropriate group.
When a user starts browsing as guest then and clicks one of the guest menu items and logs in, then I am getting a 403 error, obviously because the redirect of the CB login tries to return the user to the latest link. But as the user has changed from a guest user to a registered user he is no longer allowed to that ressource.
Probably the same will happen when a logged in user is viewing a ressource for him and logs out......
I tried the Joomla redirect which did not solve the problem. As I am using the CB login module for login I would say it is kind of a CB issue as it is the CB part that is trying to return the user to the ressource last visited.
I will now try to solve it by using the autoactions plugin but I wonder if there is a solution without the need of this plugin?
Don't need a Joomla extension for that. Use CB Auto Actions and setup Redirect actions for the after login trigger then adjust the Access as needed.
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.
Hmmmmm. Weird. I tried that and it did not work. So I obviously did something wrong.
Nevermind, I have purchased that redirect extension and it works just great with a dynamic redirect.