We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19726
    • 239 Posts
    This is an auto-generated support/comment thread for ShowMembers.

    Use this forum to post any comments about this addition or any questions you have regarding its use.

    This snippet will list all members in a given webgroup. There are several options that allow you to customize the output.
      • 6726
      • 7,075 Posts
      Cool snippet Mitch, one great addition for community websites grin

      I’ll give this a test run !
        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l'outil id
        • 6024
        • 17 Posts
        I want to display username ,not Fullname.
        Can i do ?
          • 19726
          • 239 Posts
          This is currently not possible.
          I will see if I have some time later this week to see if it can be added.
          • This displays usernames only... http://modxcms.com/ShowUserList-Snippet-1020.html
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 27751
              • 45 Posts
              MODx 096 is not listed, but has anyone had success with ShowMembers in MODx .96? I set it up and it produces no output.
                Dedicated CENTOS 5.5 x86_64 standard WHM 11.28.64
                Apache/2.2.17 | PHP/5.2.15
                MySQL Version 5.0.91 | MODx Revolution
                • 19726
                • 239 Posts
                I did a quick test on my site and it seems to work OK. Can you post the exact call that you are using and doublecheck the following:

                - the snipetname and parameters are spelled correctly (case sensitive)
                - the webgroup exists and has members with the desired fields filled in
                  • 27751
                  • 45 Posts
                  Thanks Mitch,

                  "ShowMembers" is the name of the Snippet. It is v1.0
                  [!ShowMembers? &webGroup=`members`!] where "members" is the name of the group.

                  Once I get some output I will get more specific.
                    Dedicated CENTOS 5.5 x86_64 standard WHM 11.28.64
                    Apache/2.2.17 | PHP/5.2.15
                    MySQL Version 5.0.91 | MODx Revolution
                    • 25307
                    • 114 Posts
                    Working well for me so far too on 0.9.6 with this config..

                    PHP Version 4.4.4, MySQL 5.0.19, Apache (on MAMP)

                    and using (any of) these calls...

                    [!ShowMembers? &webGroup=`members`!]
                    
                    [!ShowMembers? &webGroup=`members` &tpl=`Obi.memberTpl`!] 
                    
                    [+ShowMembers.Count+]
                    
                      • 27751
                      • 45 Posts
                      Thanks Robot! I went and tried again and it is working. Wierd.
                        Dedicated CENTOS 5.5 x86_64 standard WHM 11.28.64
                        Apache/2.2.17 | PHP/5.2.15
                        MySQL Version 5.0.91 | MODx Revolution