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: How ot activate EZPORTAL when SMF under maintance mode? by EzPortal
October 24, 2018, 07:29:32 am

Re: How ot activate EZPORTAL when SMF under maintance mode? by albin2009
October 24, 2018, 07:28:15 am

Re: How ot activate EZPORTAL when SMF under maintance mode? by albin2009
October 24, 2018, 07:27:18 am

Re: How ot activate EZPORTAL when SMF under maintance mode? by EzPortal
October 24, 2018, 07:21:49 am

How ot activate EZPORTAL when SMF under maintance mode? by albin2009
October 24, 2018, 07:19:12 am

ezPortal 4.0.1 Released by EzPortal
October 23, 2018, 09:18:05 pm

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

+- HTML Menu


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

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

17 Guests, 0 Users
Powered by EzPortal