קישור לאשכול בפורום העולמי:
http://www.phpbb3bbcodes.com/viewtopic.php?f=9&t=717
עריכה זו תציג את כותרת ההודעה האחרונה של פורום בדף האינדקס.
תמונה:
http://www.siz.co.il/my.php?i=mjhoildjzvnm.png
פתח:includes/functions_display.php
מצא:
קוד: בחר הכל
$last_post_subject = $row['forum_last_post_subject'];
החלף עם:
קוד: בחר הכל
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']);
}
מצא:
קוד: בחר הכל
'LAST_POST_SUBJECT' => censor_text($last_post_subject),
החלף עם:
קוד: בחר הכל
'LAST_POST_SUBJECT' => $last_post_subject,
'LAST_POST_SHORTENED_SUBJECT' => (utf8_strlen($last_post_subject) > 26) ? truncate_string($last_post_subject, 25) . "\xE2\x80\xA6" : $last_post_subject,
פתח:styles/prosilver/template/forumlist_body.html
חפש:
קוד: בחר הכל
<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn>
בשורה הוסף בסוף:
קוד: בחר הכל
<a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SHORTENED_SUBJECT}</a><br />
פתח:styles/subsilver2/template/forumlist_body.html
חפש:
קוד: בחר הכל
<p class="topicdetails">{forumrow.LAST_POST_TIME}</p>
הוסף לפני:
קוד: בחר הכל
<p class="topicdetails"><a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SHORTENED_SUBJECT}</a></p>
תהנו!