The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Im trying to get
Code:
--new-- <if condition="$post['field5']"> <div class="postinfo"> <a href="http://bf2tracker.com/bf2_userprofile.php?bf2id=$post[field5]" target="_blank"><img src="$stylevar[imgdir_misc]/bf2.gif" alt="<phrase 1="$userinfo[username]">$vbphrase[view_bf2_stats]</phrase>" border="0" /></a></if> <if condition="$post['field6']"> <a href="http://xxxx.hlstatsx.com/?mode=playerinfo&player=$post[field6]" target="_blank"><img src="$stylevar[imgdir_misc]/hlstatsx.gif" alt="<phrase 1="$userinfo[username]">$vbphrase[view_hlstatsx_stats]</phrase>" border="0" /></a></div> </if> ---new--- heres when i add the bf2 stats by itself ![]() then heres when i add the hlstatx by itself ![]() how can i fix this thanks |
#2
|
||||
|
||||
![]()
You probably want to enclose them each with the div tags:
<div class="postinfo"> your url here </div> Make sure that each condition has the beginning div tag and ending div tag. |
#3
|
|||
|
|||
![]()
Thing is im trying to get them to show up in the same box because they are both links to stats pages. I dont want them to show up in seperate boxes. ex
![]() |
#4
|
|||
|
|||
![]() Code:
<if condition="$post['field5'] OR $post['field6']"> <div class="postinfo"> <if condition="$post['field5']"> <a href="http://bf2tracker.com/bf2_userprofile.php?bf2id=$post[field5]" target="_blank"> <img src="$stylevar[imgdir_misc]/bf2.gif" alt="<phrase 1="$userinfo[username]">$vbphrase[view_bf2_stats]</phrase>" border="0" /> </a> </if> <if condition="$post['field6']"> <a href="http://xxxx.hlstatsx.com/?mode=playerinfo&player=$post[field6]" target="_blank"> <img src="$stylevar[imgdir_misc]/hlstatsx.gif" alt="<phrase 1="$userinfo[username]">$vbphrase[view_hlstatsx_stats]</phrase>" border="0" /> </a> </if> </div> </if> |
#5
|
|||
|
|||
![]()
yes it worked!! Thanks alot dude your the man
![]() ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|