I looked in the code, I tried to use this two codes:
PHP Code:
$youname = $vbulletin->userinfo['username'];
if ($yougroup == 1)
{
$youname = $vbulletin->options['adyoubop5_you'];
}
elseif (in_array($yougroup, explode(',', $vbulletin->options['adyoubop5_im'])))
{
$youname = "[YOU]";
}
And this:
PHP Code:
$youname = $vbulletin->userinfo['username'];
if ($yougroup == 1)
{
$youname = $vbulletin->options['adyoubop5_you'];
}
if (in_array($yougroup, explode(',', $vbulletin->options['adyoubop5_im'])))
{
$youname = "[YOU]";
}
But it didn't worked out. Why? Any idea?
And there's second limitation. Again with multiple usergroups. If user belongs to at least one prohibited group, he couldn't use you code.