vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Conditional if user is a member of a child user group? (https://vborg.vbsupport.ru/showthread.php?t=110219)

007 03-13-2006 08:20 AM

Conditional if user is a member of a child user group?
 
Is there a conditional to use to figure out if a user is a member of a child usergroup?

Say for example you have "Registered Users" and a member in that group. That member is also a member of child group "Consultants."

Is there a conditional, for example, like <if condition="$bbuserinfo[membergroupid]==X">

????????

Thanks.

~007

007 03-14-2006 07:44 PM

I still have not figured this out..

There has to be some sort of way to do this because it is already being done in the VB code. I have looked for it there as well but haven't been able to find out how to do it.

Does this all have to be done in the code, or is there a conditional I can use to check if somebody is a member of a certain group, and spit out a given result if they are?

Ahh.. got it. If anybody else is looking, here's the post I found it in:

https://vborg.vbsupport.ru/showthread.php?t=69993


All times are GMT. The time now is 04:03 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.00927 seconds
  • Memory Usage 1,709KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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