+ Reply to Thread
Results 1 to 4 of 4

Thread: Displaying all membered to a primary usergroup

  1. #1
    Senior Member bi11i is on a distinguished road bi11i's Avatar
    Join Date
    Sep 2004
    Location
    NW US
    Age
    34
    Posts
    133

    Displaying all membered to a primary usergroup

    I'd like to be able to display all the members from a certain usergroup in my 'What's Going On?' box. (ie, listing all of the members from a 'donating' usergroup on my front page, regardless of online status, etc. Just a simple listing.)

    Is there an easy way to do this?

    For instance, in this code (forumhome template):
    Code:
     <tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
    <tr>
    <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
    <td class="alt1" width="100%">
    <div class="smallfont">
    <div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
    <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div> 
    </div>
    </td>
    </tr>
    </tbody>
    Is there any easy way to list all the members from usergroup x, right after the vbphrase[welcome_to_our...]?

  2. #2
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,692
    There is no function to do this. I am pretty sure this requires modifying the code. We cannot officially support code modifications or forums running modified code, however can try searching or asking for help with this over at www.vbulletin.org.
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


  3. #3
    Senior Member bi11i is on a distinguished road bi11i's Avatar
    Join Date
    Sep 2004
    Location
    NW US
    Age
    34
    Posts
    133
    Darn. Yes, I've checked over there and usually get the same answer ("Oh, that's easy" with no solution, or that it requires code modification.)

    Thanks for getting back to me on it. I'm honestly suprised there's no easy way to just list all the users belonging to a group (like you can in the admincp, when showing all primary members from a usergroup....)

    Well, thanks for your help. Perhaps I'll find what I'm looking for eventually....

  4. #4
    Customer Support Manager Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol is a name known to all Steve Machol's Avatar
    Join Date
    Jul 2000
    Location
    Jelsoft InterGalactic HQ
    Posts
    142,692
    Of course you can list people oin a usergroup with a query, but that is not what you asked. You wanted to incorporate this into a template and doing this will require modifying the code.
    Steve Machol, vBulletin Customer Support Manager
    "Have Copy, Will Paste" (when appropriate)

    Please do not email or PM me for vBulletin support. I will be more than glad to answer your questions on the vB Forums and in the support system.

    Just remember that what happens in localhost, stays in localhost.


+ Reply to Thread

Similar Threads

  1. Remove primary usergroup when user joins public usergroup
    By DougM in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 4
    Last Post: Sun 26th Dec '04, 1:43pm
  2. Convert Secondary UserGroup to Primary UserGroup
    By JustAskJulie in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 1
    Last Post: Thu 2nd Dec '04, 11:12pm
  3. User ranks for primary usergroup not displaying
    By kontrabass in forum vBulletin 3.0 How Do I and Troubleshooting Forum
    Replies: 2
    Last Post: Fri 30th Apr '04, 1:27pm
  4. More than one primary usergroup
    By Shane in forum vBulletin Suggestions and Feedback
    Replies: 1
    Last Post: Sat 27th Dec '03, 2:28pm
  5. When changing primary usergroup...
    By Shane in forum vBulletin Suggestions and Feedback
    Replies: 1
    Last Post: Thu 25th Dec '03, 5:51pm

Bookmarks

Posting Permissions

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts