While developing or HTML-coding a Cotonti-powered website you ofter come across a situation when you have to output separate HTML code for different groups. Let's say, you need a block for admins only. The standard solution looks like:
<!-- IF {PHP.usr.maingrp} == 5 -->
This text is for admins only
<!-- ENDIF -->
This, however, only works for a main usergroup. What if you assign a secondary group "Donator" for a member of the "Members" group?
Usergroups is a tiny plugin designed to give...