المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : [تميز عن غيرك] حركة عرض الاقسام الرئيسية للنسخة 4.0 بين يديك الان


MaesTrOoOo
30-07-2009, 05:33 PM
السلام عليكم ...

كلنا سمعنا بالنسخة 4.0 و شفنا نبذة من ستايل النسخة الجديدة ...

اليوم و انا قاعد الف باحد المنتديات الاجنبية المختصة في الفي بي لفتني حركة عرض الاقسام الرئيسية للنسخة 4.0

و حبيت انقلها لكم لتكون بين يديكم، مع بعض التعديلات البسيطة التي قمت بها ...


طيب ركزوا معي، العمل لي رح نقوم به هو على الستايل الافتراضي،و هو مجرد حذف و اضافة و تعديل يعني لي

عنده تاطير و مزين موقعه انصحه انه يجرب على الافتراضي قبل ...

طريقة التركيب:

عندنا حالتين، حالة الاقسام المنفصلة و حالة الاقسام الافتراضية، انا اود ان يكون الشرح على الافتراضي احسن

من قالب FORUMHOME نبحث عن الكود التالي:

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$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>
$forumbits
<tbody>


و نستبدله بالكود التالي:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

$forumbits
<tbody>


في قالب FORUMDISPLAY نبحث عن الكود التالي:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$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>
$forumbits
</table>


و نستبدله بالكود التالي:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$forumbits
</table>


نستبدل القوالب التالية جميعها

نستبدل كافة محتوى القالب forumhome_lastpostby بالكود التالي:

<if condition="$show['lastpostinfo']">
<div class="smallfont" style="float:left;">
<div style="float:left;">
<span style="white-space:nowrap"><strong>اخر مشاركة</strong>&nbsp;
<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
<if condition="$lastpostinfo['prefix']">
$lastpostinfo[prefix]
</span><if condition="is_browser('safari')"><!--bug#24775-->&nbsp;</if>
<span style="white-space:nowrap">
</if>
<a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" style="white-space:nowrap" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a></span>
&nbsp;</div>
<div style="float:left;"<if condition="is_browser('ie', 6)">; float:$stylevar[left]</if>">
<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
</div>
<div style="float:left;">&nbsp;
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
</div>
</div>
<else />
<div class="smallfont" style="float:right;">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
</div>
</if>


نستبدل كامل محتوى قالب forumhome_forumbit_level2_post بالقالب التالي:

<tr align="center">
<td class="alt1Active" width="100%">
<span style="float: left;">المواضيع : $forum[threadcount] &nbsp; المشاركات : $forum[replycount] &nbsp; <br /><if condition="$vboptions['showmoderatorcolumn']">المراقبين : $forum[moderators]</if></span>

<div style="float: right;"></div>
<span style="float: right;"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />&nbsp; &nbsp; </span>
<div style="float:right;">

<div align="right">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a></div>
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>

<if condition="$show['forumdescription']"><div class="smallfont">
<div align="right">$forum[description]</div></div></if>

<if condition="$show['forumsubscription']"><div class="smallfont" style="margin-top: 6px;">
<div align="right"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><div align="right"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></div></if>

</div>
</td>
</tr>
<tr><td class="alt2"><div align="right">$forum[lastpostinfo]</div></td></tr>
$childforumbits


و اخيرا قالب forumhome_forumbit_level1_post بالقالب التالي:

<if condition="!$show['collapsable_forums']">
<tbody>
</if>
<tr align="center">
<td class="alt1Active" width="100%">
<span style="float: left;">المواضيع: $forum[threadcount] المشاركات: $forum[replycount]
</span>
<div style="float: right;"></div>
<span style="float: right;"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />&nbsp;&nbsp; </span>

<div align="right" id="f$forum[forumid]">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a></div>
<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">
<div align="right">$forum[description]</div></div></if>
<if condition="$show['forumsubscription']"><div class="smallfont"><div align="right">
<strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></div></if>
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"> <div align="right"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></div></if>
</tr>
<tr>
<td class="alt2" colspan="2"><div align="right">$forum[lastpostinfo]</div></td></tr>
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
<if condition="$childforumbits">
<if condition="!$show['collapsable_forums']">
<tbody>
</if>
$childforumbits
<if condition="!$show['collapsable_forums']">
</tbody>
</if>
</if>



و النتيجة:


http://www.rawabetvb.com/vb/attachment.php?attachmentid=26031&d=1248730180


يا عيني عالحلاوة

دمتم بخير

الشبح
02-08-2009, 08:16 AM
حركة حلوة تسلم يالغلا

عبدالله ابراهيم
02-08-2009, 08:43 AM
روعة يا ايمن تسلم يمينك

MaesTrOoOo
05-08-2009, 08:39 AM
منورين شباب