Pytanie czy ten mod
Kod:
#--[ OPEN ]--
index.php
#--[ FIND ]--
//
// Handle marking posts
//
#--[ BEFERE ADD ]--
$topic_zycz = '1';
$sql = "SELECT pt.post_text, u.user_id, u.username
FROM " . POSTS_TABLE . " p, " . POSTS_TEXT_TABLE . " pt, " . USERS_TABLE . " u
WHERE p.topic_id = $topic_zycz
AND p.post_id = pt.post_id
AND p.poster_id = u.user_id
ORDER BY p.post_id DESC
LIMIT 1";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'blee', '', __LINE__, __FILE__, $sql);
}
$zycz = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
#--[ FIND ]--
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
#--[ BEFORE ADD ]--
'ZYCZ_USER' => '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $zycz['user_id']) . '">' . $zycz['username'] . '</a>',
'ZYCZ_TEXT' => $zycz['post_text'],
#--[ OPEN ]--
index_body.tpl
#--[ FIND ]--
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
</table>
#--[ AFTER ADD ]--
<table width="100%" border="0" class="forumline">
<tr>
<td class="row1" width="100%" height="50"><span class="forumlink">{ZYCZ_USER}: {ZYCZ_TEXT}</span>
</tr>
</table>
można zainstalować na phpbb_by_przemo bo ja prubujac edytowac index.php i niemoglem znalesc
Kod:
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
czy moze zly index edytowalem ale jedyny index.php znalazlem 1
ale jesli nie mozna to nie piszcie ze jestem głupi bo nawysuchiwalem sie jusz dosc od mojej nauczycieli wiec prosze