düzenliyeceğiniz dosyaların yedeğini almayı unutmayın
- Kod: Tümünü seç
#
#--------------[AÇ]----------------
#
blocks/blocks_imp_user_block.php
#
#-------------[BUL]----------------
#
$avatar_img = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
#
#-----[BUNUNLA DEĞİŞTİR]-----
#
if ( $board_config['allow_avatar_remote'] )
{
if ( ($userdata['user_avatar_height'] && $userdata['user_avatar_height'] > 0) &&
($userdata['user_avatar_width'] && $userdata['user_avatar_width'] > 0) )
{
$avatar_img = '<img src="' . $userdata['user_avatar'] . '" height="' . $userdata['user_avatar_height'] . '" width="' . $userdata['user_avatar_width'] . '" alt="" border="0" />';
}
else // No width/height in the user's profile
{
$avatar_img = '<img src="' . $userdata['user_avatar'] . '" alt="" border="0" />';
}
}
else // remote avatars not allowed
$avatar_img = '';
#
#--------------[AÇ]-----------------
#
blocks/blocks_imp_user_menu.php
#
#--------------[BUL]-----------------
#
$avatar_img_ind = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $userdata['user_avatar'] . '" alt="" border="0" />' : '';
#
#-------[BUNULA DEĞİŞTİR]------
#
if ( $board_config['allow_avatar_remote'] )
{
if ( ($userdata['user_avatar_height'] && $userdata['user_avatar_height'] > 0) &&
($userdata['user_avatar_width'] && $userdata['user_avatar_width'] > 0) )
{
$avatar_img_ind = '<img src="' . $userdata['user_avatar'] . '" height="' . $userdata['user_avatar_height'] . '" width="' . $userdata['user_avatar_width'] . '" alt="" border="0" />';
}
else // No width/height in the user's profile
{
$avatar_img_ind = '<img src="' . $userdata['user_avatar'] . '" alt="" border="0" />';
}
}
else // remote avatars not allowed
$avatar_img_ind = '';
#
#--------[KAYDET & KAPAT]---------
#
--------- Remote Avatar Size Control Modülünü, Avatars in Memberlist 1.0.2 ye Entegre Etme---------
- Kod: Tümünü seç
#
#----------------[AÇ]---------------------
#
memberlist.php
#
#----------------[BUL]--------------------
#
$sql = "SELECT username, user_id, user_viewemail, user_posts, user_regdate, user_from, user_website, user_email, user_icq, user_aim, user_yim, user_msnm, user_avatar, user_avatar_type, user_allowavatar
#
#----------[SATIRIN SONUNA EKLE]----
#
, user_avatar_width, user_avatar_height
#
#----------------[BUL]--------------------
#
$poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $row['user_avatar'] . '" alt="" border="0" />' : '';
#
#-----------[BUNUNLA DEĞİŞTİR]--------
#
if ( $board_config['allow_avatar_remote'] )
{
if ( ($row['user_avatar_height'] && $row['user_avatar_height'] > 0) &&
($row['user_avatar_width'] && $row['user_avatar_width'] > 0) )
{
$poster_avatar = '<img src="' . $row['user_avatar'] . '" height="' . $row['user_avatar_height'] . '" width="' . $row['user_avatar_width'] . '" alt="" border="0" />';
}
else // No width/height in the user's profile
{
$poster_avatar = '<img src="' . $row['user_avatar'] . '" alt="" border="0" />';
}
}
else // remote avatars not allowed
$poster_avatar = '';
#
#-----------[KAYDET & KAPAT]--------------
#
bqra