Log in

View Full Version : showing members of a specific usergroup in forumhome template


bi11i
02-24-2005, 08:16 PM
I'd like to list the members of a specific usergroup on my forumhome template, right after the 'Welcome to our....' phrase:
<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>

I'm wanting to list all the members of usergroup x, (x being the members of my donating users.) So I know to create a phrase called 'donating users' or something like that, but what magic code do i use t list the members of that specific usergroup?

Thanks!

amykhar
02-24-2005, 08:49 PM
It depends. If they are a primary user group, it's easy. If it's a secondary group, it's a bit trickier.

bi11i
02-24-2005, 09:49 PM
well, how about for a primary group?

bi11i
03-23-2005, 07:00 PM
I'm still struggling with this, so I'm going to bump it. I just can't seem to figure out how to simply list all the members of a specific group; i see this above:If they are a primary user group, it's easy. but it doesn't help much.

(I know this is probably super-easy, I just can't seem to figure it out.)

Any help?