Groups page

Lists custom groups with their members on a separate page. Ideal for small groups

Requested by JohanNL, here is a simple page that lists all your custom groups and their members.
It's a very simple snippet, requiring only 1 file edit

Some of the features:

By default, the group leader is the 1st user in the list and their name is in bold. If there is no group leader, then none is shown. If there are no members, no members are shown. If there is neither a leader or any members, but the groups exists, the box will show a message like "This group does not have a leader assigned" or "There are currently no members in this group".

All styling is done in the HTML file itself, so if you want to change font sizes or things like that, change them there. I also included a little bit of CSS3 - rounded corner borders. Just remove the CSS and the class="round" if you don't want that.

I should note that there is no pagination of any sort included with this script and it will pull all members of custom groups onto that one page. So if you have a group with 100 or 1000 members, you may wish to exclude that group ;) This snippet is ideal for small groups of people you wish to give recognition to.

Download

#
#-----[ COPY ]------------------------------------------
#
groups.php to groups.php
language/en/mod/groups.php to language/en/mod/groups.php
styles/prosilver/template/groups_body.html to styles/prosilver/template/groups_body.html
#
#-----[ DIY ]------------------------------------------
#
Find a suitable place to add your link to your groups page, whether it's on the header or footer or custom page