vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   join 1 of 2 specifc usergroups (https://vborg.vbsupport.ru/showthread.php?t=247066)

Crrrazzzy 07-22-2010 02:14 PM

join 1 of 2 specifc usergroups
 
i run a few free online gaming tournaments and am looking for a usergroup load balancer

user joins tournament A and gets placed in either usergroup 301 or 302 depending on which has the lower members

user joins tournament B and gets placed in either usergroup 303 or 304 depending on which has the lower members

i have a working tournament registeration for http://www.bfewaw.com/roster.php and it works perfectly, however since upgrading to VB4 i have yet to find something to work with http://myinternetservices.com/tournaments/

i should also mention that they need to be placed into the secondary usergoup and not the primary

--------------- Added [DATE]1279815372[/DATE] at [TIME]1279815372[/TIME] ---------------

a way to make it work by executing an sql like this

Code:

UPDATE `test_testvb`.`user` SET `membergroupids` = '301' WHERE `user`.`userid` =1;


All times are GMT. The time now is 05:19 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.00919 seconds
  • Memory Usage 1,712KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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