Ok, here is a real quick hack of the code with the registration key in place. You do have to go register to get the key but it shows the cute little icon and the entire thing is a link to AIM.
=C=
https://blog.calevans.com
<?php
/*
Plugin Name: AIM Online Status
Plugin URI: https://conhuevos.com/uploads/online-status.txt
Description: Displays the status of your AIM account. Insert the function <?php online_status(); ?> into your template file.
Author: Clay Smith (idea by Jarno Ristaniemi) and Cal Evans <[email protected]>
Version: 0.2
Author URI: https://conhuevos.com/
*/
// This script indicates your online status using the status of your AOL Instant Messenger.
// Written by Jarno Ristaniemi, [email protected]
// You may freely copy, change and redistribute this script if you link to the original source.
// https://www.muumilaakso.fi/~jristani/wordpress/?p=18
// 2004 (c)
//——————————————//
// CHANGE THE FOLLOWING SETTINGS //
//——————————————//
define(‘DISPLAY_NAME’, ”); // This is the name your visitors will see.
define(‘ACCOUNT_NAME’, ”); // Write your AOL account name here. If you don’t have one, you may register one: https://ww$
define(‘OSPATH’, ‘https://yoursite.com/wp-content/plugins/online-status.php’); // This is the complete path to this file on you$
define(‘AIMKEY’,”);
//——————————————//
// DON’T CHANGE ANYTHING BELOW //
//——————————————//
if (!isset($_REQUEST[‘line’])) {
function online_status() {
$if_offline = OSPATH . ‘?line=off’;
$if_online = OSPATH . ‘?line=on’;
$address = ‘https://big.oscar.aol.com/’ . ACCOUNT_NAME . ‘?on_url=’ . $if_online . ‘&off_url=’ . $if_offline;
echo ‘<img src=”https://api.oscar.aol.com/SOA/key=’ . AIMKEY .$
include($address);
echo ““;
}
} elseif ($_REQUEST[‘line’] == ‘on’) {
echo(‘<b>online</b>.’);
} else {
echo(‘<b>offline</b>.’);
}
?>