The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Where is $usergroupid given its value? i.e in which file is this value assigned?
I want to know as ive got a little hack coming along nicley using a switch statement to set certain things up for users based on there usergroup id in the postbit
|
|
#2
|
||||
|
||||
|
I believe global.php. IF im not mistakin. I very well could be.
|
|
#3
|
||||
|
||||
|
ive been looking about in global but i can find the variable there..
i will have a closer look tonite after work |
|
#4
|
||||
|
||||
|
Do you mean $bbuserinfo[usergroupid] ?
- miSt |
|
#5
|
||||
|
||||
|
$usergroupid is always defined temprarily in functions to work with.
the only global usergrouoid is $bbuserinfo['usergroupid'] and that's defined in globa.php or sessions.php i'm not absolutely sure
|
|
#6
|
||||
|
||||
|
thnx xenon
i will maodify my code now to work.. witht he info given and see how it goes
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|