We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28215
    • 4,149 Posts
    This is an auto-generated topic for Peoples 1.0.0-beta1 by splittingred.

    Brief Description:

    Peoples is a simple User and User Group listing component for MODx Revolution. It can be used in community sites to show who is signed up as a User for a site, and any User Groups within that site.
    See the official documentation:
    http://rtfm.modx.com/display/addon/Peoples
      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • 17422
      • 225 Posts
      good snippet Shaun,

      is it possible to add a placeholders a email user or other attributes of the user (in the modx_user_attributes)

      [[+useremail]]

      Laurent
        • 28215
        • 4,149 Posts
        In which snippet?

        They are available, usually. In [[Peoples]] you can use any field in the modx_user_attributes table; IOW, [[+email]] would work.
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
          • 17422
          • 225 Posts
          yes in [[Peoples]]

          so fun

          thanks for your quick reply

          Laurent
            • 13736
            • 345 Posts
            If we wanted to use the Flexigrid jQuery plugin http://flexigrid.info/ and turn on the search option, how would we go about that. Or is there something built into MODx Revolution that we could make use of more easily?

            Basically I’m wanting to sort the columns and also be able to search. If I could offer live filtering that would be even better.
              • 13036
              • 8 Posts
              So happy I came across ’Peoples’ today. Solved a problem I was not even sure could be fixed. Nice Job!

              I am using the PeopleGroup snippet and I am curious about one thing though. I know you can use &sortBy to sort the results by any field but I am trying to sort the results by the users role. Specifically, the authority number associated with each role.

              Is this possible? I have not been able to figure this out.

              Thanks
                The most dangerous type of bear
                • 25562
                • 2 Posts
                Thanks for "Peoples"

                Can you help me with ordering by Profile fileds (particularly [[+fullname]]) ?
                  • 3866 ☆ A M B ☆
                  • 350 Posts
                  I’m using Peoples to list Users on a members only website where individuals have to register and then be activated manually which involves an email being created manually. I can see with Peoples you can list the individual users email account and also whether they are active or not - my question is, can you automatically send an email when you activate the individuals account through Peoples?

                  huh huh
                    Helen Warner
                    Number one pixel!
                    Proud to be linked with MODX at Crimson Pixel
                    • 15114
                    • 102 Posts
                    Quote from: rostik at Nov 24, 2010, 02:41 AM

                    Thanks for "Peoples"

                    Can you help me with ordering by Profile fileds (particularly [[+fullname]]) ?

                    Same questions. I tried with "fullname", but the only field that seems to work is username.


                    Julien
                      • 18453
                      • 66 Posts
                      Hello Shaun,

                      This add-on is great!

                      But I’m trying to filter the PeopleGroup by showing only the users from group "Drente" just like your example but it doesn’t work.

                      Call on my resource:

                      [[!PeopleGroups]]
                      
                      [[PeopleGroup? &usergroup=`Drente` &toPlaceholder=`users`]]
                      
                      <h2>[[+peoplegroups.name]] ([[+peoplegroups.userCount]] Users)</h2>
                      
                      <ul>
                      [[+users]]
                      </ul>


                      Output:

                      Administrator (1)
                      Client (1)
                      Drente (1)
                      Friesland (0)
                      Groningen (0)
                      Overijssel (2)
                      Spec-Location (2)
                      Spec-Studio (1)
                      
                      
                      Drente (0 Users)


                      Any clue??
                      Thanx in advance!!