I need to make multiple usergroups for a specific mod but don't want to fill out the permissions manually for dozens of usergroups I need to make. They will all have the same exact permissions. How do I automate this so I don't have to manually do each one at a time?
I need to make multiple usergroups for a specific mod but don't want to fill out the permissions manually for dozens of usergroups I need to make. They will all have the same exact permissions. How do I automate this so I don't have to manually do each one at a time?
Each one will have a different type of banner/rank. Don't want to have to manually assigned banners to each member. If they upgrade to the different usergroup, it should be fully automated. The only part I'm missing is how to bulk create user groups.
Maybe because he wants to use different user group titles for them (like I'm thinking of doing on one of my forums - HD Owner, Honda Owner, Kawasaki Owner, Suzuki Owner, etc)?
I could also see the same thing being done on a football related forum.
Maybe because he wants to use different user group titles for them (like I'm thinking of doing on one of my forums - HD Owner, Honda Owner, Kawasaki Owner, Suzuki Owner, etc)?
I could also see the same thing being done on a football related forum.
Okay so it's not built in but howabout through mySQL. What tables do I need to use besides xf_usergroup (which one is for user permissions) and can I use and basically insert new rows automatically.
Firstly I'm assuming that you are following the recommended way of using usergroups and have the Registered group as the primary group. That means all of these other groups are secondary ones.
If all these secondary groups have exactly the same permissions then you could do it this way:
create one user group (let's call it the Promoted group) with the required permissions that all can be assigned to
create the multiple user groups with no additional permissions, just the different banners
Set any required permissions in nodes for the multiple user groups but not the Promoted group
You can then add users to the Promoted group plus the one additional group that you require.
Yes, there's a lot of groups to set up but you only have to set permissions in one of them and just banners in the rest.
This works but it wouldn't work for the Ice Shop Mod because it only changes the primary usergroup. Your steps would however would work for an alternative mod but not the Ice Shop Mod.
This works but it wouldn't work for the Ice Shop Mod because it only changes the primary usergroup. Your steps would however would work for an alternative mod but not the Ice Shop Mod.
PLEASE... PLEASE...PLEASE... don't get in the habit of changing the primary group. You can cause yourself MORE headaches than it's worth by doing that. Best Practices follow the "everybody is a Registered Member" and then stack the additional groups on top.
PLEASE... PLEASE...PLEASE... don't get in the habit of changing the primary group. You can cause yourself MORE headaches than it's worth by doing that. Best Practices follow the "everybody is a Registered Member" and then stack the additional groups on top.