fxdigi-cash
12-17-2014, 11:53 PM
Hi,
I want to know how to register a global variable {vb:raw my_var} as a link. I'm trying to do that to avoid time wasting when I have to change a url to my images, smilies, avatars, js scripts and etc...
for example: in css templates, we use it like this ---
{vb:raw vboptions.bburl}/images/sidebar.png
or maybe like this:
{vb:raw vboptions.bburl}/clientscript/vbulletin_css/style1.css
or maybe like this:
{vb:raw vboptions.bburl}/clientscript/jquery.js
so what I want is to register a global variable such as {vb:raw new_url} and add it to links above so I can change it anytime I move from a domain to another.
like this: {vb:raw new_url}/clientscript/jquery.js
I hope the idea is clear.
Thanks,
I want to know how to register a global variable {vb:raw my_var} as a link. I'm trying to do that to avoid time wasting when I have to change a url to my images, smilies, avatars, js scripts and etc...
for example: in css templates, we use it like this ---
{vb:raw vboptions.bburl}/images/sidebar.png
or maybe like this:
{vb:raw vboptions.bburl}/clientscript/vbulletin_css/style1.css
or maybe like this:
{vb:raw vboptions.bburl}/clientscript/jquery.js
so what I want is to register a global variable such as {vb:raw new_url} and add it to links above so I can change it anytime I move from a domain to another.
like this: {vb:raw new_url}/clientscript/jquery.js
I hope the idea is clear.
Thanks,