1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Grab Users from Usergroup

Discussion in 'Add-on Requests [Archive]' started by John L., Feb 23, 2011.

  1. John L.

    John L. Well-Known Member

    Hi Guys,

    I am looking for someone who has a quick minute to write me up some PHP code I can use anywhere that would essentially grab users information from usergroup(s) I specify. So If I want to list out my admins and moderators, I would set that and it would list out:
    • username
    • ID
    • Usergroup Name
    • Gender Name
    • Custom Service (if possible)
    Thanks for the help!
     
  2. James

    James Well-Known Member

    Have you considered the template system to do this for you? Or are you using it externally from XenForo?
     
  3. John L.

    John L. Well-Known Member

    External, putting it on a page in Wordpress.
     
  4. Russ

    Russ Well-Known Member

    Not sure if you've checked out : http://xenforo.com/community/threads/xenstaff.5072/



    It pulls whichever groups you designate, shows their avatar, username, usergroup, and gender. The only downside to the mod is there's no way of organizing the display list currently, it shows the groups depending on which was created first.


    Scratch that just saw the wordpress post*
     
  5. John L.

    John L. Well-Known Member

    Haha, yea need this for WordPress. I'm using shortcode exec to create PHP code to run. Just need the code :(.
     

Share This Page