(this idea came from Ymryl's wow event block)
make a file called block-Realm
- Code: Select all
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2005 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
$go_to_address1="http://WWW.YOURSERVERHERE.COM/realmstats/realm.htm";
$go_to_address=rawurldecode($go_to_address1);
$content = "<iframe SRC=\"".$go_to_address."\" width=\"100%\" height=\"95\" framespacing=0 frameborder=no border=0 scrolling=auto></iframe>";
?>
put that in your blocks directory
then make a directory in your main nuke folder and name it "realmstats"
inside that makea file called "realm.htm"
put this into that file
- Code: Select all
<html>
<head>
<title>Realm Status</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#272727">
<div align="center"><img src="http://WWW.YOURSERVERHERE.COM/roster/realmstatus.php"></div>
</body>
</html>
edit YOURSERVERHERE and bgcolor as needed
this seems kind of complex and maybe overkill but it works well even from my phone on opera mini beta 4