Quote:
Originally Posted by ReCom
Each style/theme has its own "StyleVars" page in AdminCP > Style Manager. Within that page there is a section titled "Image Paths" where paths for various types of images can be modified for that particular style:
- Button Images Folder
- Item Status Icon Folder
- Attachment Icons Folder
- Miscellaneous Images Folder
- Text Editor Controls Folder
- Poll Images Folder
- Ratings Images Folder
- Reputation Images Folder
You can put the buttons for dark theme in, say /images/dark/buttons and point "Button Images Folder" to that folder. Users who browse in that dark theme will see button images from that folder while those browsing in default style will see the default buttons.
But if you still want to access the style id from plugins or templates, it's
Code:
$vbulletin->userinfo['styleid']
|
Thanks a LOT bro
--------------- Added [DATE]1227596983[/DATE] at [TIME]1227596983[/TIME] ---------------
Quote:
Originally Posted by ReCom
Each style/theme has its own "StyleVars" page in AdminCP > Style Manager. Within that page there is a section titled "Image Paths" where paths for various types of images can be modified for that particular style:
- Button Images Folder
- Item Status Icon Folder
- Attachment Icons Folder
- Miscellaneous Images Folder
- Text Editor Controls Folder
- Poll Images Folder
- Ratings Images Folder
- Reputation Images Folder
You can put the buttons for dark theme in, say /images/dark/buttons and point "Button Images Folder" to that folder. Users who browse in that dark theme will see button images from that folder while those browsing in default style will see the default buttons.
But if you still want to access the style id from plugins or templates, it's
Code:
$vbulletin->userinfo['styleid']
|
Hi... unfortunately the code is not working. I am unable to get the styleid.