Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Module CMPS: MSN Messenger Login Details »»
Module CMPS: MSN Messenger Login
Version: 1.00, by DjTaz DjTaz is offline
Developer Last Online: Oct 2011 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-28-2006 Last Update: Never Installs: 22
Template Edits
Additional Files  
No support by the author.

This is a handy module to let you log into MSN from internet caf?s that happen to have forgotten to install MSN Messenger.

The hack goes onto the VbAdvanced main page as a module , so

if you dont have VbAdvabced , this is not for you ... but take a look at post 8 and Post 34 and it explains how to put it onto forumhome

It uses EMessenger , its not exactly the neatest in the world , but it works fine.


1. Upload the attached file on the right (msn.php) into your /modules Folder.
2. Upload the attached image at the bottom (msn.gif) into your /images folder.

3. Create a new template (Style & Templates - Style Manager - Add a template) called adv_portal_msn with the following code:

Code:
<tr>
<td>
<table 	cellpadding="2"
	cellspacing="1" 
	border="0" 
	width="100%" 
	height=300>
	
	<tr><td valign=top>
	<center>
	<img src="images/msn.gif">
	</td></tr>
		
		
		
	<form 	action="http://chicago.e-messenger.net//servlet/dologin" 
		method="POST" 
		target="_blank" 
		onsubmit='processSubmit()'>
	<div id="login">	
		
		
	<tr><td>
		<strong>Passport:</strong><br>
<if condition="$bbuserinfo[msn] != '' ">
<input type='text' name='passport' value='$bbuserinfo[msn]'>
</if>
<if condition="$bbuserinfo[msn] == '' ">
<input type='text' name='passport' value='@hotmail.com'>
</if>
	</td></tr>
	
	
	
	<tr><td>
		<strong>Password:</strong><br>
		<input type='password' name='password' value=''>
	</td></tr>
	
	
	<tr><td>
		<strong>Initial Status:</strong><br>
	

<if condition="$bbuserinfo[userid] != 0">
		<select name='initial' id='initial'>
		<option value='NLN' >Online</option>
		<option value='AWY' >Away</option>
		<option value='BSY' >Busy</option>
		<option value='BRB' >Be Right Back</option>
		<option value='PHN' >On The Phone</option>
		<option value='LUN' >Out To Lunch</option>
		<option value='HDN' >Appear Offline</option>
		</select>
</if>


<if condition="$bbuserinfo[userid] == 0">
		<select name='initial' id='initial'>
		<option value='NLN' >Disabled for NonMembers</option>
		<option value='NLN' >Online</option>
		<option value='NLN' >Away</option>
		<option value='NLN' >Busy</option>
		<option value='NLN' >Be Right Back</option>
		<option value='NLN' >On The Phone</option>
		<option value='NLN' >Out To Lunch</option>
		<option value='NLN' >Appear Offline</option>
		<option value='NLN' >Disabled for NonMembers</option>
		</select>
</if>

	</td></tr>

	<tr>
	<td>
	<center>
	<input 	type='submit' 
		value='Login'> <br></center>
	<input 	id='secure' 
		onclick='clickSecure()' 
		type='checkbox' 
		value='1'>
	Secure SSL(https)
	</td></tr>
	
	<tr><td>
	<font 	color="red" 
		face="arial,verdana,geneva" 
		size='1' >
	Make sure your popup blocker is OFF for this. 
	Usernames and Passwords are 100% secure and 
	will not be logged.</font>
	
	
	
	</div>
	<div id="wait" style="display:none">Wait a moment please...</div>
	</form>

	</td>
	</tr>
</table>




</td>
</tr>
ADDED LATER: Post 48 suggests an edit for the login to make it log into the better looking version of e-messenger.


4. Add a module.
In Vba CPMS - add module select add a module - PHP file :

Module Title : Msn Messenger
Column : Left Column (or where you wish)
Active : Yes
Update all pages : As Required

File to include : msn.php
Parent Module : none
Identifier : msn
Templates Used : adv_portal_msn


The rest is up to yourself.


This hack should allow members who have their msn address filled in to sign in using any state (online/busy/away etc etc) but only allows non members to sign in as Online. It doesnt require the members to give their msn login details as it asks on the page for that info , and it pops up a new page for the Emessenger.

This is version 1.0 of this hack - it works fine on my boards (3.5.4 with vBadvanced CMPS v2.0.0 ) but hasnt been tested on others , but any improvments or requests will be considered. (I have tried windows messenger and failed , so if someone can suggest how to use that instead, id be delighted).

Added -
  • Yahoo messenger web login was added on page 1 if this goes on a few pages.
  • Install this onto Forumhome for those who dont have VBA is also on page 1
  • Post #34 , RMXS kindly posted how to install this the full length of the FORUMHOME page - with images.
  • Post #48 suggests an edit for the login to make it log into the better looking version of e-messenger.
  • Post #49 has a version of this that uses javascript to switch between the different logins , all in the same box - 1 box , 5 logins.

Show Your Support

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

Comments
  #2  
Old 05-29-2006, 08:30 PM
Kaleem's Avatar
Kaleem Kaleem is offline
 
Join Date: May 2006
Location: New Jersey
Posts: 324
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm good one

now i will use vbAdvanced :>

oops first post :P
Reply With Quote
  #3  
Old 05-29-2006, 08:37 PM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LightInClouds
hmmm good one

now i will use vbAdvanced :>

oops first post :P

If you just use the Code above and ignore the msn.php - im sure you could re-write it to fit into one of the existing templates on VBB - it would be pretty much the exact same code , just with different tables to make it fit better.

I just didnt know where to put it on a non VBB page - possibly Forumhome at the bottom somewhere
Reply With Quote
  #4  
Old 05-29-2006, 10:54 PM
IrPr IrPr is offline
 
Join Date: Mar 2005
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to do this for Yahoo! and the others ?

or using Meebo.com
Reply With Quote
  #5  
Old 05-30-2006, 12:25 AM
Barakat's Avatar
Barakat Barakat is offline
 
Join Date: Nov 2004
Location: Jerusalem
Posts: 571
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what a nice hack ... installed and worked good .

but just a Q . is our pw secure ?
Reply With Quote
  #6  
Old 05-30-2006, 12:30 AM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The system uses EMessenger - they are established and passwords are as secure as they can be online. Its not logged on anyones server ever , so as such yes the passwords are secure.

There is also the option of using the secure server , which wont really make much difference to be honest.

This system would be almost exactly the same as using the emessenger site itself to log in - the form sends the info directly to them to log you in - any coder can check the form script and know its all ok.
Reply With Quote
  #7  
Old 05-30-2006, 12:37 AM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by IrPr
is it possible to do this for Yahoo! and the others ?

or using Meebo.com

heres a quick rendering of a yahoo code for you ... might be worth getting your own yahoo image cause i rushed that.

do pretty much the same steps as above for msn :

1. Upload the attached file at the bottom (yahoo.php) into your /modules Folder.
2. Upload the attached image at the bottom (yahoo.gif) into your /images folder.

3. Create a new template (Style & Templates - Style Manager - Add a template) called adv_portal_yahoo with the following code:

Code:
<tr>
<td>
<table 	cellpadding="2"
	cellspacing="1" 
	border="0" 
	width="100%" 
	height=300>
	
	<tr><td valign=top>
	<center>
	<img src="images/yahoo.gif">
	</td></tr>
		
		
		
<form 	style="position:absolute" 
	action="http://hongkong.e-messenger.net/webyahoo//doLogin.jsp" 
	id="yahoo_form" 
	method="post" 
	class="loginYIM" 
	target="yahoo">
	
	<div id="login">
	
	
<input type="hidden" name="password" id="yahoo_password"/>
<input name="network" type="hidden" value="yim" />
		
	<tr><td>
		<strong>Yahoo ID:</strong><br>
<if condition="$bbuserinfo[yahoo] != '' ">
<input type='text' name='username' value='$bbuserinfo[yahoo]'>
</if>
<if condition="$bbuserinfo[yahoo] == '' ">
<input type='text' name='username' value='@yahoo.com'>
</if>
	</td></tr>
	
	
	
	<tr><td>
		<strong>Password:</strong><br>
<input name="username" type="password" id="yahoo_p" class="wide" />
	</td></tr>
	
	
	<tr><td>
		<strong>Initial Status:</strong><br>
	

<if condition="$bbuserinfo[userid] != 0">
		<select name="status" class="wide">
		<option value="1" selected="selected">Online</option>
		<option value="2">Busy</option>
		<option value="3">Be Right Back</option>
		<option value="4">Away</option>
		<option value="4">Appear Offline</option>
		
</select>
</if>


<if condition="$bbuserinfo[userid] == 0">
		<select name="status" class="wide">
		<option value='1' >Disabled for NonMembers</option>
		<option value="1" selected="selected">Online</option>
		<option value="1">Busy</option>
		<option value="1">Be Right Back</option>
		<option value="1">Away</option>
		<option value="1">Appear Offline</option>
		<option value='1' >Disabled for NonMembers</option>
		</select>
</if>

	</td></tr>

	<tr>
	<td>
	<center>
	
	<label>Secure Login</label>
	<input name="securelogin" id="yahoo_secure" type="checkbox" value="1" onclick="clickSecure('yahoo');"/>
	<input type="submit" class="formButton" value="Submit" onclick="doYahooLogin()" /><br/>
	<font 	color="red" 
		face="arial,verdana,geneva" 
		size='1'>
	Make sure your popup blocker is OFF for this. 
	Usernames and Passwords are 100% secure and 
	will not be logged.</font>
</form>

	</td>
	</tr>
</table>




</td>
</tr>

4. Add a module.
In Vba CPMS - add module select add a module - PHP file :

Module Title : Yahoo Messenger
Column : Left Column (or where you wish)
Active : Yes
Update all pages : As Required

File to include : yahoo.php
Parent Module : none
Identifier : yahoo
Templates Used : adv_portal_yahoo



That should do it for the yahoo login.I dont have yahoo myself , so as u can see in the screenshot , it wont supply my yahoo login ID, but if i had one when signing up for the boards , it would auto populate that for me.
Reply With Quote
  #8  
Old 05-30-2006, 01:10 AM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you wish to use Forumhome as a place to put this , and you dont have VBa - then you could try this- though i dont think its anyway near as nice ....

Open the FORUMHOME template and find :
Code:
<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
		</tr>
		</table>
	</td>
and under it add in :

Code:


<!-- start of msn login window -->
<td border=4 class="alt2" width=165>

<table 	cellpadding="2"
	cellspacing="1" 
	border="0" 
	width="165" 
	height="300">
	
	<tr>
	<td class="thead"> 
	MSN Messenger
	</td></tr>
	<tr>
	<td class="alt2">
	<center>
	<img src="images/msn.gif">
	</td></tr>
		
		
		
	<form 	action="http://chicago.e-messenger.net//servlet/dologin" 
		method="POST" 
		target="_blank" 
		onsubmit='processSubmit()'>
	<div id="login">	
		
		
	<tr><td class="alt2">
		<strong>Passport:</strong><br>
<if condition="$bbuserinfo[msn] != '' ">
<input type='text' name='passport' value='$bbuserinfo[msn]'>
</if>
<if condition="$bbuserinfo[msn] == '' ">
<input type='text' name='passport' value='@hotmail.com'>
</if>
	</td></tr>
	
	
	
	<tr><td class="alt2">
		<strong>Password:</strong><br>
		<input type='password' name='password' value=''>
	</td></tr>
	
	
	<tr><td class="alt2">
		<strong>Initial Status:</strong><br>
	

<if condition="$bbuserinfo[userid] != 0">
		<select name='initial' id='initial'>
		<option value='NLN' >Online</option>
		<option value='AWY' >Away</option>
		<option value='BSY' >Busy</option>
		<option value='BRB' >Be Right Back</option>
		<option value='PHN' >On The Phone</option>
		<option value='LUN' >Out To Lunch</option>
		<option value='HDN' >Appear Offline</option>
		</select>
</if>


<if condition="$bbuserinfo[userid] == 0">
		<select name='initial' id='initial'>
		<option value='NLN' >Disabled for NonMembers</option>
		<option value='NLN' >Online</option>
		<option value='NLN' >Away</option>
		<option value='NLN' >Busy</option>
		<option value='NLN' >Be Right Back</option>
		<option value='NLN' >On The Phone</option>
		<option value='NLN' >Out To Lunch</option>
		<option value='NLN' >Appear Offline</option>
		<option value='NLN' >Disabled for NonMembers</option>
		</select>
</if>

	</td></tr>

	<tr>
	<td class="alt2">
	<input 	id='secure' 
		onclick='clickSecure()' 
		type='checkbox' 
		value='1'>
	Secure SSL(https)
	<center>
	<input 	type='submit' 
		value='Login'> <br></center>
	</td></tr>
	
	<tr><td class="alt2">
	<font 	color="red" 
		face="arial,verdana,geneva" 
		size='1'>
	Make sure your popup blocker is OFF for this. 
	Usernames and Passwords are 100% secure and 
	will not be logged.</font>
	</div>
	</form>

	</td>
	</tr>
</table>

</td>

<!-- end of msn login window -->


</td><td width=20></td>

<!-- start of yahoo login window -->
<td border="4" class="alt2" width="165">

<table 	cellpadding="2"
	cellspacing="1" 
	border="0" 
	width="165" 
	height="300">
	
	
	<tr>
	<td class="thead"> 
	Yahoo Messenger
	</td></tr>
	<tr>
	<td class="alt2">
	<center>
	<img src="images/yahoo.gif">
	</td></tr>
	
	
	
	<form 	style="position:absolute" 
		action="http://hongkong.e-messenger.net/webyahoo//doLogin.jsp" 
		id="yahoo_form" 
		method="post" 
		class="loginYIM" 
		target="yahoo">
		<div id="yimlogin">	
		
	<input 	type="hidden" 
		name="password" 
		id="yahoo_password"/>
	<input 	name="network" 
		type="hidden" 
		value="yim" />
		

	<tr><td class="alt2">
		<strong>Yahoo ID:</strong><br>
<if condition="$bbuserinfo[yahoo] != '' ">
<input type='text' name='username' value='$bbuserinfo[yahoo]'>
</if>
<if condition="$bbuserinfo[yahoo] == '' ">
<input type='text' name='username' value='@yahoo.com'>
</if>
	</td></tr>
	
	
	
	<tr><td class="alt2">
		<strong>Password:</strong><br>
		<input name="username" 
			type="password" 
			id="yahoo_p" >
	</td></tr>
	
	
	<tr><td class="alt2">
		<strong>Initial Status:</strong><br>
	
<if condition="$bbuserinfo[userid] != 0">
		<select name="status">
		<option value="1" selected="selected">Online</option>
		<option value="2">Busy</option>
		<option value="3">Be Right Back</option>
		<option value="4">Away</option>
		<option value="4">Appear Offline</option>
		
</select>
</if>


<if condition="$bbuserinfo[userid] == 0">
		<select name="status">
		<option value='1' >Disabled for NonMembers</option>
		<option value="1" selected="selected">Online</option>
		<option value="1">Busy</option>
		<option value="1">Be Right Back</option>
		<option value="1">Away</option>
		<option value="1">Appear Offline</option>
		<option value='1' >Disabled for NonMembers</option>
		</select>
</if>

	</td></tr>

	<tr>
	<td class="alt2">
	<input 	name="securelogin" 
		id="yahoo_secure" 
		type="checkbox" 
		value="1" 
		onclick="clickSecure('yahoo');"/>
		Secure login
	<center>	
	<input 	type="submit" 
		class="formButton" 
		value="Submit" 
		onclick="doYahooLogin()" /></center>
	</td></tr>
	
	<tr><td class="alt2">
	<font 	color="red" 
		face="arial,verdana,geneva" 
		size='1'>
	Make sure your popup blocker is OFF for this. 
	Usernames and Passwords are 100% secure and 
	will not be logged.</font>
	</div>
</form>

	</td>
	</tr>
</table>
<!-- end of yahoo login window -->
And that should display both yahoo and msn on the bottom of forumhome
Reply With Quote
  #9  
Old 05-30-2006, 09:54 AM
IrPr IrPr is offline
 
Join Date: Mar 2005
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks DJ

would u please take a look at meebo.com ?
Reply With Quote
  #10  
Old 05-30-2006, 11:28 AM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by IrPr
Thanks DJ

would u please take a look at meebo.com ?
I took a look at meebo.com and it looks to be a great system , but i dont think id be able to replicate that on a VBulletin page im afraid.

Im on holidays in Lanzarote at the moment , so its only a brief jump in and out of the net , but i may take a longer look at that site when i return and see if i can come up with an alternative system thats similar to that, but no promises .. digging out the coding can be very difficult sometimes.
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 11:35 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.04828 seconds
  • Memory Usage 2,330KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_code
  • (3)bbcode_quote
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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_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