Nome do Mod : Nome de Membro Especial - Special Member Name
Criado por: Fovist
Translate : Candidosa2
Última versão: 1.0
Compatível com: 2.0 RC1 , 2.0 RC3
Mod Link:
http://custom.simplemachines.org/mods/index.php?mod=1689./Sources/
ManageSettings.phpPesquisar
// Who's online.
array('check', 'who_enabled'),
SUbstituir por
// Who's online.
array('check', 'who_enabled'),
'',
// Special Member Name. by www.gorselsanatlar.org
array('check', 'special_member_name_enable'),
array('text', 'memberid'),
array('text', 'member_name_background'),
array('text', 'member_name_font_size'),
./Sources/
Subs-MembersOnline.php // Some basic color coding...
if (!empty($row['online_color']))
$link = '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '" style="color: ' . $row['online_color'] . ';">' . $row['real_name'] . '</a>';
else
$link = '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '">' . $row['real_name'] . '</a>';
// Special Member Name by www.gorselsanatlar.org
if (!empty($modSettings['special_member_name_enable']) && (in_array($row['id_member'], explode(",",$modSettings['memberid']))))
{ $modSettings['member_name_font_size'] = empty($modSettings['member_name_font_size']) ? 10 : $modSettings['member_name_font_size'];
$link = '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '" style="color: ' . $row['online_color'] . '; font-size: ' .$modSettings['member_name_font_size']. 'px; background-color: #' .$modSettings['member_name_background']. ';">' . $row['real_name'] . '</a>';
}
elseif (!empty($row['online_color']))
$link = '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '" style="color: ' . $row['online_color'] . ';">' . $row['real_name'] . '</a>';
else
$link = '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '">' . $row['real_name'] . '</a>';
$languagedir/
Modifications.portuguese_pt.php ( Conforme o seu ideoma )
?>
//Special Member Name by www.gorselsanatlar.org translate by smfpt.net
$txt['special_member_name_enable'] = 'Activar nome do membro especial?';
$txt['memberid'] = 'Membro Id:<br /><span class="smalltext">Exemplo: <b>1,2,14,153</b> (Vocé pode inserir mais de um id do membro.)</span>';
$txt['member_name_background'] = 'Nome do Membro no Backround:<br /><span class="smalltext">Exemplo: <b>FFG</b> or <b>FFFGGF</b> (Basta digitar a 3 ou 6 dígitos.)</span>';
$txt['member_name_font_size'] = 'Tamanho do nome do texto no Membro(px):<br /><span class="smalltext">Sample: <b>15</b> (Fórum padrão 10(px). É recomendável que vocé não digitar os valores exagerados.)</span>';