Auto add members to a group


(Dje4321) #1

Is it possible to auto add groups once they reach a certain level or meet a certain condition? I want too add people to a custom group upon hitting certain condidtions.


(Jay Pfaffman) #2

That would take a custom plugin.


(Mittineague) #3

Currently members can be automatically assigned to groups when they first register based on email addresses. eg. all student@uni.edu can be put into a “student” group.

Poorly crafted database queries can have devasting effect, which is why Badge queries need to be explicitly enabled. So I don’t think it would be a good idea to make it easy for non-devs to experiment with group queries.

That said, badge query code and trust level code are where I’d look to get some idea of how to start building up an automatic group assignment plugin.