The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Postbit - Adding Image/Awares to specific Users
I'm attempting to add an Award Image for a User who won a contest on my forum.
I've played around with postbit a little in the past & read quite a few tuts, so have a basic grasp of how it works. Here's the current code I came up with, hoping I can get some help to complete it. Is $username correct? Is this best way to insert an image? Code:
<if condition="$username['Maledict Dominus']"> <div> <a href="(Link to Contest Thread)"> <img src="(Link to Image)" border="0"/ ></a> </div> </if> Thx for any help. |
#2
|
||||
|
||||
Code:
<if condition="$username['Maledict Dominus']"> Code:
<if condition="$post['username'] == 'Maledict Dominus'"> --------------- Added [DATE]1246118368[/DATE] at [TIME]1246118368[/TIME] --------------- Oh, also... Code:
<img src="(Link to Image)" border="0"/ > Code:
<img src="(Link to Image)" border="0" /> --------------- Added [DATE]1246118519[/DATE] at [TIME]1246118519[/TIME] --------------- One MORE thing... You're probably well aware of this one, though, if you're adept at HTML. Add a title="(This Text Will Appear when Hovering Over The Award)" in the Image bit to get a bit more fancy. :3 |
#3
|
|||
|
|||
Thx alot for help. I tried the following, but nothing happened at all!?!
Code:
<if condition="$post['username'] == 'Maledict Dominus'"> <div> <a href="http://gamingcraft.net/forum/showthread.php?t=205"> <img src="http://www.gamingcraft.net/awards/diablo.jpg" border="0" /></a> </div> </if> How do I add that title in sorry? |
#4
|
||||
|
||||
Code:
<img src="http://www.gamingcraft.net/awards/diablo.jpg" border="0" title="Whatever you want to put in the title" /> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|