admin
11-01-2013, بتوقيت غرينيتش 05:52 PM
الطريقه المعروفه والمتبعه التعديل على قالب templateين بالاضافه الى اضافة اكواد css ...
لكن بطريقه اللي راح اشرح طريقةها بيكون التعديل على قالب template واحد فقط وبدون وضع css http://www.dzbatna.com/images/smilies/cupidarrow.gif
طبعا تؤدي نفس الغرض والافضل استخدام h1
مثال
http://www.ssdaa.com/vb/showthread.php?t=7164
لوحة تحكم المنتدى forum >>>> القوالب والاستايل styleات >>> نختار الاستايل style المطلوب ومنه نختار قالب template navbar
ابحث عن =
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>
</code> </code>
استبدله بالتالي =
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show['forumdesc'] AND THIS_SCRIPT == 'forumdisplay'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername">$foruminfo[title]</h1>
<span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>
<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'showthread'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername">$threadinfo[prefix_plain]$threadinfo[title]</h1>
<span class="smallfont"><b>$foruminfo[title]</b></span>
</td>
</tr>
</table>
<br />
</if>
</code> </code>
من يريد رابط الموضوع ورابط القسم عليها يستبدلها بالتالي =
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show['forumdesc'] AND THIS_SCRIPT == 'forumdisplay'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[ forumid]">$foruminfo[title]</a></h1>
<span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>
<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'showthread'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername"><a href="showthread.php?$session[sessionurl]t=$threadid">$threadinfo[prefix_plain]$threadinfo[title]</a></h1>
<span class="smallfont"><b>$foruminfo[title]</b></span>
</td>
</tr>
</table>
<br />
</if>
</code> </code>
موفقين بإذن الله
الصور المصغرة المرفقة http://www.traidnt.net/vb/attachments/296284d1221778192t-q1.jpg (http://www.traidnt.net/vb/attachments/296284d1221778192-q1.jpg) http://www.traidnt.net/vb/attachments/296285d1221778192t-q2.jpg (http://www.traidnt.net/vb/attachments/296285d1221778192-q2.jpg) http://www.traidnt.net/vb/attachments/296286d1221778192t-q3.jpg (http://www.traidnt.net/vb/attachments/296286d1221778192-q3.jpg)
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©
لكن بطريقه اللي راح اشرح طريقةها بيكون التعديل على قالب template واحد فقط وبدون وضع css http://www.dzbatna.com/images/smilies/cupidarrow.gif
طبعا تؤدي نفس الغرض والافضل استخدام h1
مثال
http://www.ssdaa.com/vb/showthread.php?t=7164
لوحة تحكم المنتدى forum >>>> القوالب والاستايل styleات >>> نختار الاستايل style المطلوب ومنه نختار قالب template navbar
ابحث عن =
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>
</code> </code>
استبدله بالتالي =
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show['forumdesc'] AND THIS_SCRIPT == 'forumdisplay'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername">$foruminfo[title]</h1>
<span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>
<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'showthread'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername">$threadinfo[prefix_plain]$threadinfo[title]</h1>
<span class="smallfont"><b>$foruminfo[title]</b></span>
</td>
</tr>
</table>
<br />
</if>
</code> </code>
من يريد رابط الموضوع ورابط القسم عليها يستبدلها بالتالي =
رمز PHP:
<code style="white-space:nowrap"> <code> <if condition="$show['forumdesc'] AND THIS_SCRIPT == 'forumdisplay'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[ forumid]">$foruminfo[title]</a></h1>
<span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>
<if condition="$show['forumdesc'] AND THIS_SCRIPT == 'showthread'">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><h1 class="bigusername"><a href="showthread.php?$session[sessionurl]t=$threadid">$threadinfo[prefix_plain]$threadinfo[title]</a></h1>
<span class="smallfont"><b>$foruminfo[title]</b></span>
</td>
</tr>
</table>
<br />
</if>
</code> </code>
موفقين بإذن الله
الصور المصغرة المرفقة http://www.traidnt.net/vb/attachments/296284d1221778192t-q1.jpg (http://www.traidnt.net/vb/attachments/296284d1221778192-q1.jpg) http://www.traidnt.net/vb/attachments/296285d1221778192t-q2.jpg (http://www.traidnt.net/vb/attachments/296285d1221778192-q2.jpg) http://www.traidnt.net/vb/attachments/296286d1221778192t-q3.jpg (http://www.traidnt.net/vb/attachments/296286d1221778192-q3.jpg)
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©