10
Quote:
fdeconiac wrote:
I'm still looking how to change the default group of new user...
I would like new user in the group "13"... does anyone already hack this ?
At this time things are hard coded to ALWAYS start out at the registered user group level.
Unless you have more than one group to choose from at registration this should be sufficient and you just need to change the name of the registered users. I do this with my system.
You can always add them to a group afterwards. I have hacked a version of xroster where an entry is tied to a user when they apply. When the application is accepted they automatically go to a default user group. If they are deleted or deactivated they automatically are dropped from that group as well. (Xroster allows offsite users to have entries but it is nice that I can allow people to log into the site and make their own entry and edit it as well. These are NOT normal xroster features and are things I added. )
If however you need to have choices to which group someone goes to you will have to hack the profile module to make this happen. Or if you don't have profile installed you will have to hack the core profile stuff. As an example, if you want a female and a male group and all the males belong to the male group and all the females belong to the female group depending on what they choose at registration this is currently NOT possible without somewhat extensive coding changes.
Rodney