Hi Kevin,
First, thank you for this amazing plugin! I was astonished to learn a WordPress doesn't have these types of features built in. Now on to my question…
I have set up a daycare school WordPress + Role Scoper site that has 2 private (registered users only) sections: 1) Parent Section, 2) Teacher Section. I am utilizing 2 user groups called: 1) Parent, 2) Teacher. "Parent" users only have access to the Parent Section, while "Teacher" users have access to both sections.
By default, all new registered users are assigned to the "Parent" user group, and thus, are only given access to the Parent Section. The problem I have is when teacher registers. Right now, the only way to assign someone to the "Teacher" user group is to manually log into WordPress and put them in that group. What I would like to be able to do is set things up so that when a teacher registers, they can enter an invitation code and if it validates, have WordPress automatically assign them to the Teacher user group. Is this possible?
FWIW, I realize the invitation code/validation is a separate part of the puzzle from Role Scoper. I guess I am trying to figure out what the code would like like to make a function call to WordPress/Role Scoper to change a user's assigned User Group.
Any pointers or guidance you might provide would be greatly appreciated!