vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   AIM Screen Name w/ Spaces (https://vborg.vbsupport.ru/showthread.php?t=52011)

jibious 04-23-2003 01:35 PM

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

Dean C 04-23-2003 04:12 PM

Users on my forums have spaces in their aim names and the pop-up works :s

- miSt

jibious 04-23-2003 04:59 PM

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

Dean C 04-23-2003 05:23 PM

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

Tigga 04-23-2003 06:54 PM

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. :)

Logik 04-23-2003 09:09 PM

I just noticed this as well. Thanks tigga for the little code :)

Tigga 04-23-2003 09:21 PM

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. ;)

jibious 04-23-2003 09:27 PM

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.

jibious 04-23-2003 09:30 PM

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

jibious 04-24-2003 02:31 AM

thanks once again brian. working great now. :D


All times are GMT. The time now is 11:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01010 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete