The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ok i know nothing about coding what so ever so be gentle with me lol as there is no server status block for the PC game Black Hawk Down for vBulletin/vBadvanced i am trying to use an Iframe.
What i am trying to do is get a Iframe to point to a part of a page. The page i am trying to show is http://www.grimreapers.co.uk/csabhds...=servers2&id=1 This is the code i am trying to use. Code:
<iframe src="http://www.grimreapers.co.uk/csabhdstats/index.php?action=servers2&id=1#status" height="378px" width="200px" scrolling="no"> Alternative text for browsers that do not understand IFrames. </iframe> This is the html code of the page i am trying to point to. Code:
<block name="server_info"> <br> <table border="0" cellspacing="0" cellpadding="7" width="200"> <tr> <td valign="top" align="center"> <table width="100%"> <tr class="tableheader"><td colspan="2"></td></tr> <tr class="tablerow1"><td width="70">Game Name</td><td width="100">{server_name}</td></tr> <tr class="tablerow1"> <td>Map Age </td> <td>{age}</td> </tr> <tr class="tablerow2"><td>Map Name</td><td>{map_name}</td></tr> <tr class="tablerow1"><td>Game Type</td><td>{game_type}</td></tr> <tr class="tablerow2"><td>Players</td><td>{players}</td></tr> <tr class="tablerow1"><td>Dedicated</td><td>{dedicated}</td></tr> <tr class="tablerow2"><td>Game</td><td>{game}</td></tr> </table> <CENTER><IMG SRC="http://www.grimreapers.co.uk/csabhdstats/templates/online2.gif" BORDER="0"></CENTER> <td class="window1" align="center"> <tr><a name="status"></a> <table border="0" cellSpacing="1" cellPadding="3" class="border" width="180px" align="center"> <td class="title1" align="center"> <br> </td> <td valign="top" align="center"> <table border="0" cellspacing="0" cellpadding="3" width="25"> <tr class="tableheader"> </tr> <loop name="players"> <tr class="{players.class}" height="25"> <td width="110" valign="middle" align="center">{players.weapon_image}</td> <td width="100"><font class="{players.team}"><b>{players.name}</b></font></td> </tr> </loop name="players"> </table> </td> </tr> </table> </block name="server_info"> This is what i get ![]() This is what i want to get ![]() Thanks for any help in advance. |
#2
|
|||
|
|||
![]()
the iframe is doing exactly what you want ...when you call an external page it loads it into it. That is what you have done. It is pulling the whole page and you have it centered. If you change to right you will see it will move all the text. you need to just put the actually code stats in the frame .
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|