กลับไปที่แดชบอร์ด

เอกสาร

เรียนรู้วิธีใช้ Asyntai

เริ่มต้นใช้งาน
การติดตั้ง ฐานความรู้ AI เข้าถึงเนื้อหาของคุณอย่างไร ทดสอบ AI ของคุณ จัดการเว็บไซต์ เคล็ดลับคำสั่ง AI ย้ายจากแชทบอทอื่น เปรียบเทียบแผน
ฟีเจอร์
การรวบรวมข้อมูลเว็บไซต์ ช่องว่างความรู้ การ์ดสินค้า การ์ดสินค้าแบบไดนามิก Dynamic Images บริบทผู้ใช้ เครื่องมือที่กำหนดเอง พารามิเตอร์ลิงก์ การติดตามแบบเรียลไทม์ Human Takeover การยกระดับ การแจ้งเตือน AI รายงานประจำวัน ฟีดข้อมูลแบบเรียลไทม์ ฟีดข้อมูลแบบเรียลไทม์ Max สมาชิกในทีม การลงชื่อเข้าใช้ครั้งเดียว การยืนยันตัวตนสองขั้นตอน รวมรูปภาพ การมองเห็นรูปภาพ วิดเจ็ตแปลภาษา การปรับให้เข้ากับท้องถิ่น ความโปร่งใสของ AI ลูกค้าเป้าหมาย การจับลูกค้าเป้าหมายอัจฉริยะ ตั๋วสนับสนุน การจอง การฝัง ยกเว้นหน้า IP ที่ถูกบล็อก นโยบายการเก็บรักษาข้อมูล โหมดไม่เก็บข้อมูล การปกปิดข้อมูลส่วนบุคคล (PII) ตัวคัดกรองคำตอบ Access Tags การตรึงเวอร์ชันวิดเจ็ต บันทึกการตรวจสอบ โมเดลที่ฉลาดกว่า เปิดใช้งานการคิดวิเคราะห์ คำแนะนำการตอบกลับ ข้อความติดตามผล เสียงเป็นข้อความ ดาวน์โหลดบันทึกการสนทนา แชทแบบฝังตัว

How to Add Asyntai AI Chatbot to BuddyBoss

Step-by-step guide for BuddyBoss communities

รับโค้ดฝัง

ขั้นตอนที่ 1: รับโค้ดฝังตัวของคุณ

ก่อนอื่น ไปที่แดชบอร์ด Asyntai ของคุณและเลื่อนลงไปที่ส่วน "Embed Code" คัดลอกโค้ดฝังตัวเฉพาะของคุณซึ่งจะมีลักษณะดังนี้:

<script>(function(){var l=function(){var s=document.createElement("script");s.src="https://widget.asyntai.com/static/js/chat-widget.js";s.async=true;s.setAttribute("data-asyntai-id","YOUR_WIDGET_ID");document.head.appendChild(s)};if(document.readyState==="complete"){l()}else{window.addEventListener("load",l)}})();</script>

หมายเหตุ: โค้ดด้านบนเป็นเพียงตัวอย่าง คุณต้องคัดลอกโค้ดฝังตัวเฉพาะของคุณจากแดชบอร์ดเนื่องจากมี widget ID ส่วนตัวของคุณ

Step 2: Add Code via Theme Options → Custom Codes (Recommended)

BuddyBoss runs on WordPress, and the BuddyBoss theme includes a built-in place to add custom HTML, CSS, or JavaScript site-wide. This is the easiest way to install Asyntai:

  1. Log in to your WordPress Admin dashboard
  2. In the left sidebar, go to BuddyBoss → Theme Options
  3. Open the Custom Codes tab
  4. Find the Space Before </body tag> field (the footer JavaScript area)
  5. Paste your Asyntai embed code into this field
  6. Click Save Changes
  7. The chatbot will now load on every page of your community

หมายเหตุ: The Custom Codes tab supports HTML, CSS, and JavaScript that is output in the header or footer of all pages. Paste the Asyntai script exactly as copied — the "Space Before </body tag>" field is the recommended spot for best page load performance.

Alternative Method 1: Header/Footer Scripts Plugin (WPCode)

If you prefer to keep your scripts separate from theme settings, or if your child theme does not expose the Custom Codes field, a free header/footer scripts plugin such as WPCode works reliably:

  1. In WordPress Admin, go to Plugins → Add New
  2. Search for "WPCode" (or "Insert Headers and Footers"), then install and activate it
  3. ไปที่ Code Snippets → Header & Footer
  4. Paste your Asyntai embed code into the Footer box
  5. Click Save Changes
  6. โค้ดจะถูกเพิ่มไปยังทุกหน้าโดยอัตโนมัติ

เคล็ดลับ: Using the Footer box (rather than the Header) loads the widget after your page content, which keeps your community fast. This method survives theme updates because the code lives in the plugin, not the theme.

Alternative Method 2: Child Theme footer.php

For developers who prefer editing theme files directly, you can add the embed code to your child theme's footer template so it renders through the standard wp_footer hook:

  1. Make sure you are using a child theme so your changes survive BuddyBoss theme updates
  2. In WordPress Admin, go to Appearance → Theme File Editor (or edit the file over FTP/SFTP)
  3. Open the child theme's footer.php file
  4. Paste your Asyntai embed code just before the closing </body> tag, above the wp_footer() call
  5. Click Update File to save
<!-- Before </body> in your child theme footer.php --> <script>(function(){var l=function(){var s=document.createElement("script");s.src="https://widget.asyntai.com/static/js/chat-widget.js";s.async=true;s.setAttribute("data-asyntai-id","YOUR_WIDGET_ID");document.head.appendChild(s)};if(document.readyState==="complete"){l()}else{window.addEventListener("load",l)}})();</script>

สำคัญ: Always edit a child theme, not the main BuddyBoss theme. Editing the parent theme directly means your changes will be lost the next time BuddyBoss is updated.

ขั้นตอนที่ 3: ยืนยันการติดตั้ง

After saving your changes, open your community in a new browser tab or incognito window. You should see the chat widget button in the bottom right corner. Click it to ensure it opens and functions correctly.

ไม่เห็นวิดเจ็ต? Make sure you've saved your changes. If your site uses a caching plugin or CDN, clear the cache and reload in incognito mode. Check the browser console (F12) for any JavaScript errors, and confirm you pasted your own widget ID.

ต้องการความช่วยเหลือ?

If you're not comfortable editing theme settings or files, the header/footer plugin method requires no code knowledge and works on any WordPress site. You can also contact Asyntai support for guidance on installing the chatbot on your BuddyBoss community.

การสนับสนุนระดับมืออาชีพ: BuddyBoss offers support and a network of certified developers if you need professional assistance with theme modifications or complex customizations.