A_Jelly_Doughnut wrote:No, that probably isn't the error...that looks perfectly valid
Try changingto
- Code: Select all
'auto_default' => request_var('group_auto_default', 0),and let me know what happens.
- Code: Select all
'auto_default' => isset($_POST['group_auto_default']),
thanks
the default checkbox is working fine now 
I'm still having a problem though...
I have set a usergroup with a minimum post count of 500, so anyone with over 500 posts should be added to that group and made default. That works fine now, as it did it to me on my admin account when I posted.
I have another usergroup set with a minimum posts of 0 and a maximum posts of 149, so anyone between 0-149 should be joined to the group. I created a new account on my forum and made some posts, but it didn't even join the group =\ Have you got any idea why that might be?
I also have a feature request
It would be cool if there was a textbox underneath the 'default usergroup' checkbox where admins could enter usergroup IDs, and if the user was in one of those usergroups, it would not make the usergroup (which is being configured) default. The reason I say this is because on my forum I'd like all members with over 500 posts to be assigned to a usergroup and made default. However obviously if the user is an administrator or a moderator I want the admin group/global moderators group to remain their default.. so it would be nice if I could enter into the textbox IDs of the admin/mod usergroups (eg 5,6) and the 'make default' thing didn't apply to people in those usergroups. Sorry if I didn't explain it well but it probably isn't that hard to do :p




