kobescoresagain
04-06-2006, 05:52 PM
I want to be able to us variables from the forum with VBadvanced. I was told I should be able to do something like this.
if ($vbulletin->userinfo['usergroup'] == 6)
{
// Your code here
} else {
//something else here
}
Well this never works, it always says that they are not part of group 6 even if they are. I asked around again and someone told me that I needed to include global.php I did included that in the page that shows the custom content and then some of navagation bar just stopped working. I am not sure what exactly I need to do so I can get this to work. Please someone help me.
Also I don't know exactly what information you will need to help me on this. I will provide everything I can though.
if ($vbulletin->userinfo['usergroup'] == 6)
{
// Your code here
} else {
//something else here
}
Well this never works, it always says that they are not part of group 6 even if they are. I asked around again and someone told me that I needed to include global.php I did included that in the page that shows the custom content and then some of navagation bar just stopped working. I am not sure what exactly I need to do so I can get this to work. Please someone help me.
Also I don't know exactly what information you will need to help me on this. I will provide everything I can though.