Live Chat Addon for AdFox
Introduction
The Live Chat addon enhances AdFox by enabling real-time communication between users. This feature relies on Pusher for efficient message delivery and real-time updates.
Accessing Live Chat Settings
To configure Live Chat in AdFox:
- From the Admin Panel, navigate to 'Settings' in the left sidebar.
- Click on the
Live Chat
tab to access the Live Chat settings.
Live Chat Settings
Configure the following fields to set up Live Chat:
- Enable Livechat: Toggle to activate or deactivate the Livechat feature.
- Pusher Key: Enter your Pusher App Key.
- Pusher Secret: Enter your Pusher App Secret.
- Pusher App ID: Enter your Pusher App ID.
- Pusher Cluster: Enter your Pusher Cluster.
- Enable Encryption: Toggle to enable or disable encryption for chat messages.
- Enable Uploading Attachments: Allow users to upload attachments in chat.
- Enable Emojis: Allow emojis in chat messages.
- Play New Message Sound: Play a sound for new messages.
- Allowed Image Extensions: Specify extensions allowed for image uploads, comma-separated. Example:
jpg,jpeg,png
. - Allowed File Extensions: Specify extensions allowed for file uploads, comma-separated. Example:
zip,pdf,txt,psd
. - Max File Size: Set the maximum file size for uploads in MB. Example:
12
.
Obtaining Pusher Credentials
To use Live Chat, you need to obtain credentials from Pusher:
- Sign up or Log in to Pusher: Visit Pusher and sign up or log in.
- Create a New App: Go to your dashboard and create a new app. Fill in your app details and select the cluster closest to your user base.
- Get Your Credentials: After creating your app, navigate to the
App Keys
section to find your App ID, Key, Secret, and Cluster information. - Enter Your Credentials in AdFox: Go back to the Live Chat settings in AdFox and enter the credentials you obtained from Pusher.
Conclusion
Setting up Live Chat on your AdFox platform allows for real-time interaction, enhancing user engagement. Ensure your Pusher credentials are correctly entered and configured to make the most out of this addon.
Addon Manager Guide
For detailed instructions on adding and managing addons in AdFox, please refer to the Addon Manager guide.