Ok, that's done easily enough with CB Auto Actions. If you choose to go with CB Auto Actions more can be explained on how to set this up. Feel free to give it a try on our demo site as well as we provide backend and frontend demo access.Basically the way it works currently is on their profile page we give them a single option drop down, with "Company A, Company B and Company C" as option if they select Company A they are added to Company A's user group when they save their profile, and so on
Please Log in or Create an account to join the conversation.
I managed to figure out how to add a user to group A when they select Company A from a field, next question if they change the field selection from Company A to Company B, how do I get them added to Group B and removed from group A, can I set Auto Actions to "do inverse if check field value returns false".Please could you explain how to get this to work using Auto actions,
Please Log in or Create an account to join the conversation.
You can configure your usergroup action to replace usergroups instead of add/remove so you can replace it with Registered + CUSTOM_USERGROUP. That would remove all other usergroups.I managed to figure out how to add a user to group A when they select Company A from a field, next question if they change the field selection from Company A to Company B, how do I get them added to Group B and removed from group A, can I set Auto Actions to "do inverse if check field value returns false".
Does this imply you're going to have over 400 usergroups? I do not recommend doing it this way if that's the case. Joomla ACL is loaded everywhere. It should be as minimal as possible. My recommendation is no more than around 30 usergroups. Do you absolutely need these to be usergroups?I hope there is a simple solution, since I need to implement this on over 400 possible options on this "Company Name" field.
Please Log in or Create an account to join the conversation.