![]() |
How can I convert this code for vb4 ?
Hello
I have this code for rounded image bb code.But not work with vb4, anybody help me ? Code:
<table border="0" cellpadding="0" cellspacing="0" align="center" style="margin-top: 5px; margin-bottom: 5px; width:$stylevar[codeblockwidth];"> |
You need to change all the conditions to be vb4 conditions, ie <vb:if, not just <if , and also convert all variables not used in conditions to use the vb4 syntax, ie {vb:stylevar imgdir_misc}, not $stylevar[imgdir_misc], and also change the way your phrases are called, ie. {vb:rawphrase quote}, not $vbphrase[quote]. I believe there is an article about this in the articles forums. Or, just look at a template in your Style Manager and you will see how it is now done.
|
Thanks Lynne, I'm not a code exper and still I get some error during save style. I changed many things but I thing some wrong code still here
, can you help me for this ? Last code is here, but I'm not sure it is ok or not. Code:
<table border="0" cellpadding="0" cellspacing="0" align="center" style="margin-top: 5px; margin-bottom: 5px; width:{vb:stylevar quote_container};"> |
Wow that's a lot of code to be asking for help with. ;)
You need to read up on some articles. Those tables and tds will need to be rewritten to divs as well. |
Quote:
|
There's articles to help you learn how to code yourself. Teach a man to code fishes. :D
|
Your phrase here:
HTML Code:
<phrase 1="$username">{vb:rawphrase originally_posted_by_x}</phrase> HTML Code:
{vb:rawphrase originally_posted_by_x, {vb:raw username}} |
All times are GMT. The time now is 02:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|