The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Is it possible to have the rank icons change depending on the style that is being used? If "style1" is being used, the ranks are something like style1_rank1.png, style1_rank2.png, etc. If "style2" is being used, they will be style2_rank1.png, style2_rank2.png, etc.
Can a prefix be added in the individual style templates maybe? I am currently using the "text or html" field and an <img> tag in order to set the alt="" field. is there a way to maybe to put it there, something along the lines of <img src="path/$prefix_rank1.png" /> with each style setting their own prefix? Any help would be appreciated. Thanks. |
#2
|
||||
|
||||
![]() Quote:
![]() Try this: Code:
<vb:if condition="$bbuserinfo[styleid] == 3">Show this in the style with a ID of 3</vb:if> Code:
<img src="images/ranks/captain<vb:if condition="$bbuserinfo[styleid] == 3">1<vb:else />2</vb:if>.png" style="border: none;" alt="Captain" /> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|