- เครดิต
- 192
- เพื่อน
- ทักทาย
- บล็อก
- อัลบั้ม
- โพสต์
- กระทู้
- แชร์
- สำคัญ
- สิทธิ์อ่าน
- 10
- จำนวนผู้ติดตาม
- จำนวนผู้กำลังติดตาม
- เพศ
- ไม่บอก
|
แก้ไขครั้งสุดท้ายโดย -[E]xSoMax[Z]- เมื่อ 2011-12-9 22:37
- ดูผลงาน ModHack ต่างๆของ exsomaxz ได้ที่ ggthai.com เท่านั้น
- อนาคตอาจเปิดรับทำสกินแบบโก๋อย่างเต็มรูปแบบ ตอนนี้กำลังศึกษา CSS ขั้นสูงอยู่^^
คัดลอกไปที่คลิปบอร์ด
เอามาจากกระทู้ http://forum.discuzthai.com/thread-30829-1-1.html
เพือนๆหลายคนเอาไพล์ไปทับแล้วมีปัญหาเยอะมากมาย เรามาลุยวิธีลงโค๊ดเองดีกว่า ง่ายดี ชิวๆ อย่าลืมสำรองไพล์เก่าด้วย!-
- ต้นฉบับ : Style by 4DEZIGN
- ปรับแต่งใหม่ : by POR20150
- ปรับแต่งใหม่และเรียบเรียงโค๊ดที่ไม่ใช้และแก้ไขปัญหาทั้งหมดไว้ให้แล้ว : by -[E]xSoMax[Z]-
คัดลอกไปที่คลิปบอร์ด
ก่อนอื่น โหลดไพล์แล้ว นำไปวาง static/image/สกินที่ใช้/
อย่าลืม + กะกาน! ไม่กด + อดรู้วิธีแก้ปัญหาเน้อ!
เปิดไพล์ discuz.htm เข้าไปที่ /สกินที่ใช้ /forum/discuz.htm
ค้นหา- <table cellspacing="0" cellpadding="0" class="fl_tb">
- <tr>
- <!--{loop $cat[forums] $forumid}-->
- <!--{eval $forum=$forumlist[$forumid];}-->
- <!--{eval $forumurl = !empty($forum['domain']) && !empty($_G['setting']['domain']['root']['forum']) ? 'http://'.$forum['domain'].'.'.$_G['setting']['domain']['root']['forum'] : 'forum.php?mod=forumdisplay&fid='.$forum['fid'];}-->
- <!--{if $cat['forumcolumns']}-->
- <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
- </tr>
- <!--{if $forum['orderid'] < $cat['forumscount']}-->
- <tr class="fl_row">
- <!--{/if}-->
- <!--{/if}-->
- <td class="fl_g" width="$cat[forumcolwidth]">
- <div class="fl_icn_g"{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
- <!--{if $forum[icon]}-->
- $forum[icon]
- <!--{else}-->
- <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
- <!--{/if}-->
- </div>
- <dl{if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="margin-left: {$forum[extra][iconwidth]}px;"{/if}>
- <dt><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></dt>
- <!--{if empty($forum[redirect])}--><dd><em>{lang forum_threads}: $forum[threads]</em>, <em>{lang forum_posts}: $forum[posts]</em></dd><!--{/if}-->
- <dd>
- <!--{if $forum['permission'] == 1}-->
- {lang private_forum}
- <!--{else}-->
- <!--{if $forum['redirect']}-->
- <a href="$forumurl" class="xi2">{lang url_link}</a>
- <!--{elseif is_array($forum['lastpost'])}-->
- <!--{if $cat['forumcolumns'] < 3}-->
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
- <!--{else}-->
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost">{lang forum_lastpost}: $forum[lastpost][dateline]</a>
- <!--{/if}-->
- <!--{else}-->
- {lang never}
- <!--{/if}-->
- <!--{/if}-->
- </dd>
- </dl>
- </td>
- <!--{else}-->
- <td class="fl_icn" {if !empty($forum[extra][iconwidth]) && !empty($forum[icon])} style="width: {$forum[extra][iconwidth]}px;"{/if}>
- <!--{if $forum[icon]}-->
- $forum[icon]
- <!--{else}-->
- <a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}><img src="{IMGDIR}/forum{if $forum[folder]}_new{/if}.gif" alt="$forum[name]" /></a>
- <!--{/if}-->
- </td>
- <td>
- <h2><a href="$forumurl"{if $forum[redirect]} target="_blank"{/if}{if $forum[extra][namecolor]} style="color: {$forum[extra][namecolor]};"{/if}>$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em class="xw0 xi1" title="{lang forum_todayposts}"> ($forum[todayposts])</em><!--{/if}--></h2>
- <!--{if $forum[description]}--><p class="xg2">$forum[description]</p><!--{/if}-->
- <!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
- <!--{if $forum['moderators']}--><p>{lang forum_moderators}: <span class="xi2">$forum[moderators]</span></p><!--{/if}-->
- </td>
- <td class="fl_i">
- <!--{if empty($forum[redirect])}--><span class="xi2">$forum[threads]</span><span class="xg1"> / $forum[posts]</span><!--{/if}-->
- </td>
- <td class="fl_by">
- <div>
- <!--{if $forum['permission'] == 1}-->
- {lang private_forum}
- <!--{else}-->
- <!--{if $forum['redirect']}-->
- <a href="$forumurl" class="xi2">{lang url_link}</a>
- <!--{elseif is_array($forum['lastpost'])}-->
- <a href="forum.php?mod=redirect&tid=$forum[lastpost][tid]&goto=lastpost#lastpost" class="xi2"><!--{echo cutstr($forum[lastpost][subject], 30)}--></a> <cite>$forum[lastpost][dateline] <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
- <!--{else}-->
- {lang never}
- <!--{/if}-->
- <!--{/if}-->
- </div>
- </td>
- </tr>
- <tr class="fl_row">
- <!--{/if}-->
- <!--{/loop}-->
- $cat['endrows']
- </tr>
- </table>
คัดลอกไปที่คลิปบอร์ด แทนที่หมายเหตุ......เวลาบันทึกไพล์ เลือก UTF-8 นะครับ ท่าเลือก ANSI จะเป็นภาษาต่างดาว
เปิดไพล์ common.css เข้าไปที่ /สกินที่ใช้ /common/common.css
เพิ่มไว้ล่างสุดของโค๊ด
- .di2 { width:200px; height:30px; padding-top:6px; background:url({IMGDIR}/di2.jpg) no-repeat center top; text-align:center; text-shadow: 0 0 0.2em #838383, 0 0 0.2em #838383; color:#000000;}
- .di3-1 { width:200px; height:30px; padding-top:1px; background:url({IMGDIR}/di3-1.jpg) no-repeat center top; text-align:center; text-shadow: 0 0 0.2em #838383, 0 0 0.2em #838383; color:#000000;}
- .tvv { width:150px; height:25px; padding-top:22px; background:url({IMGDIR}/tvv.jpg) no-repeat center top;}
- .di { width:67px; height:50px; padding-top:6px; background:url({IMGDIR}/di.jpg) no-repeat center top; margin:1px; text-align:center; text-shadow: 0 0 0.2em #838383, 0 0 0.2em #838383; color:#000000; font-weight:bold; font-size:17px; line-height:18px; }
- .di p { display:block; text-shadow: 0 0 0.2em #ccc, 0 0 0.2em #ccc; font-weight:100; margin:0px; padding-top:6px; border:0px; color:#fff; font-size:14px; }
คัดลอกไปที่คลิปบอร์ด
เปิดไพล์ module.css เข้าไปที่ /สกินที่ใช้ /common/module.css
ค้นหาปรับเป็นหมายเหตุ XX ให้เปลียนเป็นเลข เช่น 900px 950px 1000px ตามความเหาะสมของเว็บบอร์ดของคุณนะคับ
อัพแคช เป็นเสร็จเรียบร้อย!
เสร็จแล้วก๊าบ อย่าลืม + กะกาน! ไม่กด + อดรู้วิธีแก้ปัญหาเน้อ! |
ขออภัย! โพสต์นี้มีไฟล์แนบหรือรูปภาพที่ไม่ได้รับอนุญาตให้คุณเข้าถึง
คุณจำเป็นต้อง ลงชื่อเข้าใช้ เพื่อดาวน์โหลดหรือดูไฟล์แนบนี้ คุณยังไม่มีบัญชีใช่ไหม? สมัครสมาชิก
x
คะแนน
-
ดูบันทึกคะแนน
|
|
|
|
|
|