22/07/2004, 09:44
|
| | Fecha de Ingreso: noviembre-2003 Ubicación: Asuncion
Mensajes: 76
Antigüedad: 21 años 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'] : ' ';
$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>': ' ';
$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 |