The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
IPB Topic view
A friend gave me a code that displays badges. He used IPB and said put this in the topic view format field when creating the custom profile field.
Because I use vb, I edited the template and put the following code in as he said: Code:
<script type="text/javascript"> var badge; var badgeholder = "{content}"; var badges = new Array(); badges=badgeholder.split(" ... "); for (badge in badges) { var myBadge = badges[badge]; var badgeArray = myBadge.split("|"); document.write('<img src="http://www.mechscapeworld.com/images/badges/'+badgeArray[0]+'" title="'+badgeArray[1]+'" />'); } </script><br /> Please help! --------------- Added [DATE]1271322478[/DATE] at [TIME]1271322478[/TIME] --------------- Bump |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|