vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Registered Group Details (https://vborg.vbsupport.ru/showthread.php?t=42500)

Okiewan 08-20-2002 04:48 PM

And now to look a gift horse in the mouth :)
Any way to select with groups to display ?
Purdy please? There are several I don't want to display, like waiting confirmation, banned, etc.

Thanks in advance. :)

NTLDR 08-20-2002 04:56 PM

Quote:

Originally posted by Okiewan
Any way to select with groups to display ?
Find:
PHP Code:

LEFT JOIN user ON (user.usergroupid usergroup.usergroupid

And add after it (for one group):

PHP Code:

WHERE usergroup.usergroupid='x' 

Changing x to the usergroupid.

Or, For Multi groups:

PHP Code:

WHERE usergroup.usergroupid='x' or usergroup.usergroupid='x' or usergroup.usergroupid='x' 

To Add/remove groups from this just add/remove:

PHP Code:

or usergroup.usergroupid='x' 

Remember to change x to the usergroupid :D

Okiewan 08-20-2002 05:16 PM

:)

For the "For Multi groups:" of the code you posted, entering a group id there excludes that group from showing up... works fine. I expected that to include the groups.

Thanks again!

NTLDR 08-20-2002 05:21 PM

I've edited the post and chaged it so that you specify which groups to include, not exclude :)

ULTIMATESSJ 08-20-2002 06:06 PM

Quote:

Originally posted by Attrox
I wish I could think of ideas like you...I havn't had any unique ones lately. Your lucky, write the hacks while you still can. ;)
heh at least i'm not the only one with no idea's :ermm:

Austin Dea 08-20-2002 06:18 PM

Nice hack, but I used the usergroup version from NTLDR ;D.

Kars10 08-27-2002 05:38 PM

Great Hack!
/me klicks the Install-Link!

Crazy Pete 12-03-2002 06:00 PM

How could one not have this set to count custom titled people in the last group, but instead make them their own category of "Custom Titles" whatever%?

The reason I ask is because I have it set that you can set a custom title after 25 posts, but the biggest regular title group is 1000 posts. 6 people have custom titles assigned, and I have 0 in the biggest group (1000 posts). When I view the details, it says my biggest group has 6 people in it.

How would I change this?

Boofo 01-28-2003 01:18 PM

I'm having a slight problem with this showing up. I have my $numbermembers in the forumhome_pmloggedin template instead of the forumhome. I'm sure this is the problem, but how can I get it to work from there?


All times are GMT. The time now is 07:12 AM.

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.01008 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete