ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How do I display a list of members from a specific group into a template?

September 05, 2007 1:08am

Subscribe [3]
  • #1 / Sep 05, 2007 1:08am

    Kris Khaira

    38 posts

    Hi,

    How do I display a list of members from a specific group into a template? My situation is like this:

    * I have many members in my website
    * I’m trying to make an About page for the organization
    * Only members from a group named Team should be listed there

    See this image for an example of what I want.

    I’ve looked at and tried the examples on these links but they don’t let me pull out members from one group:
    http://ellislab.com/forums/viewthread/23806/
    http://ellislab.com/forums/viewthread/59931/
    Member Info plugin

    Thank you for EE.

    [Moderator Edit: Moved to How To forum]

  • #2 / Sep 05, 2007 1:51am

    ExpressionEngineer

    148 posts

    Hey Kris,
    try this sql in the query module:

    SELECT screen_name, photo_filename, bio FROM exp_members WHERE group_id='GROUP_ID'

    where GROUP_ID is the team member group id.

    best
    Andy

  • #3 / Jun 15, 2008 11:50am

    klick

    49 posts

    hi ExpressionEngineer,

    thanks for this reply. got that working 😊

    one question though:
    is it possible to display custom profile fields using the query module?

    thanks
    marcus

  • #4 / Jun 15, 2008 2:41pm

    klick

    49 posts

    figured it out myself thanks to this wiki entry (Custom Member List) . 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases