SMFPT - Suporte e Manutenção de Fórum em Português

SMF 1.1.x (Móbulos Manual) => SMF 1.1.x Módulos Manual => Tópico iniciado por: joomlamz em 21 de Agosto de 2007, 07:03

Título: Topico Iniciado
Enviado por: joomlamz em 21 de Agosto de 2007, 07:03
Para mostrar sempre que o membro abre um novo topico pode ver como a imagem mostra

(http://i211.photobucket.com/albums/bb184/candidosa2/sshot-1-22.png)

Display.template.php
Pesquisar por
Código: [Seleccione]
// Show the message anchor and a "new" anchor if this message is new.
depois colocar por baixo
Código: [Seleccione]
//get the memberid of the author
if ($message['id'] == $context['first_message']){
$topicStarterID =  $message['member']['id'];
}

Pesquisar por
Código: [Seleccione]
// Show their personal text?
e colocar por baixo
Código: [Seleccione]
//show if it's the topic starter
if($topicStarterID == $message['member']['id']){
echo '<span style="color:red; font-weight:bold"> ', $txt['topic_starter'] , ' </span><br />';
}

A cor pode mudar ponha a que quer...

Para terminar vamos ao
Modifications.portuguese.php
antes de ?> ponha
Código: [Seleccione]
$txt['topic_starter'] = 'Topico Iniciado';