My usergroup is 98 and my styleid is 39. Is this code correct? It seems to have worked!
PHP Code:
if (is_member_of($vbulletin->userinfo,98)) // Usergroups //
{
$userselect = 0;
$styleid = 39; // Style id //
$vbulletin->userinfo['styleid'] = $styleid;
$vbulletin->options['styleid'] = $styleid;
}
Now one more thing and I will leave you alone - got any ideas how I can disallow the style pick box on my "special" style??? I don't want the users in my usergroup to be able to pick a different style either on the main forum page or in their CP screen.