Autor Tópico: Topico Iniciado  (Lida 4001 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Offline joomlamz

  • Fundador
  • *
  • Mensagens: 4265
  • Rank: 4877
  • Sexo: Masculino
  • Joomla!
    • Web Master !
Topico Iniciado
« em: 21 de Agosto de 2007, 07:03 »
Para mostrar sempre que o membro abre um novo topico pode ver como a imagem mostra


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';

Apllic   Alojamentos Profissionais de Moçambique!