Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-23-2003, 01:35 PM
jibious's Avatar
jibious jibious is offline
 
Join Date: Nov 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 04-23-2003, 04:12 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

- miSt
Reply With Quote
  #3  
Old 04-23-2003, 04:59 PM
jibious's Avatar
jibious jibious is offline
 
Join Date: Nov 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 04-23-2003, 05:23 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 04-23-2003, 06:54 PM
Tigga's Avatar
Tigga Tigga is offline
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,061
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 04-23-2003, 09:09 PM
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Location: Tx
Posts: 432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just noticed this as well. Thanks tigga for the little code
Reply With Quote
  #7  
Old 04-23-2003, 09:21 PM
Tigga's Avatar
Tigga Tigga is offline
 
Join Date: Dec 2001
Location: Atlanta
Posts: 1,061
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 04-23-2003, 09:27 PM
jibious's Avatar
jibious jibious is offline
 
Join Date: Nov 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 04-23-2003, 09:30 PM
jibious's Avatar
jibious jibious is offline
 
Join Date: Nov 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 04-24-2003, 02:31 AM
jibious's Avatar
jibious jibious is offline
 
Join Date: Nov 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks once again brian. working great now.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:54 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07238 seconds
  • Memory Usage 2,250KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete