Version: 1.00, by DjTaz
Developer Last Online: Oct 2011
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.
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?
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.
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.
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 ?