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
  #22  
Old 05-30-2006, 06:15 PM
Robru Robru is offline
 
Join Date: Aug 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this MOD
Reply With Quote
  #23  
Old 05-31-2006, 01:23 PM
shadowdancer36 shadowdancer36 is offline
 
Join Date: Nov 2005
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know a lot of people at my job has yahoo messenger blocked or can't install it on their system. Is this a method of getting around that? Something like yahoo's online java script version?
Reply With Quote
  #24  
Old 05-31-2006, 02:10 PM
Nachtfalke Nachtfalke is offline
 
Join Date: Apr 2006
Location: Germany
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one! Any chance to have the MSN and Yahoo merged into one block? Maybe with a dropdown box, where my users could choose their messie ...
Reply With Quote
  #25  
Old 05-31-2006, 03:36 PM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shadowdancer36
I know a lot of people at my job has yahoo messenger blocked or can't install it on their system. Is this a method of getting around that? Something like yahoo's online java script version?
Yes , this will let people from work who are behind a firewall or proxy get onto MSN/Yahoo - it uses port 80 which is the standard www port and isnt usually blocked by routers in work.
Reply With Quote
  #26  
Old 05-31-2006, 03:39 PM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nachtfalke
Nice one! Any chance to have the MSN and Yahoo merged into one block? Maybe with a dropdown box, where my users could choose their messie ...
I'll take a look into that when i get back from holidays , its something i was thinking about myself, but as far as i know id have to do that with javascript and im not that great with javascript , though i will look into a system like that.

It would be handy because i could put msn, yahoo and aim into the same options dropdown and it would make life easier for users and look neater.

I'll be home after sunday , and i have a few things to sort out , but ill do some research then on it.

Good Suggestion
Reply With Quote
  #27  
Old 05-31-2006, 09:29 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the hack!
Reply With Quote
  #28  
Old 06-04-2006, 06:03 AM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone tell me how cam i make this horizonal??
Reply With Quote
  #29  
Old 06-04-2006, 06:11 AM
DjTaz DjTaz is offline
 
Join Date: Apr 2003
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rmxs
Can someone tell me how cam i make this horizonal??
That would be a re-write of the <table> section of the code - Im hopping on a plane in about 2 hours , so if i survive that trip i'll see what i can do afterwards if someone else hasnt had some input into that in the meantime.

What space are you allowing for, and where are you planning to put it ?
Reply With Quote
  #30  
Old 06-04-2006, 06:19 AM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

under the whats going on..

im trying to re-write byt nothing....


EDIT I FIX IT

Look at attached file

You wont the Source code?
Reply With Quote
  #31  
Old 06-04-2006, 06:50 AM
rmxs rmxs is offline
 
Join Date: Apr 2006
Posts: 419
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I make also the yahoo horizonal...
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 10:42 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.06322 seconds
  • Memory Usage 2,311KB
  • 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
  • (1)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
  • (4)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