The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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 |
#2
|
||||
|
||||
Users on my forums have spaces in their aim names and the pop-up works :s
- miSt |
#3
|
||||
|
||||
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 |
#4
|
||||
|
||||
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 |
#5
|
||||
|
||||
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. |
#6
|
||||
|
||||
I just noticed this as well. Thanks tigga for the little code
|
#7
|
||||
|
||||
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. |
#8
|
||||
|
||||
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. |
#9
|
||||
|
||||
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 |
#10
|
||||
|
||||
thanks once again brian. working great now.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|