variable name for the styleid as selected in the forum setup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jan Klerks
    Senior Member
    • Jul 2002
    • 265

    variable name for the styleid as selected in the forum setup

    As the title reads, I'm looking for the name of the variable that contains the setting for the styleid as set in the forum or page that is being displayed. I'm not looking for $styleid as that is the active style. I was expecting to find it at $forum[styleid] or $foruminfo[styleid] but those aren't it. Thanks in advance for any feedback.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74161

    #2
    The styleid is always referenced as part as the $vbulletin->userinfo or $bbuserinfo array. Look at global.php around line 212. If you want it in the $foruminfo array, you will probably need code to add it there and make it available to templates.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...