بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله وبركاته
من المعروف أن شكل المنتدى وتنسيقه عاملاً أساسياً لجذب الكوادر والنخبة التي من شأنها النهوض بالموقع والرقي به ..
والتميز في ذلك يجعلك مختلفاً وكل من ينتمي إليك بالتأكيد يكون مختلف ..!
هنا طريقة جميلة ومميزة ومتطورة للعرض .. عرض المنتدى والأقسام والمشاركات و الموضوع .. تفي باحتياجات البعض واختزال الأقسام بخاصية طي جزء آخر موضوع ومشاركة ..!
الفكرة ليست من إبداعي للمعلومية .. بل قمت بالتعديل عليها لتناسب النسخة ، فاعذروني إن قصرت في إفادة أحدكم ..!
النسخة : 3.7.0 Gold
القوالب التي سيتم التعديل عليها :
FORUMHOME
FORUMDISPLAY
forumhome_forumbit_level1 _post
forumhome_forumbit_level2 _post
forumhome_lastpostby
نتوكل على الله ونأخذ نسخة من هذه القوالب قبل كل شيء ..!
ونبدأ ..
[RIGHT]قالب: FORUMHOME
نبحث عن هذا الكود ونحذفه:
----------
كود:
<td class="thead" width="175">$vbphrase[last_post]</td>
----------
.
.
[RIGHT]قالب: forumhome_forumbit_level1 _post
نستبدل محتوياته بـ :
----------
كود:
[right]<tr align="center">
<td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
<a style="float:$stylevar
" href="#top" onclick="return toggle_collapse('forumhome_lastpostby_$forum[forumid]')"><img id="collapseimg_forumhome_lastpostby_$forum[forumid]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_lastpostby].gif" alt="" border="0" /></a><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<div id="collapseobj_forumhome_lastpostby_$forum[forumid]" class="smallfont" style="padding:6px; margin-top:6px; border: 1px solid #000000; $vbcollapse[collapseobj_forumhome_lastpostby]" align="$stylevar[left]">$forum[lastpostinfo]</div>
<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt1"><div class="smallfont">$forum[moderators] </div></td>
</if>
</tr>
</tbody>
<if condition="$childforumbits">
<tbody>
$childforumbits
</tbody>
</if>
----------
.
.
قالب: forumhome_forumbit_level2 _post
نبحث عن :
----------
كود:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
----------
قبله مباشرة :
----------
كود:
<a style="float:$stylevar
----------
نبحث عن :
----------
كود:
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
----------
بعده أضف :
----------
كود:
<div id="collapseobj_forumhome_lastpostby_$forum[forumid]" class="smallfont" style="padding:6px; margin-top:6px; border: 1px solid #000000; $vbcollapse[collapseobj_forumhome_lastpostby]" align="$stylevar[left]">$forum[lastpostinfo]</div>
----------
نبحث عن الكود التالي ونحذفه أيضاً :
----------
كود:
<td class="alt2">$forum[lastpostinfo]</td>
----------
القالب : forumhome_lastpostby
نستبدل محتوياته بالكود :
كود:
<if condition="$show['lastpostinfo']">
كود:
<div style="float:right">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span> <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a></if>
</div>
<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if> <a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a> - <phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
<else />
<div class="smallfont" align="$stylevar
">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</if>
إحفظ التغييرات ...
وبالتوفيق ..!
مواقع النشر (المفضلة)