ข่าวประชาสัมพันธ์

มาร่วมเป็นกำลังใจให้เว็บด้วยการสมัครสมาชิกวีไอพี ~~ เลือกปีที่ท่านต้องการได้โดยไม่ต้องเรียงปี ~~ ปีละ 350 บาท สมัคร 2 ปีลดเหลือ 600 บาท ~~ มีไลน์กลุ่ม VIP จำนวนหลายร้อยท่าน เอาไว้ปรึกษางานซ่อม ~~ เข้าถึงข้อมูลด้านเทคนิค ข้อมูลเชิงลึกมากมาย.....


ผู้เขียน หัวข้อ: Box Credit กล่องใส่เครดิต  (อ่าน 1261 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ Auto Man

  • Administrator
  • หัวหน้าศูนย์ซ่อมสร้าง
  • *****
  • เจ้าของกระทู้
  • Joined: ก.ย. 2558
  • กระทู้: 37510
  • สมาชิกลำดับที่ : 1
  • เพศ: ชาย
  • มือผู้ให้ย่อมสูงกว่ามือผู้รับ
    • เว็บชุมชนคนรักช่างยนต์
    • อีเมล์
Box Credit กล่องใส่เครดิต
« เมื่อ: 06 พฤษภาคม 2559, 11:32:00 »
  • ขึ้นบน
  • ลงล่าง
  •   ไม่มีมอด ต้องแมนวล หรือมือเน้นๆ ครับ 5 5 5

    ไฟล์ Sub.php
    เพิ่ม
    โค๊ด: [Select]
    array(
                    'tag' => 'credit',
                    'before' => '<table border="0" cellspacing="0" cellpadding="0"><tr><td height="39" colspan="3"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td width="123" background="'.$settings['default_theme_url'].'/images/cre1.png" height="39" title="กล่องเครดิต">&nbsp;</td><td background="'.$settings['default_theme_url'].'/images/cre2.gif">&nbsp;</td><td width="48" background="'.$settings['default_theme_url'].'/images/cre3.png" height="39">&nbsp;</td></tr></table></td></tr><tr><td bgcolor="#cdf4a3" width="10">&nbsp;</td><td bgcolor="#cdf4a3"><table border="1" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border: 1px solid #69ac00" bgcolor="#FFFFFF"><tr><td style="font-family: Arial; font-size: 12px; color: #707070; text-align: center"><p style="margin: 5px">',      
                    'after' => '</td></tr></table></td><td bgcolor="#cdf4a3" width="10">&nbsp;</td></tr><tr><td colspan="3"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td background="'.$settings['default_theme_url'].'/images/cre4.gif" height="11" width="11"><img border="0" src="'.$settings['default_theme_url'].'/images/space.gif" width="1" height="1"></td><td bgcolor="#cdf4a3" height="11"><img border="0" src="'.$settings['default_theme_url'].'/images/space.gif" width="1" height="1"></td><td background="'.$settings['default_theme_url'].'/images/cre5.gif" height="11" width="11"><img border="0" src="'.$settings['default_theme_url'].'/images/space.gif" width="1" height="1"></td></tr></table></td></tr></table><!-- 250309-->',
                    'block_level' => true,
                ),
            );

    ไฟล์ Sup-Edit.php
    เพิ่ม
    โค๊ด: [Select]
                    array(
                    'image' => 'credit',
                    'code' => 'credit',
                    'before' => '[credit]',
                    'after' => '[/credit]',
                    'description' => $txt['bbcode_credit']
                ),

    มายเหตุ คำถาม...แล้วจะใส่ตรงไหนกันหว่า.. คำตอบคือ.....ก็ใส่ตรงที่มี Code เหมือนๆ กันกับ Code ที่เราจะเพิ่มนี่แหละ รูปก็หา Copy ที่ด้านล่างเหมือนกัน ๕๕๕๕


    ไฟล์ Modifications.thai-utf8.php

    หา
    โค๊ด: [Select]
    ?>
    เพิ่มก่อนหา
    โค๊ด: [Select]
    $txt['bbcode_credit'] = 'กล่อง เครดิต';   

    ตัวอย่างด้านล่างนี่เลย

    ตรงนี้มีภาพ! แต่ท่านจะมองไม่เห็น , ท่านต้อง  สมัครสมาชิก หรือ ลงชื่อเข้าระบบ


    ขอบคุณที่มา http://www.banpongpond-src.com/smf/index.php?topic=849.0
    สวัสดีคุณ...ผู้เยี่ยมชม  กด ❤ ถูกใจโพสท์นี้ หรือยัง...
    ต้องการสมัครสมาชิก VIP สมัครได้ที่นี่...   หรือทาง Line ID: k.sonchai

    Box Credit กล่องใส่เครดิต
    « เมื่อ: 06 พฤษภาคม 2559, 11:32:00 »