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

SMF 2.0.x (Módulos Manual) => SMF 2.x Módulos Manual => Mensagem => Tópico iniciado por: candidosa2 em 04 de Outubro de 2013, 12:57

Título: Categorias sem Mensagem Ainda
Enviado por: candidosa2 em 04 de Outubro de 2013, 12:57
(http://aplicimagens.info/image-A3BB_524E8F61.jpg)

(http://aplicimagens.info/image-E9B8_524E903C.jpg)


Abrir o ficheiro BoardIndex.template.php

Pesquisar por

Código: [Seleccione]
/* The board's and children's 'last_post's have:
                time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
                link, href, subject, start (where they should go for the first unread post.),
                and member. (which has id, name, link, href, username in it.) */
                if (!empty($board['last_post']['id']))
                    echo '
                        <p><strong>', $txt['last_post'], '</strong>  ', $txt['by'], ' ', $board['last_post']['member']['link'] , '<br />
                        ', $txt['in'], ' ', $board['last_post']['link'], '<br />
                        ', $txt['on'], ' ', $board['last_post']['time'],'
                        </p>';
                       
                echo '
                    </td>
                </tr>';

Alterar por este aqui


Código: [Seleccione]
/* The board's and children's 'last_post's have:
                time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
                link, href, subject, start (where they should go for the first unread post.),
                and member. (which has id, name, link, href, username in it.) */
                if (!empty($board['last_post']['id']))
                    echo '
                        <p><strong>', $txt['last_post'], '</strong>  ', $txt['by'], ' ', $board['last_post']['member']['link'] , '<br />
                        ', $txt['in'], ' ', $board['last_post']['link'], '<br />
                        ', $txt['on'], ' ', $board['last_post']['time'],'
                        </p>';
                else       
                echo '
                    <center><i><font size="2" color="#bbbbbb">Ainda n&atilde;o &eacute; SMFPT</font></i></center>';
                echo '
                    </span>
                </td>
            </tr>';