Also, a nice template hack to go along with this. If you notice in the MEMBERINFO template, the image links directly to an IM window, but the text next to it does not. If you edit the memberinfo template.. Also fixed that pesky space in the AIM username problem.
Edit /includes/functions_showthread.php
Code:
$aimtemp = str_replace(" ", "", $userinfo["aim"]);
$userinfo['aimicon'] = "<a href='aim:goim?screenname=" . $aimtemp . "'><img src='http://big.oscar.aol.com/" . $aimtemp . "?on_url=http://www.kydsm.com/images/misc/aim_online.gif&off_url=http://www.kydsm.com/images/misc/aim_offline.gif' width='16' height='16' style='border: 0;' /></a>";
$userinfo['aimtext'] = "<a href='aim:goim?screenname=" . $aimtemp . "'>" . $userinfo['aim'] . "</a>";
I don't remember what was originally in the first TD cell, so it is represented by ...
In MEMBERINFO template, find:
Code:
<td> ... </td>
<td><a href="#" onclick="return imwindow('aim', '$userinfo[userid]', 400, 200)">$userinfo[aim]</a></td>
Replace with:
Code:
<td>$userinfo[aimicon]</td>
<td>$userinfo[aimtext]</td>