Skip to content

ConnectyCube/wp-connectycube-chat-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConnectyCube Chat Widget – WordPress Plugin

WordPress wrapper for the ConnectyCube Chat Widget (Vanilla JS). Embed real-time chat, presence, file sharing, and optional voice/video calls and AI features on your site, with all widget options configurable from Settings → ConnectyCube Chat.

Requirements

  • WordPress 5.9+
  • PHP 7.4+
  • ConnectyCube account and application (App ID and Auth Key from ConnectyCube Dashboard)

Installation

  1. Download ZIP archive of the plugin
  2. In WordPress admin go to Plugins, upload the zip and and activate
  3. Go to Settings → ConnectyCube Chat, enter your App ID and Auth Key, and configure options as needed. To get App ID and Auth Key - register new account at https://connectycube.com/signup. Then go to Admin panel, create Application and put Application credentials from 'Overview' page.
  4. Save. The widget will appear on the frontend according to your display settings (floating button or embedded).

wp-widget-setup-demo.mp4

Features

  • Credentials – App ID, Auth Key, optional debug mode.
  • User – Use logged-in WordPress user (ID, name, email, avatar) or override; optional in-widget login/register for guests.
  • Display – Enable/disable, language (en, el, ua, es), split/mobile/embedded view, hide toggle button, accessibility title, close on outside click/Escape, connection status, logo.
  • Features – Online users tab, new chat/1-on-1/group options, voice & video calls, user statuses, last seen, content reporting, block list, online badge, URL preview, attachment accept.
  • Notifications – Mute all, browser notifications, play sound.
  • Single view (support chat) – One chat with your team, quick actions, terms link.
  • AI – Optional Google AI API key for message tone and chat summarization.
  • Push – Web push (VAPID key, service worker path).
  • Styling – Optional JSON for button, portal, and badge inline styles.

All options map to the official widget props. When Use logged-in user is enabled, the current WordPress user’s ID, display name, email, and avatar are passed into the widget.

Plugin structure

  • connectycube-chat-widget.php – Bootstrap, constants, activation.
  • includes/class-admin.php – Settings API, sections/fields, sanitization, defaults.
  • includes/class-frontend.php – Enqueue React, ReactDOM, ConnectyCube SDK, and widget UMD from CDN; build props from options and current user; mount widget in footer.
  • uninstall.php – Removes stored options on uninstall.

License

Apache 2.0. See LICENSE.

About

ConnectyCube chat widget plugin for WordPress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages