تنبيه هام |
الإهداءات |
دروس الـ[vb] قسم خاص بشروحات منتديات الـ [vb] |
| أدوات الموضوع |
رقم المشاركة : ( 1 )
| ||||||||||||||||
| ||||||||||||||||
في السابق كانت الأقسام تظهر قسم أسفل الآخر .. مع هذا الهاك الأقسام ستظهر بجانب بعضها البعض .. طريقة التركيب إفتح ملف : includes/functions_forumlist.php // --- إبحث عن : كود PHP: كود if (!defined('MAXFORUMDEPTH')) { define('MAXFORUMDEPTH', 2); } $forumbits = ''; --- أسفل منها ضع : كود PHP: كود if($depth == 2 && $tempext == "_post"){ $forumbits = "<TABLE BORDER='0' WIDTH='100%' ALIGN='CENTER' CELLPADDING='2'><tr>"; $i4d = 0; } --- إبحث عن : كود PHP: كود ($hook = vBulletinHook::fetch_hook('forumbit_display')) ? eval($hook) : false; --- أسفل منها ضع كود PHP: كود if($depth == 2 && $tempext == "_post"){ $i4d++; $forumbits.="<td WIDTH='20%'>"; } --- إبحث عن : كود PHP: كود eval('$forumbits .= "' . fetch_template("forumhome_forumbit_level$depth$tem pext") . '";'); --- أسفل منها ضع كود PHP: كود $i4d_c_perline = 3; // <- إستبدل هذا الرقم إلى عدد الأقسام التي تريدها أن تظهر في السطر الواحد .. 2 مثلا ً if($depth == 2 && $tempext == "_post"){ $forumbits.="</td>"; if($i == $i4d_c_perline){ $forumbits .= "</tr>"; $i4d = 0; }} +-++-++-++-++-++- الآن إحفظ الملف وأغلقه +-++-++-++-++-++-+ إفتح تمبلت : 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> $forumbits <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> --- استبدله بـ : كود PHP: كود $forumbits +-++-++-++-++-++- الآن إحفظ التمبلت +-++-++-++-++-++-+ إفتج تمبلت forumhome_forumbit_level2_post : --- امسح جميع ما بداخله وضع الكود التالي : كود PHP: كود <table border="0" width="100%" dir="$stylevar[direction]" cellpadding="6" class="tborder" style="border-collapse: collapse" cellspacing="2"> <tr> <td class="tcat" align="center" colspan="2"> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a></td> </tr> <tr> <td align="center" class="alt1" colspan="2"> <p align="center">$forum[description]</td> </tr> <tr> <td class="alt2" align="center" width="50%">$vbphrase[threads]</td> <td class="alt2" width="50%" align="center">$vbphrase[posts]</td> </tr> <tr> <td class="alt1" align="center"> <p dir="ltr"> <span style="font-size: 8pt;">$forum[threadcount]</span></td> <td class="alt1" align="center"> <p dir="ltr"> <span style="font-size: 8pt;">$forum[replycount] </span> </td> </tr> </table> +-++-++-++-++-++- الآن إحفظ التمبلت +-++-++-++-++-++-+ 'vdrm hgHrsJhl hgl',vm td hgwtpm hgvzdsm !j,.du v,ui gghrshl الموضوع الأصلي: طريقة الأقسـام المطورة في الصفحة الرئيسة !توزيع روعه للاقسام || الكاتب: عابر الفيافي || المصدر: منتديات نور الاستقامة
|
| رقم المشاركة : ( 2 ) | ||||||||||||||
|
تقبل مرووري تحياتي : | ||||||||||||||
| |||||||||||||||
|
| رقم المشاركة : ( 3 ) | ||||||||||||||
|
| ||||||||||||||
| |||||||||||||||
|
مواقع النشر (المفضلة) |
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
|