The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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. |
#2
|
||||
|
||||
![]()
Is group 6 their primary or secondary grouping?
|
#3
|
|||
|
|||
![]()
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)
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|