![]() |
AIM Screen Name w/ Spaces
i know its already been questioned a few times w/ no actual answers that really did this (not that i found atleast), so anyhow...
if a user puts their formatted screen name w/ spaces in it (i.e.- kill the duck instead of killtheduck), is there a way to pass the entire username in the aim:goim?screenname= function. the code to include the space is '+', so it'd be aim:goim?screenname=kill+the+duck if you wanted it to work. so is there any function that someone could do that would replace a ' ' with a '+' for AIM screen names so the aim:goim and other AIM URL functions will work properly? otto |
Users on my forums have spaces in their aim names and the pop-up works :s
- miSt |
hrm, i don't see how that is possible, to be honest. actually, its not possible. the pop-up works, but the full name won't show up in the AIM IM window.
for instance, if they had their AIM name as 'kill the duck' then the link for the icon would be aim:goim?screenname=kill the duck. and on the AIM IM window, it'd have 'kill' as the username. otto |
Yes but AIM allows spaces in the username or no spaces - there is no problem with it as user "Mistman" would be the same as "Mist Man"...
- miSt |
Hey, nice find Otto. I just noticed it doesn't work properly on PP either. If you try to aim someone the window from the forum will pop up fine, but the users name in the aim window will only have the first word. A pretty simple fix seemed to work for me though. If you just look in member.php for:
$aim = htmlspecialchars( $aim ); Right Above that Add: $aim=str_replace(' ',"+",$aim); Just tried that on my forums and it seems to work fine. :) |
I just noticed this as well. Thanks tigga for the little code :)
|
No problem Logik. :)
One small thing about using the code above... In the popup box that gives the options, it will display the name like kill+the+duck. It's not a big deal to me, but if anyone cares about that they could change the variables around a little to make it work without the +'s. Btw, does anyone happen to know if this has been mentioned at vb.com? I tried to search but of course couldn't search for AIM. I would think this could be considered a small bug, so if it hasn't been mentioned there I was going to post about it. ;) |
thnx brian. hrm. okay, so i now know my problem and how to fix it, only i don't use the aimmessage function. i made those little icons show up in the postbit and i'm just trying to add a hyperlink to the aim:goim thingie. so anyhow, your fix works for aimmessage but not for what i'm wanting to do (which is just with the aim template only). any help for this? :)
if you need access to my stuff and whatnot, just hit me up on AIM or email. i changed my passwords, but its not very different than the last one. |
well, its been mentioned on both forums, i believe. but no one ever has had a fix - with the exception of 'change everyone's AIM names so they have no spaces in them'.
and quite frankly, thats not an acceptable answer, especially in a lot of cases. you can search for aim on vb.com just by doing the aim* on there to add the 4th char. but i don't think there is anything on there thats too relevant. otto |
thanks once again brian. working great now. :D
|
Brian if this is true you should report it at .com as a bug :p
I'm sure they'll be so pleased to have another bug hehe ;) - miSt |
doesn't look like its been reported on vb.com - but it has been brought up a few times here...
|
Just reported it a little while ago. :)
|
just for the fix for my issue...thnx again to tigga for this.
in admin/functions.php find: PHP Code:
PHP Code:
|
btw, it doesn't show the '+' on the new IM window on the way you changed mine (for the link only thing)...just the spaced formatted screen name. im not sure about the aimmessage thingie, b/c i dont have it enabled. i dont see why it would tho - once it transfers from URL to AIM, it should automatically remove the '+'. :)
|
ahh, okay, i see what you mean now... i dunno. :)
|
All times are GMT. The time now is 10:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|