Foros del Web » Creando para Internet » Flash y Actionscript »

Agregar Contacto Msn con un click

Estas en el tema de Agregar Contacto Msn con un click en el foro de Flash y Actionscript en Foros del Web. Hola que tal, tengo una duda, como podria hacer para que al darle click en un link de mi web me pueda agregar a la ...
  #1 (permalink)  
Antiguo 22/07/2004, 08:58
 
Fecha de Ingreso: noviembre-2003
Ubicación: Asuncion
Mensajes: 76
Antigüedad: 20 años, 5 meses
Puntos: 1
Agregar Contacto Msn con un click

Hola que tal, tengo una duda, como podria hacer para que al darle click en un link de mi web me pueda agregar a la persona a mi cuenta de msn? yo tengo el codigo, pero el mismo esta para la utilizacion de un foro phpbb.
salu2
  #2 (permalink)  
Antiguo 22/07/2004, 09:34
Avatar de TMeister
Crazy Coder
 
Fecha de Ingreso: enero-2002
Ubicación: En la Oficina
Mensajes: 2.880
Antigüedad: 22 años, 3 meses
Puntos: 193
a ver el codigo!!!
  #3 (permalink)  
Antiguo 22/07/2004, 09:44
 
Fecha de Ingreso: noviembre-2003
Ubicación: Asuncion
Mensajes: 76
Antigüedad: 20 años, 5 meses
Puntos: 1
Asi seria para un foro phpbb

#-----[ OPEN ]------------------------------------------
#
privmsg.php
#
#-----[ FIND ]------------------------------------------
#
$msn_img = ( $privmsg['user_msnm'] ) ? '<a href="' . $temp_url . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$msn = ( $privmsg['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';
#
#-----[ REPLACE WITH ]------------------------------
#
$msn_img = ( $privmsg['user_msnm'] ) ? '<a href=\'javascript:DoInstantMessage("'.$privmsg['user_msnm'].'","'.$privmsg['username_1'].'");\'><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$msn = $msn_img;
#
#-----[ SAVE CLOSE UPLOAD ]---------------------------
#
privmsg.php
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$msn_img = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$msn = ( $postrow[$i]['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';
#
#-----[ REPLACE WITH ]-----------------------------
#
$msn_img = ( $postrow[$i]['user_msnm'] ) ? '<a href=\'javascript:DoInstantMessage("'.$postrow[$i]['user_msnm'].'","'.$postrow[$i]['username'].'");\'><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$msn = $msn_img;
#
#-----[ SAVE CLOSE UPLOAD ]--------------------------
#
viewtopic.php
#
#-----[ OPEN ]------------------------------------------
#
includes\usercp_viewprofile.php
#
#-----[ FIND ]------------------------------------------
#
$msn_img = ( $profiledata['user_msnm'] ) ? $profiledata['user_msnm'] : '&nbsp;';
$msn = $msn_img;
#
#-----[ REPLACE WITH ]-----------------------------
#
$msn_img = ( $profiledata['user_msnm'] ) ? '<a href=javascript:DoInstantMessage("'.$profiledata['user_msnm'].'","'.$profiledata['username'].'")><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSN'] . '" title="' . $lang['MSN'] . '" border="0" /></a>': '&nbsp;';
$msn = $msn_img;
#
#-----[ SAVE CLOSE UPLOAD ]--------------------------
#
includes\usercp_viewprofile.php
#
#-----[ OPEN ]------------------------------------------
#
templates\subSilver\overall_header.tpl
#
#-----[ ADD AT TOP ]------------------------------------------
#
<OBJECT classid='clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28' codeType='application/x-oleobject' height='1' id='MsgrObj' width='1'></OBJECT>
<script>
function DoInstantMessage(person,screen)
{
try
{
if(confirm("Add "+screen+" to your contact list?")==true)MsgrObj.AddContact(0,person);
if(confirm("Send "+screen+" an instant message?")==true)MsgrObj.InstantMessage(person);
}
catch(e)
{
alert("An error occured while attempting to launch Messenger!\nPlease verify you have Messenger installed and that you are logged onto the service.\n\nError Code: "+e.number);
}

}
</script>
#
#-----[ SAVE CLOSE UPLOAD ]--------------------------
#
templates\subSilver\overall_header.tpl

Yo lo quisiera para ponerlo en mi web. ya que primero quiero saber comos eria en una web comun, mi objetivo es pasarlo para un boton en flash.
salu2
  #4 (permalink)  
Antiguo 22/07/2004, 09:46
 
Fecha de Ingreso: noviembre-2003
Ubicación: Asuncion
Mensajes: 76
Antigüedad: 20 años, 5 meses
Puntos: 1
y quien sabe para alguna web comun con html / php etc..
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 12:10.