|ط¬ط¯ظٹط¯| ط·ط±ظٹظ‚ظ‡ ط¹ط±ط¶ ط§ظ‚ط³ط§ظ… ط§ظ„ظ…ظ†طھط¯ظ‰ ط§ظ„ط±ط¦ظٹط³ظٹط© ~ ط¨ط´ظƒظ„ ط®ظپظٹظپ~ ط³ظ‡ظ„ ~ ظ…ط¨طھظƒط± ~ ط*طµط±ظٹ ~ ط±ط§ط¦ط¹ ~ط®ط§طµ










|جديد| طريقه عرض اقسام المنتدى forum الرئيسية ~ بشكل خفيف~ سهل ~ مبتكر ~ حصري ~ رائع ~خاص


بسم الله ,والسلام عليكم ورحمه الله وبركاته ..


حيت اقدم لكم شرح طريقة وتجديد للاقسام بحيث نجدد النشاط ونغير الجو او الروتين

فكرت بطرحها للجميع قبل ما كانت حصريه على منتديات مفكرة العرب


مثال مصور

~~~

~~~

مثال ع الطبيعه


متطلبات الدرس مفصل:-
*محتاجين هآك ايقونات الاقسام "مرفق"+"رفع صور ايقونات"
* استبدال القوالب التاليه:-
1-forumhome_forumbit_level1_nopost
2-forumhome_forumbit_level2_nopost
3-forumhome_forumbit_level1_post
4-forumhome_forumbit_level2_post

وفي قالب template : FORUMHOME احتمال يكون فيه كود code اذا كان يوجد يفضل ان يحذف سأذكره تحت

5-اضافه كود code في تعاريف CSS

ملاحظه : اخذ نسخه احتياطيه لكل قالب template قبل التعديل ~ لان ما نظمن الخطاء او عدم التوافق



ابحث عن قالب template ~ forumhome_forumbit_level1_nopost
واستبدله كامل بـ


رمز PHP:
<code style="white-space:nowrap"> <code> <table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">
<
table class="tborder" cellpadding="$stylevar&#91;cellpadding&#93;" cellspacing="$stylevar&#91;cellspacing&#93;" border="0" width="100%" align="center">


<
tbody>
<
tr>
<
td class="tcat" colspan="<if condition="$vboptions&#91;showmoderatorcolumn&#93;">5<else />4</if>">
<if
condition="$childforumbits">
<
a style="float:$stylevar&#91;right&#93;" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar&#91;imgdir_button&#93;/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
</if>
<
a href="forumdisplay.php?$session&#91;sessionurl&#93;f=$forum&#91;forumid&#93;">$forum&#91;title&#93;</a>
<if
condition="$show&#91;'forumdescription'&#93;"><div class="smallfont">$forum&#91;description&#93;</div></if>
<if
condition="$show&#91;'subforums'&#93;"><div class="smallfont"><strong>$vbphrase&#91;subforums&#93;</strong>: $forum&#91;subforums&#93;</div></if>
</
td>
</
tr>
</
tbody>


<
tbody>
<
tr align="center">
<
td class="thead" width="79">&nbsp;</td>
<
td class="thead" width="60%" align="$stylevar&#91;left&#93;">$vbphrase&#91;forum&#93;</td>
<
td class="thead" width="22%">$vbphrase&#91;last_post&#93;</td>
<if
condition="$vboptions&#91;'showmoderatorcolumn'&#93;">
<
td class="thead" width="10%">$vbphrase&#91;moderator&#93;</td>
</if>
</
tr>
</
tbody>



<if
condition="$childforumbits">
<
tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>
</
table>
</
table>
</code> </code>






ابحث عن قالب template ~ forumhome_forumbit_level2_nopost
واستبدله كامل بـ


رمز PHP:
<code style="white-space:nowrap"> <code> <tr>
<
td class="tcat"><span class="smallfont">&nbsp;</span></td>
<
td class="tcat" colspan="<if condition="$vboptions&#91;'showmoderatorcolumn'&#93;">5<else />4</if>">
<
a href="forumdisplay.php?$session&#91;sessionurl&#93;f=$forum&#91;forumid&#93;">$forum&#91;title&#93;</a>
<if
condition="$show&#91;'forumdescription'&#93;"><div class="smallfont">$forum&#91;description&#93;</div></if>
<if
condition="$show&#91;'subforums'&#93;"><div class="smallfont"><strong>$vbphrase&#91;subforums&#93;</strong>: $forum&#91;subforums&#93;</div></if>
</
td>
</
tr>
$childforumbits
</code> </code>




ابحث عن قالب template ~ forumhome_forumbit_level1_post

هنا يجب تحميل صور الايقونات ورفعها





ويكون مسارها (( images/misc )) مجلد صور المنتدى forum


احتمال 1% ماتظهر ,> اذا ما ظهرت ارفعها على مجلد misc الي بمجلد الاستايل style المعدل عليه

واستبدله كامل بـ

رمز PHP:
<code style="white-space:nowrap"> <code> <tr align="center">
<
td width="50" class="alt0">$forum&#91;forumhomeicon&#93;</td>
<
td class="alt1Active" onmouseover="this.style.backgroundColor='#ffffff';" onmouseout="this.style.backgroundColor='#ffffff';" align="$stylevar&#91;left&#93;" id="f$forum&#91;forumid&#93;">


<!--
هاك product عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->
<
div class="smallfont" style="float:left" nowrap>
<
a href="search.php?$session&#91;sessionurl&#93;f=$forum&#91;forumid&#93;" title="بحث في هذا المنتدى forum">
<
IMG align="absmiddle" SRC="http://www.dzbatna.net/vb/images/misc/searchme.gif" style="cursor: hand" border="0"></a>
<if
condition="$forum&#91;statusicon&#93;=='new'">
<
a href="search.php?$session&#91;sessionurl&#93;do=getnew&include=$forum&#91;forumid&#93;" title="عرض المشاركات الجديدة في هذا المنتدى forum">
<
IMG align="absmiddle" SRC="http://www.dzbatna.net/vb/images/misc/findme.gif" style="cursor: hand" border="0"></a></if>
<
a href="newthread.php?$session&#91;sessionurl&#93;do=newthread&amp;f=$forum&#91;forumid&#93;" title="إضافة موضوع جديد في هذا المنتدى forum">
<
IMG align="absmiddle" SRC="http://www.dzbatna.net/vb/images/misc/newme.gif" style="cursor: hand" border="0"></a>
</
div>
<!--
هاك product عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->



<
form >
<
div align="center">
<
table border="0" width="100%" id="table2" cellspacing="0" cellpadding="0" dir="ltr" height="18">
<
tr>
<
td height="18">
<
p align="center"><strong><font size="2">~{..<a href="forumdisplay.php?$session&#91;sessionurl&#93;f=$forum&#91;forumid&#93;">
<
span style="text-decoration:none">$forum&#91;title&#93;</span></a></font></strong><b><font size="2">
<if
condition="$show&#91;'browsers'&#93;"><span class="smallfont">(<phrase 1="$forum&#91;browsers&#93;">$vbphrase&#91;x_viewing&#93;</phrase>)</span></if>
..}~</
font></b><table border="0" width="100%" id="table3" cellspacing="0" cellpadding="0">
<
tr>
<
td>&nbsp;</td>
<
td width="30" height="30">
<
a href="forumdisplay.php?$session&#91;sessionurl&#93;f=$forum&#91;forumid&#93;">
<
img src="http://www.dzbatna.net/vb/images/misc/Contributions.gif" alt="$forum&#91;description&#93;" width="30" height="30" border="0"></a></td>
<
td width="460">&nbsp;</td>
</
tr>
</
table>
</
td>
</
tr>
</
table>
</
div>

<if
condition="$show&#91;'forumdescription'&#93;"></if></form>


<if
condition="$show&#91;'forumsubscription'&#93;"></if>
<if
condition="$show&#91;'forumsubscription'&#93;"><div class="smallfont"><strong><a href="subscription.php?$session&#91;sessionurl&#93;do=removesubscription&amp;f=$forum&#91;forumid&#93;" rel="nofollow">
<
span style="text-decoration: none">$vbphrase&#91;unsubscribe_from_this_forum&#93;</span></a></strong></div></if>
<if
condition="$show&#91;'subforums'&#93;"><div class="smallfont" style="margin-top:$stylevar&#91;cellpadding&#93;px"><strong>$vbphrase&#91;subforums&#93;</strong>: $forum&#91;subforums&#93;</div></if>
<
table width="100%" class="smallfont" id="table1">
<
tr>
<
td class="forumbit" ><div class="smallfont">$vbphrase&#91;threads&#93; : $forum&#91;threadcount&#93; | $vbphrase&#91;posts&#93; : $forum&#91;replycount&#93;</div></td>
</
tr>
</
table>
</
td>
<
td class="alt2" width="35%" nowrap="nowrap" >$forum&#91;lastpostinfo&#93;</td>
<if
condition="$vboptions&#91;'showmoderatorcolumn'&#93;">
<
td id="moderators_$forum&#91;forumid&#93;" class="alt1" width="13%"><div class="smallfont">$forum&#91;moderators&#93;</div></td>
</if>
</
tr>
$childforumbits
</code> </code>


و نفس الخطوه لقالب template ~ forumhome_forumbit_level2_nopost

استبدله كامل بـ


رمز PHP:
<code style="white-space:nowrap"> <code> <tr align="center">
<
td width="50" class="alt0">$forum&#91;forumhomeicon&#93;</td>
<
td class="alt1Active" onmouseover="this.style.backgroundColor='#ffffff';" onmouseout="this.style.backgroundColor='#ffffff';" align="$stylevar&#91;left&#93;" id="f$forum&#91;forumid&#93;">


<!--
هاك product عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->
<
div class="smallfont" style="float:left" nowrap>
<
a href="search.php?$session&#91;sessionurl&#93;f=$forum&#91;forumid&#93;" title="بحث في هذا المنتدى forum">
<
IMG align="absmiddle" SRC="http://www.dzbatna.net/vb/images/misc/searchme.gif" style="cursor: hand" border="0"></a>
<if
condition="$forum&#91;statusicon&#93;=='new'">
<
a href="search.php?$session&#91;sessionurl&#93;do=getnew&include=$forum&#91;forumid&#93;" title="عرض المشاركات الجديدة في هذا المنتدى forum">
<
IMG align="absmiddle" SRC="http://www.dzbatna.net/vb/images/misc/findme.gif" style="cursor: hand" border="0"></a></if>
<
a href="newthread.php?$session&#91;sessionurl&#93;do=newthread&amp;f=$forum&#91;forumid&#93;" title="إضافة موضوع جديد في هذا المنتدى forum">
<
IMG align="absmiddle" SRC="http://www.dzbatna.net/vb/images/misc/newme.gif" style="cursor: hand" border="0"></a>
</
div>
<!--
هاك product عام ـ إضافة موضوع والبحث في المنتديات وتغذية RSS -->



<
form >
<
div align="center">
<
table border="0" width="100%" id="table2" cellspacing="0" cellpadding="0" dir="ltr" height="18">
<
tr>
<
td height="18">
<
p align="center"><strong><font size="2">~{..<a href="forumdisplay.php?$session&#91;sessionurl&#93;f=$forum&#91;forumid&#93;">
<
span style="text-decoration:none">$forum&#91;title&#93;</span></a></font></strong><b><font size="2">
<if
condition="$show&#91;'browsers'&#93;"><span class="smallfont">(<phrase 1="$forum&#91;browsers&#93;">$vbphrase&#91;x_viewing&#93;</phrase>)</span></if>
..}~</
font></b><table border="0" width="100%" id="table3" cellspacing="0" cellpadding="0">
<
tr>
<
td>&nbsp;</td>
<
td width="30" height="30">
<
a href="forumdisplay.php?$session&#91;sessionurl&#93;f=$forum&#91;forumid&#93;">
<
img src="http://www.dzbatna.net/vb/images/misc/Contributions.gif" alt="$forum&#91;description&#93;" width="30" height="30" border="0"></a></td>
<
td width="460">&nbsp;</td>
</
tr>
</
table>
</
td>
</
tr>
</
table>
</
div>

<if
condition="$show&#91;'forumdescription'&#93;"></if></form>


<if
condition="$show&#91;'forumsubscription'&#93;"></if>
<if
condition="$show&#91;'forumsubscription'&#93;"><div class="smallfont"><strong><a href="subscription.php?$session&#91;sessionurl&#93;do=removesubscription&amp;f=$forum&#91;forumid&#93;" rel="nofollow">
<
span style="text-decoration: none">$vbphrase&#91;unsubscribe_from_this_forum&#93;</span></a></strong></div></if>
<if
condition="$show&#91;'subforums'&#93;"><div class="smallfont" style="margin-top:$stylevar&#91;cellpadding&#93;px"><strong>$vbphrase&#91;subforums&#93;</strong>: $forum&#91;subforums&#93;</div></if>
<
table width="100%" class="smallfont" id="table1">
<
tr>
<
td class="forumbit" ><div class="smallfont">$vbphrase&#91;threads&#93; : $forum&#91;threadcount&#93; | $vbphrase&#91;posts&#93; : $forum&#91;replycount&#93;</div></td>
</
tr>
</
table>
</
td>
<
td class="alt2" width="35%" nowrap="nowrap" >$forum&#91;lastpostinfo&#93;</td>
<if
condition="$vboptions&#91;'showmoderatorcolumn'&#93;">
<
td id="moderators_$forum&#91;forumid&#93;" class="alt1" width="13%"><div class="smallfont">$forum&#91;moderators&#93;</div></td>
</if>
</
tr>
$childforumbits
</code> </code>



هذا الكود code الي بالرئيسيه &quot; FORUMHOME &quot; واحمال وجوده 50%