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.