![]() |
Who hear knows how to use variables with VBadvanced?
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. |
Is group 6 their primary or secondary grouping?
|
I beleive it is the primary usergroup id. I went into usergroup in the admincp, and next to the group I want to display for is Edit Usergroup (id:6)
|
All times are GMT. The time now is 04:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|