Επιστροφή στον πίνακα ελέγχου

Τεκμηρίωση

Μάθετε πώς να χρησιμοποιείτε το Asyntai

Πρώτα βήματα
Εγκατάσταση Βάση γνώσεων Πώς η ΤΝ αποκτά πρόσβαση στο περιεχόμενό σας Συνδέστε τον ιστότοπό σας Δοκιμάστε το AI σας Διαχείριση Ιστότοπων Συμβουλές Οδηγιών AI Μετάβαση από άλλο chatbot Σύγκριση Πλάνων
Λειτουργίες
Γραμμή Ask AI Γραμμή αναζήτησης AI Ανίχνευση Ιστότοπου Κενά γνώσεων Κάρτες προϊόντων Δυναμικές κάρτες προϊόντων Δυναμικές εικόνες Πλαίσιο χρήστη Προσαρμοσμένα εργαλεία Παράμετροι συνδέσμων Προληπτικά μηνύματα Ζωντανή παρακολούθηση Ανάληψη από άνθρωπο Κλιμάκωση Ειδοποιήσεις AI Ειδοποιήσεις προγράμματος περιήγησης Ημερήσια αναφορά Ροή δεδομένων σε πραγματικό χρόνο Ροή δεδομένων σε πραγματικό χρόνο Max Μέλη ομάδας Ενιαία Σύνδεση Έλεγχος ταυτότητας δύο παραγόντων Συμπερίληψη εικόνων Αναγνώριση εικόνας Widget μετάφρασης Τοπικοποίηση Διαφάνεια AI Δυνητικοί πελάτες Έξυπνη συλλογή δυνητικών πελατών Αιτήματα υποστήριξης Απαντήσεις email με AI Κατηγορίες συνομιλιών Κέντρο βοήθειας Κρατήσεις Φωνητικός πράκτορας Ενσωματωμένο περιεχόμενο Εξαίρεση σελίδων Αποκλεισμένες IP Πολιτική διατήρησης Λειτουργία μηδενικής διατήρησης Απόκρυψη προσωπικών δεδομένων (PII) Ταξινομητής απαντήσεων Ετικέτες πρόσβασης Κλείδωμα έκδοσης widget Αρχείο ελέγχου Προτάσεις απαντήσεων Μηνύματα Παρακολούθησης Μετατροπή ομιλίας σε κείμενο Λήψη αντιγράφου συνομιλίας Ενσωματωμένη συνομιλία Ενσωμάτωση με iframe

How to Add Asyntai AI Chatbot to XenForo

Step-by-step guide for XenForo forums

Λήψη Κώδικα Ενσωμάτωσης

Βήμα 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.

Before you start: You need administrator access to your XenForo Admin Control Panel to edit templates. If you don't have admin rights, ask your forum administrator to add the code for you.

Step 2: Open the PAGE_CONTAINER Template

In XenForo, the site-wide layout that wraps every page is controlled by the PAGE_CONTAINER template. This is the correct place to add the Asyntai script so the chatbot appears on your entire forum:

  1. Log in to your XenForo Admin Control Panel (usually at yourforum.com/admin.php)
  2. Go to Appearance → Templates
  3. Make sure the correct style is selected in the style chooser at the top (if you run more than one style, you'll need to repeat these steps for each)
  4. In the template search or filter box, type PAGE_CONTAINER
  5. Click the PAGE_CONTAINER template to open it in the editor

Συμβουλή: The PAGE_CONTAINER template contains the closing </body> and </html> tags for your forum, which is exactly why it's the right place to add a site-wide widget script.

Step 3: Paste the Asyntai Code Before </body>

Now add your embed code so it loads on every page of your forum:

  1. Scroll down to the bottom of the PAGE_CONTAINER template
  2. Find the closing </body> tag
  3. Paste your Asyntai embed code on a new line just before the </body> tag
  4. Click Save to store your changes
<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> </body>

Σημαντικό: Editing a template creates a customized version. If you upgrade XenForo or switch styles, you may need to re-check the PAGE_CONTAINER template and add the code again. XenForo highlights customized templates so they are easy to find.

Βήμα 4: Επαλήθευση Εγκατάστασης

After saving your changes, open your forum 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.

Δεν βλέπετε το widget; Make sure you saved the PAGE_CONTAINER template and edited the style that is actually active on your forum. XenForo and any caching or CDN in front of it (such as Cloudflare) may cache pages, so clear your browser cache or view in incognito mode. Check the browser console (F12) for any JavaScript errors.

Χρειάζεστε Βοήθεια;

If you're not comfortable editing templates, your forum administrator or a XenForo developer can add the code for you. You can also contact Asyntai support for guidance on installing the chatbot on your XenForo forum or community.

Συμβουλή: The Asyntai chatbot works great on forums and communities, helping members find answers instantly and reducing repetitive support questions for your staff and moderators.