Previous Thread
Next Thread
Print Thread
Rate Thread
#188926 10/27/2001 8:27 PM
Joined: Oct 2001
Posts: 33
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 33
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:
Code
code:

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 wink . At the end of the line, paste this:
Code
code:
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:
Code
code:
Then find:

$user_profile[22]

and add this after $user_profile[22]:
Code
code:
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 ]


(Scientists) are apolitical, supposedly, like civil servants--empiricists, who only wanted things managed in a rational scientific style, the greatest good for the greatest number, which ought to be fairly simple to arrange, if people were not so trapped in emotions, religions, governments, and other mass delusional systems of that sort.
Sponsored Links
Entire Thread
Subject Posted By Posted
an instant message hack lg 10/26/2001 4:30 AM
Re: an instant message hack omegatron 10/26/2001 4:50 AM
Re: an instant message hack Raichu Babai 10/26/2001 8:05 AM
Re: an instant message hack omegatron 10/27/2001 3:11 AM
Re: an instant message hack lg 10/27/2001 5:12 AM
Re: an instant message hack Influenza 10/28/2001 3:27 AM
Re: an instant message hack Brad.loo 10/28/2001 5:18 AM
Re: an instant message hack Tech-Ni-Kal 10/28/2001 5:55 PM
Re: an instant message hack Muc 10/28/2001 8:46 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)