Wyedytuj jeszcze raz profile_view_body.tpl bo powinno wszystko działać, źle to wyedytowałeś. Ja zrobiłem wszystko według instrukcji i działa. Spróbuj tego jak coś
Kod:
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_AIM}:</span></td>
<td class="row1" valign="middle"><span class="gen">{AIM_IMG}</span></td>
</tr>
#
#-----[ REPLACE WITH ]----------------------------------
#
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_AIM}:</span></td>
<td class="row1"><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('{AIM_ADD_IMG}');
else
document.write('<div style="position:relative">{AIM_ADD_IMG}<div style="position:absolute;left:3px;top:-1px">{AIM_STATUS_IMG}</div></div>');
</script>
<noscript>{AIM_ADD_IMG}</noscript></td>
</tr>
i jescze chyba to
Kod:
#
#-----[ OPEN ]------------------------------------------
#
incules/usercp_viewprofile.php
#
#-----[ FIND ]------------------------------------------
#
$aim_img = ( $profiledata['user_aim'] ) ? '<a href="aim:goim?screenname=' . $profiledata['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : ' ';
$aim = ( $profiledata['user_aim'] ) ? '<a href="aim:goim?screenname=' . $profiledata['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : ' ';
#
#-----[ REPLACE WITH ]----------------------------------
#
if( !empty($profiledata['user_aim']) )
{
$aim_status_img = '<a href="gg:' . $profiledata['user_aim'] . '"><img src="http://www.gadu-gadu.pl/users/status.asp?id=' . $profiledata['user_aim'] . '&styl=1" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" width="16" height="16" border="0" /></a>';
$aim_add_img = '<a href="gg:' . $profiledata['user_aim'] . '"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>';
$aim = 'http://www.gadu-gadu.pl/users/status.asp?id=' . $profiledata['user_aim'] . '">' . $lang['AIM'] . '</a>';
}
else
{
$aim_status_img = '';
$aim_add_img = '';
}
#
#-----[ FIND ]------------------------------------------
#
'AIM_IMG' => $aim_img,
'AIM' => $aim,
#
#-----[ REPLACE WITH ]----------------------------------
#
'AIM_ADD_IMG' => $aim_add_img,
'AIM' => $aim,
'AIM_STATUS_IMG' => $aim_status_img,
Autor postu otrzymał pochwałę
www.forum.helox.pl Forum GSM i nie tylko 