Prin acest tutorial vom vedea unde si cine a postat ultimul mesaj!
Deschidem includes/functions_display.php
Cautam:
Code:
$last_post_subject = $row['forum_last_post_subject'];
Inlocuim cu:
Code:
if (substr($row['forum_last_post_subject'], 0, 4) == 'Re: ')
{
$last_post_subject = substr(censor_text($row['forum_last_post_subject']), 4);
}
else
{
$last_post_subject = censor_text($row['forum_last_post_subject']);
}
Cautam:
Code:
'LAST_POST_SUBJECT' => censor_text($last_post_subject),
Inlocuim cu:
Code:
'LAST_POST_SUBJECT' => $last_post_subject,
'LAST_POST_SHORTENED_SUBJECT' => (utf8_strlen($last_post_subject) > 26) ? truncate_string($last_post_subject, 25) . "xE2x80xA6" : $last_post_subject,
Deschidem styles/Tema ta/template/forumlist_body.html
Cautam:
Code:
<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn>
Adaugam dupa:
Code:
<a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SHORTENED_SUBJECT}</a><br />