Certain URL links unclickable by other adium users

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
sprynmr
Harmless
Posts: 4
Joined: Sun Feb 27, 2005 1:40 am

Certain URL links unclickable by other adium users

Post by sprynmr »

Hey guys...

If I make a hyperlink in an away message or a profile that follows this structure:

Code: Select all

http://www.bobspryn.com/aimtracker.php?url=http://www.bobspryn.com/gallery2/main.php/view/nycthegates/&name=%n
adium users can't click that link. I use this particular script to track who clicks on things in my profile. Regular AIM users can still click this link just fine. Is there any current workaround I could use??

Thanks,

Bob
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

you need to encode the URL like this:

Code: Select all

http://www.bobspryn.com/aimtracker.php?url=http%3A%2F%2Fwww.bobspryn.com%2Fgallery2%2Fmain.php%2Fview%2Fnycthegates%2F%26name%3D%n
Might work, might not. No guarantees.
Blog | X(tras)
Communists code without classes.
User avatar
FredAkbar
Crema
Posts: 401
Joined: Sat Dec 04, 2004 1:00 am
Location: Santa Barbara, CA
Contact:

Post by FredAkbar »

I know there used to be an issue with the %n messing things up; does it work if you take that out?
Fred / Adium X 1.2.7
20" iMac w/ Intel Core Duo 2.0 GHz / 2 GB RAM / 256 MB Radeon X1600 / 250 GB HD / OS 10.5.4
FreeRice. Play a free vocab game on this ad-supported site to help fight world hunger.
sprynmr
Harmless
Posts: 4
Joined: Sun Feb 27, 2005 1:40 am

Post by sprynmr »

I'll try the way zaudragon specified. Any good tool for encoding hex like that?

The %n is important to my link... it is what helps me track who clicked the link. If I take it out, I might as well use a normal link.

Thanks guys! I'll let you know.
User avatar
FredAkbar
Crema
Posts: 401
Joined: Sat Dec 04, 2004 1:00 am
Location: Santa Barbara, CA
Contact:

Post by FredAkbar »

I know, I just meant take it out to see if it still messes up, in order to find out if that's the problem. If it is, then I agree that it does kind of defeat the purpose of your link, but such is life I guess :)
Fred / Adium X 1.2.7
20" iMac w/ Intel Core Duo 2.0 GHz / 2 GB RAM / 256 MB Radeon X1600 / 250 GB HD / OS 10.5.4
FreeRice. Play a free vocab game on this ad-supported site to help fight world hunger.
sprynmr
Harmless
Posts: 4
Joined: Sun Feb 27, 2005 1:40 am

Post by sprynmr »

Yea... that %n is screwing it up. It must be trying to interpret what the hex n value is.

I don't see any way around it right now. If I change that %n to its hex value, then it doesn't register the name right.

At least it works for AIM users I guess.

Let me know if you figure anything out

Thanks,

Bob
Brad
Muffin
Posts: 48
Joined: Fri Dec 03, 2004 9:03 pm
Location: North Cackalacky
Contact:

Post by Brad »

I assume this is also related to why "SubProfile" links in profiles do not work for Adium users, right? I have one or two buddies whose links just beep with I click them or when I choose Open Link from the context menu. I believe those links use the %n also.

Upon first glance, it appears that the problem might be that %n is being replaced in the profile with your user alias, not your account name.
Lyg
Frappa
Posts: 223
Joined: Fri Dec 03, 2004 9:33 pm

Adium lies

Post by Lyg »

Hey all, I was pasting links to photos on my iDisk.

They all went through fine, except one.

http://homepage.mac.com/username/.Pictu ... o/Bars.jpg

It pastes fine, but when I actually send it, Adium changes it to:

http://homepage.mac.com/username/.Pictu ... oliors.jpg

Every single time! I don't get it. I have 0.77, 10.3.8, and Simple ((Time) Name).

P.S. Even if I type it out instead of paste it, Adium changes it.
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Re: Adium lies

Post by evands »

Lyg wrote:Hey all, I was pasting links to photos on my iDisk.

They all went through fine, except one.

http://homepage.mac.com/username/.Pictu ... o/Bars.jpg

It pastes fine, but when I actually send it, Adium changes it to:

http://homepage.mac.com/username/.Pictu ... oliors.jpg

Every single time! I don't get it. I have 0.77, 10.3.8, and Simple ((Time) Name).

P.S. Even if I type it out instead of paste it, Adium changes it.
You have a substitution script installed which triggers on /bar. Also, this problem (substitution scripts fire within links) is fixed in .8.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Re: Certain URL links unclickable by other adium users

Post by evands »

The issues with %n in links (that includes 'subprofile' links) are fixed for 0.8.
The duck still burns.
--
My company: Saltatory Software. Check it out :)
Post Reply