I'm not sure what the previous AIM Hack does, but I've added AIM functionality to my board with two lines, very simple. It allows a user to IM a person with a link under that person's post, as well as Add a user to a buddy list through that person's profile. Here's how I did it:
Open public_topic_page.pl (template). First find "sub topic_row{", and under it paste:
Then find the line that contains "$AuthorExtra", followed by some other stuff. I forget what comes after it, as I think I deleted some of it

. At the end of the line, paste this:
This will add a link next to posts, location, ip, etc that reads "IM public_name", which will send an IM that says "Hi. Are you there?" to that user. Of course, this will still display "IM so-and-so" even if that user doens't have AIM. This isn't a problem for me, since everyone on my board has AIM (it's a private community). If you don't know how to fix this, let me know and I'll show you how.
Next open public_display_profile.pl (template) and find:
if (($vars_registration{aim_field_use} ne 'DEL') && ($user_profile[22] ne '')) {
Add this under that line:
Then find:
$user_profile[22]
and add this after $user_profile[22]:
That'll add "Add to your AIM Buddy List" next to a person's AIM name when viewing their profile. This one actually won't show if the person doesn't have AIM, as it's nested in an if statement that tests for an AIM name.
Hope this helps.
[edit: typos]
[ 10-27-2001: Message edited by: Influenza ]
[ 10-27-2001: Message edited by: Influenza ]