Quote:
Originally Posted by Medi0cr3
Code:
require_once('./global.php');
$username = mysql_real_escape_string($vbulletin->userinfo['username']);
$usergroupfield = $vbulletin->userinfo[usergroupid];
Only gets the viewing user's "usergroupid" usergroup. What exactly are you requiring?
|
I know
I create a file test.php
and insert that codes
so , my usergroup is 6 and when i run this page show 6
but for other users for example moderators and registered group display 1
1 is for unregistered group
this file can not detect other peoples
just work for me