The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey guys, I have recently created my own little modification to my postbit where the member chooses their favourite album by an artist upon registering / in their usercp and it displays the album cover in the postbit.
![]() Using this code; HTML Code:
<div> <if condition="$post['field5']"> <img src="images/albumimg/$post[field5].png" alt="$post[field5]" border="0" /> </if> </div> HTML Code:
<div class="smallfont">$post[crowns]$post[champtext]</div> Thanks for reading! Hope someone can help ![]() Greg |
#2
|
||||
|
||||
![]()
Create another profile field "Would you like to show your album instead of your arcade trophies" (or whatever > Yes or No, then get the field number (fieldX) and do something like:
HTML Code:
<if condition="$post['fieldX'] == 'Yes'"> album code <else /> trophy code </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|