The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Image in Posbit Legacy Based On User Profile Field
Maybe you guys can help me. I have vBulletin 3.7.4 Patch 1.
I am trying to make an image display in Postbit Legacy based on the users answer to a question in their profile, but I can't seem to get it to work. Can you guys tell me how to get this working? Below is the code I have tried adding to the Postbit Legacy Template: Code:
<if condition="$post['field11']"><div class="smallfont">$post<img src="/images/misc/[field11].gif" /></div></if> |
#2
|
|||
|
|||
Quote:
Code:
<if condition="$post['field11']"><div class="smallfont"><img src="/images/misc/$post[field11].gif" /></div></if> |
#3
|
|||
|
|||
Quote:
That doesn't work either. |
#4
|
|||
|
|||
What's happening with it?
|
#5
|
|||
|
|||
Nothing. It doesn't post anything. It should be appearing right below the administrator title but it doesn't.
Here's a link: http://www.wowguideonline.com/forum/...?p=959#post959 |
#6
|
|||
|
|||
Looks like the code is fine, just the image is no there.
http://www.wowguideonline.com/images/misc/Alliance.gif make sure the image is in that location |
#7
|
|||
|
|||
Yes it is. See:
http://www.wowguideonline.com/forum/...c/Alliance.gif and the other option: http://www.wowguideonline.com/forum/...misc/Horde.gif --------------- Added [DATE]1232382669[/DATE] at [TIME]1232382669[/TIME] --------------- I got it to work, but i had to put the full URL of the graphic in. Any way to shorten it? Code:
<if condition="$post['field11']"><div><img src="http://www.wowguideonline.com/forum/images/misc/$post[field11].gif" /></div></if> |
#8
|
|||
|
|||
You might be able to just have /forum/images/misc/$post[field11].gif
not too sure on that, but if it's working, that's the main thing. |
#9
|
|||
|
|||
I think I'll leave it as it is. Like you said its working and that's all that matters. Thanks for your help.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|