Hi EEers,
For a site I am developing we needed a way to output a list of members from a certain group and have the list link to page where you would see a bio of the group member and a list of articles they have written.
So, using the plugin like so:
{exp:memberlist member_group="1" url="{path=site/articles}" url_extension="member_id"}
Gives you this:
<li><a href="http://site.com/articles/1">Zac Gordon</a> <span class="member_group_titles">Super Admin</li>
<li><a href="http://site.com/articles/2">Saqib Ashraf</a> <span class="member_group_titles">Super Admin</li>
We could use the memberlist features that EE and the forum module has built in, but this was on a smaller, more specific scale. Originally we used the query module to do what we needed, but soon found that a plugin would make our lives easier.
There are some extra features, like the ability to use the username in the url instead of the member_id. You can also output the title of the member group that the member belongs to.
/********* Update Log: *********/
1.1 Added the ability to be able to orderby screen_name, username, or member_id and sort asc or desc.
1.2 Brian Litzinger added ability for multiple group ID declarations; converted from a single tag to a tag pair so you can control the markup of the results; added a parameter to only get members who have any blog/entry posts.
1.3 Bug fix for a sql query
/*******************************/
