vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   showing members of a specific usergroup in forumhome template (https://vborg.vbsupport.ru/showthread.php?t=76987)

bi11i 02-24-2005 08:16 PM

showing members of a specific usergroup in forumhome template
 
I'd like to list the members of a specific usergroup on my forumhome template, right after the 'Welcome to our....' phrase:
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>

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:
Quote:

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?


All times are GMT. The time now is 08:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01020 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete