The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Variable Help
I have a product that is hard coded in a lot pf places when it comes to images.
(edit, delete, etc) I want the images to change with the theme, can someone please tell me the variable(s) I need to use in my template to make this happen. Right now it is hard coded at "/images/delete.gif" |
#2
|
|||
|
|||
There are 14 image variables in vB...
Code:
imgdir_attach imgdir_button imgdir_cms imgdir_editor imgdir_gradients imgdir_icons imgdir_misc imgdir_mobile imgdir_pagination imgdir_rating imgdir_reputation imgdir_searchresults imgdir_siteicons imgdir_statusicon Code:
{vb:stylevar imgdir_misc}/delete.gif |
#3
|
|||
|
|||
Thank you. I am trying to make sure the images change with the theme. With your help I am sure I can get it to work.
Thanks Again |
#4
|
|||
|
|||
I am working on the path for the product and I got it to work in the plugin and templates but I noticed some of the php files are hard coded.
I am using the following in the plugin and it works just fine. '. $vbulletin->options['custom_path'] .' what would I use in the php files? Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|