Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Integrated MSN Hack Details »»
Integrated MSN Hack
Version: 1.00, by globalwin globalwin is offline
Developer Last Online: Jul 2003 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-29-2002 Last Update: Never Installs: 34
 
No support by the author.

Hi guys. I made this hack because I was sick of just having the standard messenger fields, so I decided to make a hack that integrated the MSN Messenger Handle professionally in like the other ones. Some screenies below:

Register & Edit Profile:



User Profile View:



Postbit View:



As you can see this is integrated, and is quite different from Anime-loo's hack.

Install instructions updated!
Extra ability added - View MSN Info in Private Messages

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 02-14-2003, 09:48 PM
uzitalk uzitalk is offline
 
Join Date: Jan 2003
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed at UZI Talk Forums. Thanks! :banana:
Reply With Quote
  #63  
Old 02-18-2003, 08:57 PM
Etcher Etcher is offline
 
Join Date: Mar 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this one work with MSN 5?
The other hack seems to be having problems with that version, has any one tried?
Reply With Quote
  #64  
Old 03-30-2003, 01:30 AM
jibious's Avatar
jibious jibious is offline
 
Join Date: Nov 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i've added on some things to make this a little more complete. gives search functionality in memberlist.php as well as the admin user section.

===============
in memberlist.php
===============

find:

Code:
aim
after it add:

Code:
,msn
then find:

Code:
    if ($aim!="") {
      $condition.=" AND aim LIKE '%".addslashes(htmlspecialchars($aim))."%' ";
    }
after it add:

Code:
    if ($msn!="") {
      $condition.=" AND msn LIKE '%".addslashes(htmlspecialchars($msn))."%' ";
    }
then find:

Code:
    if ($userinfo[aim]!="") {
      eval("\$userinfo[aimicon] = \"".gettemplate("aim")."\";");
    } else {
      $userinfo[aim]=" ";
    }
after it add:

Code:
    if ($userinfo[msn]!="") {
      eval("\$userinfo[msnicon] = \"".gettemplate("msn")."\";");
    } else {
      $userinfo[msn]=" ";
    }
then find:

Code:
&aim=$aim
after it add:

Code:
&msn=$msn

===============
in admin/user.php
===============

find:

Code:
	  makeinputcode("AIM Handle","aim");
after it add:

Code:
	  makeinputcode("MSN Messenger Handle","msn");
then find:

Code:
aim,
after it add:

Code:
msn,
then find:

Code:
'".addslashes(htmlspecialchars($aim))."',
after it add:

Code:
'".addslashes(htmlspecialchars($msn))."',
then find:

Code:
	  makeinputcode("AIM Handle","aim",$user[aim],0);
after it add:

Code:
	  makeinputcode("MSN Messenger Handle","msn",$user[msn],0);
then find:

Code:
,aim='".addslashes(htmlspecialchars($aim))."'
after it add:

Code:
,msn='".addslashes(htmlspecialchars($msn))."'
then find:

Code:
  makeinputcode("and AIM Handle contains","aim");
after it add:

Code:
  makeinputcode("and MSN Messenger Handle contains","msn");
then find:

Code:
  makeyesnocode("Display AIM ID","displayaim",0);
after it add:

Code:
  makeyesnocode("Display MSN ID","displaymsn",0);
then find:

Code:
 and $displayaim == 0
after it add:

Code:
 and $displaymsn == 0
then find:

Code:
  if ($aim!="") {
    $condition.=" AND INSTR(LCASE(aim),'".addslashes(strtolower($aim))."')>0";
  }
after it add:

Code:
  if ($msn!="") {
    $condition.=" AND INSTR(LCASE(msn),'".addslashes(strtolower($msn))."')>0";
  }
then find:

Code:
,aim
after it add:

Code:
,msn
then find:

Code:
		if ($displayaim==1) {
			echo "<td><p><b><span class='tblhead'>AIM ID</span></b></p></td>";
		}
after it add:

Code:
		if ($displaymsn==1) {
			echo "<td><p><b><span class='tblhead'>MSN ID</span></b></p></td>";
		}
then find:

Code:
			if ($displayaim==1) {
				if ($user[aim]=="") {
					$user[aim]="&nbsp;";
				}
				echo "<td><p>$user[aim]</p></td>";
			}
after it add:

Code:
			if ($displaymsn==1) {
				if ($user[msn]=="") {
					$user[msn]="&nbsp;";
				}
				echo "<td><p>$user[msn]</p></td>";
			}
then find:

Code:
			makehiddencode("aim",$aim);
after it add:

Code:
			makehiddencode("msn",$msn);
then find:

Code:
			makehiddencode("displayaim",$displayaim);
after it add:

Code:
			makehiddencode("displaymsn",$displaymsn);
==================
In memberlist template
==================

find:

Code:
	<td align="center" bgcolor="{ tableheadbgcolor }"><smallfont color="{ tableheadtextcolor }"><b>AIM</b></smallfont></td>
add under it:

Code:
	<td align="center" bgcolor="{ tableheadbgcolor }"><smallfont color="{ tableheadtextcolor }"><b>MSN</b></smallfont></td>
==================
in memberlistsearch template
==================

find:

Code:
<tr>
	<td bgcolor="{ secondaltcolor }"><normalfont><b>and AIM Handle contains</b></normalfont></td>
	<td bgcolor="{ secondaltcolor }"><normalfont><input type="text" class="bginput" size="35" name="aim" value=""></normalfont></td>
</tr>
add under it:

Code:
<tr>
	<td bgcolor="{ firstaltcolor }"><normalfont><b>and MSN Messenger Handle contains</b></normalfont></td>
	<td bgcolor="{ firstaltcolor }"><normalfont><input type="text" class="bginput" size="35" name="msn" value=""></normalfont></td>
</tr>
==================
in memberlistbit template
==================

find:

Code:
	<td bgcolor="{firstaltcolor}">$ userinfo[aimicon]</td>
add under it:

Code:
	<td bgcolor="{firstaltcolor}">$ userinfo[msnicon]</td>

*note: you will need to remove the spaces (" ") between the {} on the template mods for the colors. also, fix the secondalt and firstalt colors to suit your board (i use the same for both, so i didn't need to make any fixes).
Reply With Quote
  #65  
Old 03-31-2003, 02:40 PM
leitel leitel is offline
 
Join Date: Mar 2003
Location: Costa Rica
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Before i go throught the install, it is important to first determine if the actual handle is EXPOSED to general users? I scanned all threads and haven't found the answer. I LOVE the concept.
Reply With Quote
  #66  
Old 03-31-2003, 02:47 PM
jibious's Avatar
jibious jibious is offline
 
Join Date: Nov 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if someone puts in their handle and saves their profile, then yes, it will be exposed to general users. its just like AIM and Yahoo and ICQ defaultly setup with vBulletin...
Reply With Quote
  #67  
Old 04-10-2003, 03:11 PM
thody thody is offline
 
Join Date: Apr 2003
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything seems to work ok, except the javascript for sending a message. I just get a js error. Anyone else?
Reply With Quote
  #68  
Old 04-15-2003, 08:02 PM
u2page u2page is offline
 
Join Date: Dec 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting an error too, with MSN 5. Any suggestions?
Reply With Quote
  #69  
Old 04-15-2003, 08:33 PM
u2page u2page is offline
 
Join Date: Dec 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the problem. The script is called InstantMessage in the javascript that is included in headinclude, but it is linked as DoInstantMessage in the link to the icon on the posts. Just change one or the other, that solves it.
Reply With Quote
  #70  
Old 04-18-2003, 08:50 PM
deepdark's Avatar
deepdark deepdark is offline
 
Join Date: Dec 2001
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i want to sen a message via link in showthread is making some error?
Reply With Quote
  #71  
Old 04-19-2003, 05:50 PM
kdog316's Avatar
kdog316 kdog316 is offline
 
Join Date: Apr 2003
Location: AZ
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i register and put in the msn messanger filed my name or if i try to update it it doesnt register it in.
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 12:18 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.05114 seconds
  • Memory Usage 2,335KB
  • Queries Executed 25 (?)
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
  • (42)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete