Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2002, 09:16 PM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default MSN Messenger

I've scoured the vBulletin.com and vBulletin.org forums for a simple answer to this and I haven't been successful, so I thought I'd post it here in the hopes that someone with the skills to do this can point me in the right direction, or simply create the modifications.

=====================
The Current Environment
=====================
Microsoft has not enabled any web based features to it's MSN Messenger IM Client. For this reason vBulletin has not included MSN features like it has (although commented out) with ICQ, AIM and Yahoo. The only solution seems to be to install a hack that integrates MSN into your forum.


=====================
What I've Done Thus Far
=====================
I didn't like the graphics that vB uses for the IM portions of the code. Of course, it's not THEIR graphics, but the graphics that the various IM server make available. So, I changed the graphics to pull from my local server and not from the IM server.

By doing this, I know that I have disabled the Online/Offline aspect of the code. I hope to somehow be able to fix that in the future, but for now, I'm happy with the look (see attachment).


=====================
A Simpler Approach - The Icon
=====================
I'd like to add a template for MSN that functions much like the Yahoo and other IM templates do. Basically, that if the MSN field contains data, then show the MSN image I have stored locally. If it doesn't then no image appears.

What this modification doesn't do is actually see if the person is online, or any of that stuff. Only that if the user has an MSN number then it should display the graphic.


=====================
A Simpler Approach - The Link
=====================
The second part of this is the link. If a user clicks on another users MSN icon in a post, then it needs to link somewhere.

Since there are no web based features that MSN provides, there's nothing to link to on their site. My only solution has been to create an additional html page, or template that displays the MSN handle of the user. Personally, I'd like to do it in the form of a pop-up, much like Pixel Junction has done with their "How Does This Work" link in the postbit on their forums [link].


=====================
Wishful Thinking?
=====================
I'm sorry this has been such a long post, but I wanted to convey as best I could what I am trying to accomplish and I couldn't think of any other way. Hopefully I'm not alone in wanting to add this functionality and this will be a popular tutorial.

Anyway, thanks in advance to anyone who can help me out!
Attached Images
File Type: gif npug_screenshot.gif (37.3 KB, 0 views)
Reply With Quote
  #2  
Old 06-29-2002, 09:43 PM
element
Guest
 
Posts: n/a
Default

Hmm, shouldn't be a difficult hack. Probably all you would need to do is make a custom user profile box when they register, where they enter their MSN handle, then just add the code to the file that you will be using it on, and just have it display. Quite simple if you know PHP, which unfortunetly, I don't
Reply With Quote
  #3  
Old 06-29-2002, 09:57 PM
mashby's Avatar
mashby mashby is offline
 
Join Date: Jan 2002
Location: Nashville, TN - USA
Posts: 736
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the field already added and part of the site. That was the easy part (see attachement). I also know that the data is stored at $ userinfo[field5], so I could query that field to make sure it's not null.

Unfortunately, like you, I don't know php that well, so I don't know how to proceed. Also, I'm not familiar enough with templates to know what templates to add and how to make them work properly.
Reply With Quote
  #4  
Old 10-15-2002, 05:28 PM
Mark
Guest
 
Posts: n/a
Default

Hmm I'm gonna try to add a yahoo icon now as well as the template replcaement because mine doesn't seem to have it.
Reply With Quote
  #5  
Old 10-15-2002, 05:40 PM
Jakelshark's Avatar
Jakelshark Jakelshark is offline
 
Join Date: Sep 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have been working on this, i am setting it up to show an icon (if field is filled in) then when you click it adds them to your msn buddy list, its taken a while and all i need is to make the profile field5 to work correctly
Reply With Quote
  #6  
Old 10-15-2002, 06:24 PM
Lazerus Lazerus is offline
 
Join Date: Oct 2001
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mashby, check http://beta.vbulletin.com/
Reply With Quote
  #7  
Old 10-15-2002, 07:26 PM
Jakelshark's Avatar
Jakelshark Jakelshark is offline
 
Join Date: Sep 2002
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i shouldnt bother then, i will just wait
Reply With Quote
  #8  
Old 10-28-2002, 01:40 AM
KingsGambit
Guest
 
Posts: n/a
Default

Hi, I'm a newbie but I've actually managed to do this myself. I don't know what is a hack and what isn't by definition and I have noticed such things are not to be posted here, but I will post and if a mod feels it's out of place please forgive me.

To get an MSN field, the first thing you need to do is an SQL thing. You need a mySQL manager and basically under the "user" tables, you'll notice all the entries for icq, aim and yahoo. Add another called msn for example, make it a VARCHAR of reasonable length (as it's a whole Email address).
Then in the user CP template and registration template (and memberlist/postbit templates as appropriate) you can simply add an extra <td> table under the ICQ one for MSN. the variable the information will be stored in is $msn (or whatever you called it with the mysql manager).
I have no idea about sql or php but found this one fairly simple. Just duplicated the ICQ bits, relabelled them MSN and added the SQL entry under "User". Hope that helps, and again apologies if this is too much info.
Reply With Quote
  #9  
Old 10-28-2002, 02:23 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made this awhile back. I think thats what you guys are looking for.
Reply With Quote
  #10  
Old 10-28-2002, 07:09 PM
DestyNova DestyNova is offline
 
Join Date: Jun 2002
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Anime-loo, nice hack but it is unfinished.. did you update it to 2.0 any chance or ?
Reply With Quote
Reply


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 09:49 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
  • Page Generation 0.06315 seconds
  • Memory Usage 2,269KB
  • Queries Executed 12 (?)
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
  • (1)postbit_attachment
  • (7)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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete