Kullanıcıya Özel Nick Rengi

ZeRooCooL

Kıdemli Üye
31 Ocak 2012
2,629
1
Bu mod ile kullanıcı isimlerine farklı renkler atayabilirsiniz. Örneğin admin nickini kırmızı yapabilirsiniz
Custom Username Color
/Sources/Load.php

Kod: (bul) [Seç]
mem.signature, mem.personal_text,
Kod: (değiştir) [Seç]
mem.signature, mem.personal_text, mem.custom_color,
Kod: (bul) [Seç]
mem.signature, mem.personal_text, mem.********,
Kod: (değiştir) [Seç]
mem.signature, mem.personal_text, mem.custom_color, mem.********,
Kod: (bul) [Seç]
'blurb' => $profile['personal_text'],
Kod: (Öncesine Ekle) [Seç]
'custom_color' => $profile['custom_color'],

./Sources/Profile-Modify.php
Kod: (bul) [Seç]
'personal_text' => array(
'type' => 'text',
'label' => $txt['personal_text'],
'log_change' => true,
'input_attr' => array('maxlength="50"'),
'size' => 50,
'permission' => 'profile_extra',
),
Kod: (Öncesine Ekle) [Seç]

'custom_color' => array(
'type' => 'text',
'label' => $txt['custom_color_title'],
'subtext' => $txt['custom_color_subtext'],
'log_change' => true,
'input_attr' => array('maxlength="50"'),
'size' => 20,
'permission' => 'profile_ccolor',
),

Kod: (bul) [Seç]
'avatar_choice', 'hr', 'personal_text',
Kod: (değiştir) [Seç]
'avatar_choice', 'hr', 'personal_text', 'custom_color',
./Themes/default/Display.template.php
Kod: (bul) [Seç]
// Show a link to the member's profile.
echo '
', $message['member']['link'], '
Kod: (değiştir) [Seç]
// Show a link to the member's profile.
if (!empty($message['member']['custom_color']) && $message['member']['custom_color'] != '')
{
echo '
<a href="' . $scripturl . '?action=profile;u='. $message['member']['id'] . '" style="color: ' . $message['member']['custom_color'] . ';" title="' . $txt['custom_color_profile'] . ' ' . $message['member']['name'] . '">', $message['member']['name'], '</a>';
}
else
{
echo '
', $message['member']['link'] ,'';
}
echo '

./Sources/ManagePermissions.php
Kod: (bul) [Seç]
'profile_remote_avatar' => array(false, 'profile', 'use_avatar'),
Kod: (değiştir) [Seç]
'profile_remote_avatar' => array(false, 'profile', 'use_avatar'),
'profile_ccolor' => array(false, 'profile', 'edit_profile'),

./Themes/default/languages/Modifications.english.php
Kod: (Bul (Dosyanın en sonunda)) [Seç]
?>
Kod: (Öncesine Ekle) [Seç]


$txt['custom_color_title'] = 'Custom Username Color';
$txt['custom_color_subtext'] = 'Format: red, green, blue OR #FFFFFF, #000000';
$txt['custom_color_profile'] = 'View the profile of';

./Themes/default/languages/Modifications.english-utf8.php

Kod:
Bul Dosyanın en sonunda]?>
Kod: (Öncesine Ekle) [Seç]


$txt['custom_color_title'] = 'Custom Username Color';
$txt['custom_color_subtext'] = 'Format: red, green, blue OR #FFFFFF, #000000';
$txt['custom_color_profile'] = 'View the profile of';
Bu değişikliğin yapılmaması modifikasyonun çalışmasını etkilemeyecektir
./Themes/default/languages/ManagePermissions.english.php
Kod: (Bul (Dosyanın en sonunda) [Seç]
?>
Kod: (Öncesine Ekle) [Seç]


$txt['permissionname_profile_ccolor'] = 'Change username color';
$txt['permissionhelp_profile_ccolor'] = 'Changes the members username color on topic display to whatever they set it as.';
./Themes/default/languages/ManagePermissions.english-utf8.php
Kod: (bul) [Seç]
?>
Kod: (Öncesine Ekle) [Seç]

$txt['permissionname_profile_ccolor'] = 'Change username color';
$txt['permissionhelp_profile_ccolor'] = 'Changes the members username color on topic display to whatever they set it as.';

Bu değişikliğin yapılmaması modifikasyonun çalışmasını etkilemeyecektir[/COLOR][/B]
 
Üst

Turkhackteam.org internet sitesi 5651 sayılı kanun’un 2. maddesinin 1. fıkrasının m) bendi ile aynı kanunun 5. maddesi kapsamında "Yer Sağlayıcı" konumundadır. İçerikler ön onay olmaksızın tamamen kullanıcılar tarafından oluşturulmaktadır. Turkhackteam.org; Yer sağlayıcı olarak, kullanıcılar tarafından oluşturulan içeriği ya da hukuka aykırı paylaşımı kontrol etmekle ya da araştırmakla yükümlü değildir. Türkhackteam saldırı timleri Türk sitelerine hiçbir zararlı faaliyette bulunmaz. Türkhackteam üyelerinin yaptığı bireysel hack faaliyetlerinden Türkhackteam sorumlu değildir. Sitelerinize Türkhackteam ismi kullanılarak hack faaliyetinde bulunulursa, site-sunucu erişim loglarından bu faaliyeti gerçekleştiren ip adresini tespit edip diğer kanıtlarla birlikte savcılığa suç duyurusunda bulununuz.