The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Help converting a short template mod to VB4
I had this installed on my 3.x forum and worked flawlessly, however with the vb4 upgrade I just did I am completely out of date with the new code structure of vb4. Can someone lend a hand as to what I need to do to get this to work now? It was a great add-on for our board.
It was lifted and customized a little more from this original mod. http://www.vangic.eu/forum/printthread.php?t=44 This is how I last had it running on VB 3.5+ up until I installed to vb4. This is in the postbit template. HTML Code:
<if condition="THIS_SCRIPT == 'showthread'"> <if condition="$jointime > 1825"><img src="$stylevar[imgdir_misc]/goldstar.png"/> <if condition="$jointime > 3285"><img src="$stylevar[imgdir_misc]/star.png" /></if> <if condition="$jointime > 2920"><img src="$stylevar[imgdir_misc]/star.png" /></if> <if condition="$jointime > 2555"><img src="$stylevar[imgdir_misc]/star.png" /></if> <if condition="$jointime > 2190"><img src="$stylevar[imgdir_misc]/star.png" /></if> <else /> <if condition="$jointime > 1460"><img src="$stylevar[imgdir_misc]/star.png" /></if> <if condition="$jointime > 1095"><img src="$stylevar[imgdir_misc]/star.png" /></if> <if condition="$jointime > 730"><img src="$stylevar[imgdir_misc]/star.png" /></if> <if condition="$jointime > 365"><img src="$stylevar[imgdir_misc]/star.png" /></if> </if> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|