[/]السلام عليكم ورحمة الله وبركاته
طلب الكثير كيفية فصل الاقسام للنسخ الجديدة (القوالب الجاهزة مرفقة

)
على الرغم اني اعتقد انها ماتفرق كثير ان لم يكن هناك فرق ! مابين فصل الاقسام للنسخ الجديدة وللنسخ القديمة
والطريقة بسيطة
في قالب forumhome
ابحث عن
رمز PHP:
[LEFT]
كود:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="100%" align="$stylevar"
>$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
قم بحذفه
ثم ابحث عن التالي
(هذه الخطوة فقط لوضع عبارة مشاهدة ادارة المنتدى - اعتبار المشاركات كمقروءة - تحت الاحصائيات وليس لها علاقة بالفصل ! )
رمز PHP:
كود:
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
$forumhome_markread_script
ايضا قم بحذفه
ثم ابحث عن
رمز PHP:
كود:
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
اسفله قم بإضافة التالي
رمز PHP:
كود:
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">
<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
$forumhome_markread_script
ثم احفظ القالب
نتوجه الى قالب forumhome_forumbit_level1_nopost
في بداية القالب قم بوضع التالي
رمز PHP:
كود:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
وفي نهاية قالب ضع التالي
رمز PHP:
ثم ابحث عن
رمز PHP:
كود:
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<if condition="$childforumbits">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
</if>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</tbody>
اسفله قم بإضافة التالي
رمز PHP:
[LEFT]
<tbody>
<tr align="center">
<td class="thead"> </td>
<td class="thead" width="55%" align="$stylevar"
>$vbphrase[forum]</td
>
<td class="thead" width="35%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="10%">$vbphrase[moderator]</td>
</if>
</tr>
</tbody>
والنتيجة مرفقة

الصور المصغرة المرفقة
الملفات المرفقة
forumhome.txt (7.3 كيلوبايت, عدد مرات المشاهدة 582 مرة)
forumhome_forumbit_level1_nopost.txt (1.5 كيلوبايت, عدد مرات المشاهدة 522 مرة)