EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

Re: ezPortal 4.0 Released! by EzPortal
September 07, 2018, 02:44:21 pm

Re: ezPortal 4.0 Released! by JorgeAVM
September 07, 2018, 02:28:46 pm

Re: ezPortal 4.0 Released! by JorgeAVM
September 07, 2018, 02:04:13 pm

Re: ezPortal 4.0 Released! by EzPortal
September 07, 2018, 01:56:41 pm

Re: ezPortal 4.0 Released! by JorgeAVM
September 07, 2018, 01:48:49 pm

ezPortal 4.0 Released! by EzPortal
August 13, 2018, 02:27:14 pm

Re: How to add pictures on recent post ezportal front page by Botango23
June 30, 2018, 03:38:18 am

Re: How to add pictures on recent post ezportal front page by EzPortal
June 29, 2018, 06:21:42 pm

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Author Topic: url seperating and compiling again (php)  (Read 3511 times)

0 Members and 1 Guest are viewing this topic.

Offline green

  • Posts: 1
  • Karma: 0
url seperating and compiling again (php)
« on: October 12, 2011, 08:17:00 am »
hey all;

i'm trying to get a Gametracker iframe working with 1 variable parameter, the parameter being the server ip:port

now it doesn't work:

Code: [Select]
<?xml version="1.0"?>
<!DOCTYPE block-info SYSTEM "http://www.ezportal.com/xml/block-info">
<block-info xmlns="http://www.ezportal.com/xml/block-info" xmlns:ezportal="http://www.ezportal.com/">
<id>Green:Gametracker</id>
<title>GameTracker ezblock</title>
<version>1.0</version>
<blocktype>php</blocktype>
<forumversion>SMF 1.1.x</forumversion>
<author>Green</author>
<website>http://meerweten.horizon-host.com/69th/index.php</website>
<editable>0</editable>
<can_cache>1</can_cache>
<parameter1>
<type>string</type>
<required>1</required>
<default>64.120.46.61:28960</default>
<title>Game server ip(registrated with Gametracker):</title>
</parameter1>

<blockdata>
<![CDATA[echo '<iframe src="http://cache.www.gametracker.com/components/html?host='.$parameter1.'&bgColor=333333&fontColor=CCCCCC&titleBgColor=222222&titleColor=FF9900&borderColor=555555&linkColor=FFCC00&borderLinkColor=222222&showMap=1&currentPlayersHeight=100&showCurrPlayers=1&topPlayersHeight=100&showTopPlayers=1&showBlogs=0&width=240" frameborder="0" scrolling="no" width="240" height="536"></iframe>';
]]>
</blockdata>

</block-info>

 

+-SMF Gallery

Quick Menu








Members Online

15 Guests, 0 Users
Powered by EzPortal