ICQ Nummer in Profil
Verfasst: 09.06.2004 20:55
Beschreibung: Dieses Snippet zeigt in der Profilansicht die ICQ-Nummer anstelle der Statusanzeige.
Version: 2.0.x (getestet mit 2.0.8)
Autor: Timmy
Keywords: profil+icq+nummer
Version: 2.0.x (getestet mit 2.0.8)
Autor: Timmy
Code: Alles auswählen
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php
#
#-----[ FIND ]------------------------------------------
#
$icq_status_img = '<a href="http://wwp.icq.com/' . $profiledata['user_icq'] . '#pager"><img src="http://web.icq.com/whitepages/online?icq=' . $profiledata['user_icq'] . '&img=5" width="18" height="18" border="0" /></a>';
$icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $profiledata['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
$icq = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $profiledata['user_icq'] . '">' . $lang['ICQ'] . '</a>';
#
#-----[ REPLACE WITH ]------------------------------------------
#
$icq_img = ( $profiledata['user_icq'] ) ? $profiledata['user_icq'] : ' ';
$icq = $icq_img;
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_view_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<script language="JavaScript" type="text/javascript"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
document.write(' <span class="gen">{ICQ_IMG}</span>');
else
document.write('<table cellspacing="0" cellpadding="0" border="0"><tr><td nowrap="nowrap"><div style="position:relative;height:18px"><div style="position:absolute"><span class="gen">{ICQ_IMG}</span></div><div style="position:absolute;left:3px;top:-1px">{ICQ_STATUS_IMG}</div></div></td></tr></table>');
//--></script><noscript>{ICQ_IMG}</noscript>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<span class="gen">{ICQ_IMG}</span>