The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
stylevar[imgdir_misc] in CMS widget
Hi
I am creating a widget where i need the stylevar[imgdir_misc] and other image directory paths, but i am drawing a blank on these. Can someone please point me in the right direction. Thanks. |
#2
|
||||
|
||||
{vb:stylevar imgdir_misc} = link to misc Dir inside img folder.
and {vb:stylevar imgdir_<FOLDERNAME>} most of the time Weither its true always im not sure, but it is for bottons and misc. i only use bottons and misc, for standard img dir's. |
#3
|
||||
|
||||
Hi, sorry i think i should have been more specific. I mean in my PHP Direct Execution widget, when I do
PHP Code:
|
#4
|
||||
|
||||
I dont think it is defined in global for use in php..
so you have to define it yourself, maybe if using costum images for your mod, create your own img folder sub inside the /images/modcostumimagesfolder/ and remember to add a blank index.html file. Its easy to define in your script.. here is the test i just did to check if stylevar is defined in global. PHP Code:
|
#5
|
||||
|
||||
Hi
for the benefit of anyone else looking for this, we can use the php code below to define image directories PHP Code:
|
#6
|
||||
|
||||
Quote:
.Me |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|