The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
In 3.8, there was the following code, which sets the current style in global.php.
Code:
// #############################################################################
// ######################## START TEMPLATES & STYLES ###########################
// #############################################################################
$userselect = false;
// is style in the forum/thread set?
if ($codestyleid)
{
// style specified by forum
$styleid = $codestyleid;
$vbulletin->userinfo['styleid'] = $styleid;
$userselect = true;
}
Where is this code in 4.0? |
|
#2
|
||||
|
||||
|
Doing a Search in the vB files for "$vbulletin->userinfo['styleid']" gives me class_bootstrap.php - function fetch_style_record
|
|
#3
|
|||
|
|||
|
Where is the global $style variable saved? I want to add another variable in the same level.
|
|
#4
|
||||
|
||||
|
I do not know. Do a search in your files for the variable and you should find what you are looking for.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|