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.1 Released by EzPortal
February 11, 2019, 10:07:05 pm

Re: ezPortal 4.1 Released by EzPortal
February 10, 2019, 09:24:08 pm

Re: ezPortal 4.1 Released by arslun
February 10, 2019, 09:21:20 pm

Re: ezBlock listed as installed by EzPortal
January 30, 2019, 09:49:33 am

Re: ezBlock listed as installed by Trower
January 30, 2019, 06:48:34 am

Re: How to change Forum text for link by Mont
January 14, 2019, 01:06:10 am

Re: How to change Forum text for link by EzPortal
January 13, 2019, 01:46:23 pm

How to change Forum text for link by Mont
January 13, 2019, 11:35:11 am

+- HTML Menu


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

Author Topic: url seperating and compiling again (php)  (Read 3606 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

23 Guests, 0 Users
Powered by EzPortal