View Single Post
  #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
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01103 seconds
  • Memory Usage 1,785KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete