Discuz Thai

 ลืมรหัสผ่าน
 สมัครสมาชิก

ข้อตกลงการใช้งานกระดานข่าวดิสคัสไทย DiscuzThai Agreement (English Version) ประกาศดิสคัสไทย - ทำเนียบดิสคัสภาษาไทย

Discuz! X3.5 Thai R20231001 Rev.8 (NEW) [วิดีโอช่วยสอน] อัปเกรด Discuz! X3.4 เป็น X3.5 Discord ของ Discuz! Thai Community อย่างเป็นทางการ

Discuz! X3.4 Thai R20220811 (REV.75) สิ้นสุดการสนับสนุน Discuz! X3.4 ภาษาไทยตั้งแต่วันนี้เป็นต้นไป (ขอแนะนำให้อัปเกรดเป็น X3.5 แทน)

ค้นหา
แท็กยอดนิยม: ดิสคัสภาษาไทย Discuz Thai
ดู: 3667|ตอบกลับ: 7

[X1.5] เกี่ยวกับปลั๊กอินแชร์เฟสบุ้คนะครับ

[คัดลอกลิงก์]
brb โพสต์ 2011-5-14 17:40:36 |โหมดอ่าน
อย่างที่พี่ๆบอกว่าให้เอาโค๊ต Like box มาใส่ระหว่าง
  1. return " ถึง ";
คัดลอกไปที่คลิปบอร์ด
มันก็จะเป็น
  1.                 return "<iframe src="http://www.facebook.com/plugins/like.php?app_id=226308544049496&amp;href&amp;send=true&amp;layout=standard&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>";
คัดลอกไปที่คลิปบอร์ด
ถูกไหมครับ จากนั้นก็เปลี่ยน " ให้เป็น \" ทั้งหมด ก็จะเป็น
  1.                 return "<iframe src="http://www.facebook.com/plugins/like.php?app_id=226308544049496&amp;href&amp;send=true&amp;layout=standard&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>";
คัดลอกไปที่คลิปบอร์ด
ถูกต้องไหมครับ แต่ ทำไมมันไม่ได้อ่ะครับ รบกวนหน่อยนะครับ
arafarn12 โพสต์ 2011-5-14 17:43:29
แน่จัย ??

  1. return "<a href="http://www.facebook.com/share.php?u={$_G['siteurl']}thread-{$_G['tid']}-1-1.html" id="facebook" target="_blank" style="background-image:url(./source/plugin/share/rec_facebook.png);">{$scriptlang['share']['share']}</a>

  2.                 <a href="http://twitter.com/share?url={$_G['siteurl']}thread-{$_G['tid']}-1-1.html" id="twitter" target="_blank" style="background-image:url(./source/plugin/share/rec_twitter.png);">{$scriptlang['share']['share']}</a>
  3.                
  4.                 <a href="javascript:void(0);" onclick="javascript: window.open('http://www.soclup.com/share.php',null,'height=212,width=295,status=yes,toolbar=no,menubar=no,location=no');"  style="background-image:url(http://soclup.com/images/soclup.gif);">{$scriptlang['share']['share']}</a>
  5.                
  6.                 <iframe src="http://www.facebook.com/plugins/like.php?href={$_G['siteurl']}thread-{$_G['tid']}-1-1.html&layout=standard&show_faces=true&width=450&action=like&font&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:65px;" allowTransparency="true"></iframe>




  7. ";
คัดลอกไปที่คลิปบอร์ด

ลอกไปเลยครับ ถ้า error มาโทดผม อิอิ

arafarn12 โพสต์ 2011-5-14 17:44:27
ตอบกระทู้ arafarn12 ตั้งกระทู้

กำ ผิดๆ
  1. <a href="javascript:void(0);" onclick="javascript: window.open('http://www.soclup.com/share.php',null,'height=212,width=295,status=yes,toolbar=no,menubar=no,location=no');"  style="background-image:url(http://soclup.com/images/soclup.gif);">{$scriptlang['share']['share']}</a>
คัดลอกไปที่คลิปบอร์ด
อย่าใส่ไปนะครับ มันของเว็บผม ลบออกด้วย
 เจ้าของ| brb โพสต์ 2011-5-14 17:58:00
ตอบกระทู้ arafarn12 ตั้งกระทู้

ยังไม่ได้หยุครับ T^T มันไม่เหมือนของพี่อ่ะ พอกดมันไปขึ้นที่เฟสนะครับ แต่พอกดลิ้ง ปรากฏว่าไม่ได้ไม่มีลิงค์นี้ อ่ะครับ
 เจ้าของ| brb โพสต์ 2011-5-14 18:00:27
ผมใช้ CODE นี้นะครับ แต่มันก็ยังไม่ได้
  1. return "<a href="http://www.facebook.com/share.php?u={$_G['siteurl']}thread-{$_G['tid']}-1-1.html" id="facebook" target="_blank" style="background-image:url(./source/plugin/share/rec_facebook.png);">{$scriptlang['share']['share']}</a>

  2.                 <a href="http://twitter.com/share?url={$_G['siteurl']}thread-{$_G['tid']}-1-1.html" id="twitter" target="_blank" style="background-image:url(./source/plugin/share/rec_twitter.png);">{$scriptlang['share']['share']}</a>
  3.                
  4.                 <iframe src="http://www.facebook.com/plugins/like.php?href={$_G['siteurl']}thread-{$_G['tid']}-1-1.html&layout=standard&show_faces=true&width=450&action=like&font&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:65px;" allowTransparency="true"></iframe>
คัดลอกไปที่คลิปบอร์ด
arafarn12 โพสต์ 2011-5-14 18:01:15
ตอบกระทู้ brb ตั้งกระทู้

ใช้ rewrite url ป่าวครับ ถ้าไม่ใช้ไม่ได้นะ
 เจ้าของ| brb โพสต์ 2011-5-14 18:18:35
ตอบกระทู้ arafarn12 ตั้งกระทู้

อ้าวหรอครับ แล้ว rewrite url ตั้งค่าตรงไหนหรอครับ หรือว่ามันเป็นปลั๊กอิน
Jinns โพสต์ 2011-5-17 02:13:36

แสดงความคิดเห็น

brb
ขอบคุณครับ  โพสต์ 2011-5-17 12:34
ขออภัย! คุณไม่ได้รับสิทธิ์ในการดำเนินการในส่วนนี้ กรุณาเลือกอย่างใดอย่างหนึ่ง ลงชื่อเข้าใช้ | สมัครสมาชิก

รายละเอียดเครดิต

รายชื่อผู้กระทำผิด|Archiver|ดิสคัส ไทย Follow us: Become a fan on facebook. Follow us on Twitter.

GMT+7, 2024-3-28 17:03

Powered by Discuz! X3.4, Rev.66

Copyright © 2001-2021 Tencent Cloud. Licensed

ตอบกระทู้ ขึ้นไปด้านบน ไปที่หน้ารายการกระทู้