???? ??? ????? ??? ?????? ??????
????? ????? ??? ?? ??? ?????? ??? ??? ????? ??? ???? ?????? .
????? ????? ????? , ??? ?? ???? ?? ????????? ?????? , ???? ??? ??? ??????? ?????? : ???? ?? 5000 ??? ????
??? ?? ????? ??? ???? :
open: viewtopic.php
Search for:
----------------
كود: تحديد الكل
// Display not already displayed Attachments for
============================================================================
add before:
----------------
كود: تحديد الكل
// last topic by user - Fixed by MSSTI - Start
$lt_forum_ary = array();
$lt_forum_read_ary = array();
// Do not include those forums the user is not having read access to...
$lt_forum_read_ary = $auth->acl_getf('!f_read');
foreach ($lt_forum_read_ary as $lt_forumid => $lt_not_allowed)
{
if ($lt_not_allowed['f_read'])
{
$lt_forum_ary[] = (int) $lt_forumid;
}
}
$lt_forum_ary = array_unique($lt_forum_ary);
$lt_forum_sql = (sizeof($lt_forum_ary)) ? ' AND ' . $db->sql_in_set('t.forum_id', $lt_forum_ary, true) : '';
$lt_limit = 5;
$sql = 'SELECT t.*, p.topic_id, p.poster_id, p.post_time, p.post_subject, p.post_id
FROM ' . TOPICS_TABLE . ' t
LEFT JOIN ' . POSTS_TABLE . " p ON (p.post_time = t.topic_time)
WHERE t.topic_poster = $poster_id " . " $lt_forum_sql
ORDER BY t.topic_id DESC";
$lt_result = $db->sql_query_limit($sql, $lt_limit);
while ($lt_row = $db->sql_fetchrow($lt_result))
{
$template->assign_block_vars('postrow.postrowy', array(
'POST_SUB' => $lt_row['topic_title'],
'U_MINI_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f={$lt_row['forum_id']}&t={$lt_row['topic_id']}"),
));
}
$db->sql_freeresult($lt_result);
unset($lt_result, $lt_forum_ary, $lt_forum_read_ary, $lt_forum_sql);
// last topic by user - Fixed by MSSTI - End
============================================================================
open: styles/subsilver2/template/viewtopic_body.html
Search for
---------------
============================================================================
add after
-------------
كود: تحديد الكل
<table width="100%" cellspacing="1">
<tr>
<td><h4>{L_TOPIC_BY_USER}</h4></td>
</tr>
<tr>
<td>
<div style="border: 1px inset ; padding: 6px; overflow: auto;">
<marquee id="latest_posts1" scrollamount="1" scrolldelay="30" direction="up" class="gen" onmouseover="this.setAttribute('scrollamount', 0, 0);" onmouseout="this.setAttribute('scrollamount', 1, 0);" height="60">
<!-- BEGIN postrowy -->
- <a href="{postrow.postrowy.U_MINI_POST}" >{postrow.postrowy.POST_SUB}</a><br />
<!-- END postrowy --></marquee>
</div>
</td>
</tr>
</table>
============================================================================
open: language/ar/common.php
Search for
----------------
============================================================================
add after
-------------
كود: تحديد الكل
'TOPIC_BY_USER' => 'My latest topics',
???? ? ???? , ??? ???? ??? ??????? ??????? ??? ???? ????????? .
????????