The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
how replacement variables work?
I still don't get how replacement variable in vb3 works.
For example if i have a dir named img in forum /image directory, and i want to call images in that /images/img dir by my replacement variable, and i tried all $stylevar[imgdir_img] imgdir_img stylevar[imgdir_img] and neither of them worked. anyone have an idea what's wrong? |
#2
|
||||
|
||||
Added folders won't work. These variables are pre-defined, and you'd have to define any other added folders through hacking. I'm not 100% on this, but I'm sure the stylevar variables calling images only work with the folders that are in /image that are there from default.
Someone can correct me if I'm wrong, but I'm sure it works like this. |
#3
|
||||
|
||||
thanks. yeah, i hafta be pre-defined. i got it worked now. i add $stylevar[...] in includes/functions.php and work like a charm.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|