The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Postbit editing - Whats with this code?
I have the following code, the image displays properly but it doesnt link. Is the code correct?
Code:
<!-- / flags start --> <div> <if condition="$post[field6]"><a href="www.habbo.$post[field6]"><img src="images/flags/$post[field6].gif"></a></if> </div> <!-- / flags end --> This is very urgent. --------------- Added [DATE]1193967798[/DATE] at [TIME]1193967798[/TIME] --------------- I have made an addition to this, if the user edits for say the Habbo CA name with Sprained, a CA flag will come up with a link to www.habbo.ca/home/Sprained - and, same thing for how many ones they add. But it does not seem to be showing up. Code:
<if condition="$post[field7]"><a href="www.habbo.com/home/$post[field7]"><img src="images/flags/US.gif"></a></if> <if condition="$post[field8]"><a href="www.habbo.ca/home/$post[field8]"><img src="images/flags/CA.gif"></a></if> <if condition="$post[field9]"><a href="www.habbo.co.uk/home/$post[field9]"><img src="images/flags/UK.gif"></a></if> <if condition="$post[field10]"><a href="www.habbo.com.au/home/$post[field10]"><img src="images/flags/AU.gif"></a></if> <if condition="$post[field11]"><a href="www.habbo.com.sg/home/$post[field11]"><img src="images/flags/SG.gif"></a></if> |
#2
|
||||
|
||||
you should have "http://www.habbo.com" instead of just "www.habbo.com"
|
#3
|
|||
|
|||
Yeah if you don't have the http:// it doesn't know you are linking to an external site.
|
#4
|
|||
|
|||
Thanks, now the images arent showing up though?
|
#5
|
||||
|
||||
You were only supposed to change the link part of your tag (a), not the image (img) part.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|