Location: PHPKode > scripts > Homeland Security Threat Level Block > homeland-security-threat-level-block/readme.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>phpNuke Homeland Security</title>
</head>

<body>
<h2>phpNuke Homeland Security Block</h2>
<p>By Jon Roig<br>
email: <a href="mailto:hide@address.com">hide@address.com</a><br>
site: <a href="http://jonroig.com">jonroig.com</a><br>
last updated: 3-21-2003
</p>
<h3>Introduction</h3>
<p>
This is a very simple block which displays the current homeland security threat level. To do this, it makes use of a handy 
web service provided by Robert over at <a href="http://www.tinetics.com">tinetics.com</a>. Since we want to be nice to Robert's server,
the block is cached so it only updates every 4 hours by default. 
</p>
<h3>Installation</h3>
<p>Setting up the script is designed to be pretty straightforward. To get it working on your phpnuke site, you need to do the following:
<ol>
	<li> Create an account at <a href="http://www.tinetics.com">tinetics.com</a>. Registration is free -- I think Robert just wants to keep
	track of who is using his services and how much.
	<li> Edit the block-HomelandSecurity configurations. Pay particular attention to these items:<br>
	$config["tUsername"] -- this is your tenetics.com username<br>
	$config["tPassword"] -- this is your tenetics.com password<br>
	$config["dataPath"] -- this is the path to the cached data file. Generally speaking, this will be located in your blocks folder...<br>
	$config["graphicsPath"] -- this is the path to the graphics files
	<li> Copy block-HomelandSecurty.php and the homeland_security folder into your phpnuke's blocks folder
	<li> Change the folder's permissions with CHMOD -R 777 homeland_security or whatever other means you use to set permissions in the folder.
	The script must be able to read and write the cache file located in there, and users need to be able to see the graphics.
	<li> Go into the administration area of your phpNuke site and add it as a block. I've titled mine "Homeland Security Threat," but you can call it whatever you like....
	<li> That's it, you're done. Enjoy the fruits of your labor.
</ol>

<h3>License</h3>
<p>
The phpNuke Homeland Security Block is licensed under the <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>. Use it in good health.
</p>

</body>
</html>
Return current item: Homeland Security Threat Level Block