25 พฤษภาคม 2555, 04:37:07
ยินดีต้อนรับผู้เยี่ยมชม
  • noavata
  • ยินดีต้อนรับคุณ, ผู้เยี่ยมชม กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน
    เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น
Page Rank

ทำเว็บไซต์ | แต่งบอร์ด | ออกแบบ | SMF | Joomla | Drupal | WordPress | JQuery | CMS | ECommerce | Tel. +668-08577477

ส่งหัวข้อนี้พิมพ์ หน้า: 1 
icon message ผู้เขียน หัวข้อ: Meebo Integration ติดตั้ง meebo bar ใน SMF  (อ่าน 2314 ครั้ง)
0 สมาชิก และ 1 ผู้เยี่ยมชม กำลังดูหัวข้อนี้
*
*


!Personal

Germany   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general เมื่อ: 9 มีนาคม 2553, 18:52:35
  • ชื่อ: Meebo Integration Mod
  • ผู้เขียน: Labradoodle-360
  • นำเสนอโดย: DexMoreGroup
  • ประเภท: Socialization
  • รองรับ: SMF 1.1.xx, 2.0.xx
  • ปรับปรุงล่าสุด: 24 กุมภาพันธ์ 2553
  • ต้นฉบับ: Meebo Integration Mod

รายละเอียด
      ประยุกติ์ Meebo bar เข้ากับ SMF เพื่อแสดงสถานะ Social Network ของบอร์ดหรือของเราเอง

ตัวอย่าง


แก้ไขไฟล์:

file Load.php

ค้นหา -->>
โค๊ด: [Select]
// Load the Modifications language file, always ;). (but don't sweat it if it doesn't exist.)
loadLanguage('Modifications', '', false);

เพิ่มไว้ก่อน -->>
ขออภัย! ท่านไม่สามารถเข้าถึงข้อมูลส่วนนี้ได้ กรุณาอ่าน เงื่อนไขการใช้งาน DexMore.Com

file ModSettings.php

ค้นหา -->>
โค๊ด: [Select]
// Basic stuff, user languages, titles, flash, permissions...

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
// Labradoodle-360's Meebo Integration Mod.
array('check', 'enable_meebo'),
array('text', 'meebo_unique_key'),
'',

file index.template.php

ค้นหา -->>
โค๊ด: [Select]
// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>
</body></html>';

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
echo '<script type="text/javascript">Meebo("domReady");</script>';

file languages/Help.english.php, Help.thai.php, Help.thai-utf8.php หรืออื่นๆ

ค้นหา -->>
โค๊ด: [Select]
?>

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
// Labradoodle-360's Wibiya Integration Mod.
$helptxt['enable_meebo'] = 'Labradoodle-360\'s Meebo Integration Mod provides an easy solution to installing the Meebo bar. Did you check this box and Meebo still didn\'t show up? Make sure you enter a valid Unique ID from bar.Meebo.com.';
$helptxt['meebo_unique_key'] = 'You must enter a valid unique key for Meebo bar to show up.<br /><br /> If you don\'t have one, visit <a href="http://bar.meebo.com/" target="_blank">bar.Meebo.com</a> to register for one. <br /><br />Don\'t know what a Meebo Unique ID is? When you create your Meebo bar, it gives you a HTML Javascript code to add to your page, inside that code is an ID for your username, the ID is in that code.<br />e.g. <code>})({network:\'domainname_go69re\'});</code> you enter domainname_go68re';

file languages/Modifications.english.php, Modifications.thai.php, Modifications.thai-utf8.php หรืออื่นๆ

ค้นหา -->>
โค๊ด: [Select]
?>

เพิ่มไว้ก่อน -->>
โค๊ด: [Select]
// Labradoodle-360's Meebo Integration Mod.
$txt['enable_meebo'] = 'Enable Meebo';
$txt['meebo_unique_key'] = 'Meebo Unique ID<div class="smalltext" style="font-style: italic;">if the code showed: })({network:\'domainname_go69re\'}); you enter domainname_go68re</div>';

วิธีปรับแต่งและใช้งาน

1. สมัครสมาชิก meebo https://dashboard.meebo.com/


2. เลือกประเภทเว็บไซต์เพื่อนำโค็ดมาติดตั้ง





คัดลอกโค้ดในกรอบสีแดงมา

ใส่ไว้ในบอร์ดของเรา

3. เพิ่มปุ่มตามความต้องการ



ต้องการเพิ่มก็ลากเข้า ต้องการลดก็ลากออก เสร็จแล้วคลิกตามรูป ในคำแนะนำบอกว่ารอประมาณ 15 นาที และให้เคลียร์คุ๊กกี้ หรื่อแคชเบราเซอร์ด้วยถึงจะมีผล แต่ที่ผมทำรอไม่ถึง 5 นาทีหรอกครับ ความเปลี่ยนแปลงตามความต้องการของเราก็เปลี่ยนแล้ว


ใน options ของแต่ละปุ่มก็ใส่ ID หรือชื่อผู้ใช้งาน network Social ต่างๆ แหละครับ

แค่นี้เองครับง่ายๆ หากไม่เข้าใจอ่านใหม่อีกรอบนะครับ  Grin Grin Grin

ลิงค์หัวข้อ: http://dexmore.com/topic/941
Windows XP    Firefox 3.6   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
*
*


!Personal

Germany   ชาย ผู้เริ่มต้นกระทู้นี้ ออฟไลน์544566157 DexMore DexMore DexMore
เว็บไซต์
icon message
general ความคิดเห็นที่ 1 เมื่อ: 25 มิถุนายน 2553, 13:54:22
สำหรับ SMF 2.0.xx

แก้ไขไฟล์:

file $sourcedir/Load.php

ค้นหา -->>
โค๊ด: [Select]
// Detect the browser. This is separated out because it's also used in attachment downloads
detectBrowser();

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
// Labradoodle-360's Meebo Integration Mod.
// Make sure Meebo is enabled and that a key is entered before it loads.
if (!empty($modSettings['enable_meebo']) && ($modSettings['meebo_unique_key']))
$context['html_headers'] .='<script type="text/javascript">
if (typeof Meebo == \'undefined\') {
Meebo=function(){(Meebo._=Meebo._||[]).push(arguments)};
(function(q){
var args = arguments;
if (!document.body) { return setTimeout(function(){ args.callee.apply(this, args) }, 100); }
var d=document, b=d.body, m=b.insertBefore(d.createElement(\'div\'), b.firstChild); s=d.createElement(\'script\');
m.id=\'meebo\'; m.style.display=\'none\'; m.innerHTML=\'<iframe id="meebo-iframe"></iframe>\';
s.src=\'http\'+(q.https?\'s\':\'\')+\'://\'+(q.stage?\'stage-\':\'\')+\'cim.meebo.com/cim/cim.php?network=\'+q.network;
b.insertBefore(s, b.firstChild);
})({network:\''. $modSettings['meebo_unique_key']. '\'});
Meebo(\'makeEverythingSharable\');
}
</script>';

file $sourcedir/ManageSettings.php

ค้นหา -->>
โค๊ด: [Select]
// Big Options... polls, sticky, bbc....
array('select', 'pollMode', array($txt['disable_polls'], $txt['enable_polls'], $txt['polls_as_topics'])),
'',

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
// Labradoodle-360's Meebo Integration Mod.
array('check', 'enable_meebo'),
array('text', 'meebo_unique_key'),
'',

file $themedir/index.template.php

ค้นหา -->>
โค๊ด: [Select]
// Show the load time?
if ($context['show_load_time'])
echo '
<p>', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>';

echo '
</div></div>';

เพิ่มไว้หลัง -->>
โค๊ด: [Select]
echo '<script type="text/javascript">Meebo("domReady");</script>';

file $themedir/languages/Help.thai-utf8.php

เพิ่ม -->>
โค๊ด: [Select]
// Labradoodle-360's Wibiya Integration Mod.
$helptxt['enable_meebo'] = 'Labradoodle-360\'s Meebo Integration Mod provides an easy solution to installing the Meebo bar. Did you check this box and Meebo still didn\'t show up? Make sure you enter a valid Unique ID from bar.Meebo.com.';
$helptxt['meebo_unique_key'] = 'You must enter a valid unique key for Meebo bar to show up.<br /><br /> If you don\'t have one, visit <a href="http://bar.meebo.com/" target="_blank">bar.Meebo.com</a> to register for one. <br /><br />Don\'t know what a Meebo Unique ID is? When you create your Meebo bar, it gives you a HTML Javascript code to add to your page, inside that code is an ID for your username, the ID is in that code.<br />e.g. <code>})({network:\'domainname_go69re\'});</code> you enter domainname_go68re';

file $themedir/languages/Modifications.thai-utf8.php

เพิ่ม -->>
โค๊ด: [Select]
// Labradoodle-360's Meebo Integration Mod.
$txt['enable_meebo'] = 'Enable Meebo';
$txt['wibiya_meebo_key'] = 'Wibiya Unique ID<div class="smalltext" style="font-style: italic;">if the code showed: })({network:\'domainname_go69re\'}); you enter domainname_go68re</div>';

ลิงค์หัวข้อ: http://dexmore.com/topic/941
Windows XP    Firefox 3.6.4   see ip บันทึกการเข้า
ดูรายการสิ่งของสำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  สำหรับติดหมุดกระทู้ของคุณ!  เพิ่มเวลาที่อยู่ในระบบอีก 12 ชั่วโมง  น้องหมี..เอาไว้กอดนอนแทนกิ๊ก  สำหรับบอกรักใครสักคน ก็ส่งไปให้เขาเลย!  
ส่งหัวข้อนี้พิมพ์ หน้า: 1 
กระโดดไป:  

Creative Commons License

SMF Thai Translation Powered by SMF © 2006–2012, Simple Machines LLC

WordPress Google เข้าเยี่ยมชมหน้านี้ล่าสุดเมื่อ : 5 ชั่วโมงที่ผ่านมา

jQuery Plugin Copyright © 2551-2555 Themes Design & Hosting by DexMoreGroup

Sitemap | Thai Simple Machines Forum support SMF Thai

Web Begining | SMF Modifications | SMF Thai Translation Web Begining

Drupal | WordPress | CMS Joomla | jQuery Plugin | Web Graphics CMS Joomla