=== Dialogoo Chat ===
Contributors: dialogoo
Tags: video chat, webcam chat, live chat, chat, webcam
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.3.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add live video chat and webcam chat to your WordPress site in minutes — multi-user rooms, private messaging, and webcam video, fully hosted.

== Description ==

[Dialogoo](https://dialogoo.com/) is a hosted **video chat and webcam chat** platform for websites: multi-user chat rooms, multi-webcam video, private messaging, and moderation tools, without you having to host or maintain any video chat software yourself.

This plugin embeds the Dialogoo video chat / webcam chat room you've already configured in your Dialogoo webmaster panel directly into any WordPress page or post, using a simple shortcode — or as a floating chat bubble that follows visitors around your whole site.

**Features**

* Live **video chat and webcam chat** rooms — multi-user, with private messaging and moderation, no chat server to host or maintain yourself
* `[dialogoo_chat]` shortcode — embed the video/webcam chat inline, anywhere a shortcode can go (post, page, widget area, or a template via `do_shortcode()`)
* One-click "Create a page with the chat" button — get a dedicated, published video chat page without writing or editing anything yourself
* Full screen mode for any page or post — the webcam chat fills the browser window with no site header, footer, menu, or sidebar
* Optional floating chat bubble, sitewide, no shortcode required
* Configurable default width/height, overridable per shortcode instance
* One-click copy buttons for every shortcode example on the settings screen
* Built-in getting-started guide and account sign-up links, right on the settings screen
* Small, dependency-free codebase — no build step, no bundled libraries

You'll need a Dialogoo account and a Site Key (found under **My chat → Integration** in your Dialogoo webmaster panel) to use this plugin. [Sign up at dialogoo.com](https://dialogoo.com/register) if you don't have one yet — the settings screen also links there directly. Embedding must also be turned on for your video/webcam chat from that same panel page.

= External services =

This plugin embeds content and functionality hosted by **Dialogoo** (dialogoo.com), a third-party live chat service:

* The `[dialogoo_chat]` shortcode loads `https://dialogoo.com/chat` inside an `<iframe>`.
* The optional floating chat bubble loads a script from `https://dialogoo.com/assets/js/embed.js`, which itself opens a `https://dialogoo.com/chat` iframe when a visitor clicks it.

When a visitor's browser loads either of these, it connects directly to dialogoo.com — the same as visiting any page that embeds third-party content — which involves standard connection metadata (e.g. IP address, user agent) reaching Dialogoo's servers so the chat can be shown. This plugin itself does not separately collect, transmit, or store any visitor data; it only outputs the `<iframe>`/`<script>` tag described above, and only once you've configured a Site Key.

Dialogoo's terms of use: [https://dialogoo.com/cgu](https://dialogoo.com/cgu)
Dialogoo's legal notice / privacy information: [https://dialogoo.com/legal](https://dialogoo.com/legal)

== Installation ==

1. Upload the `dialogoo-chat` folder to `/wp-content/plugins/`, or install it via **Plugins → Add New → Upload Plugin**.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Don't have a Dialogoo account yet? [Create one for free](https://dialogoo.com/register).
4. Go to **Settings → Dialogoo Chat** and enter your Site Key (from your Dialogoo webmaster panel → **My chat → Integration**).
5. Add `[dialogoo_chat]` to any page or post, use the **Create a page with the chat** button for a ready-made page, and/or enable the floating chat bubble — all from the same settings screen.

== Frequently Asked Questions ==

= Is this a real video chat / webcam chat plugin, or just a contact widget? =

It's a real, live video chat and webcam chat room — multi-user, with private messaging, multiple webcams per room, and moderation tools — not a single-operator support widget. The chat itself runs on Dialogoo's hosted platform; this plugin just embeds the video/webcam chat room you've configured there into your WordPress site.

= Where do I find my Site Key? =

Log into your Dialogoo account, open **My chat → Integration** (`/chatadmin/developer`), and copy the Site Key shown there.

= The shortcode shows a "no Site Key configured" notice on my page =

That notice is only ever shown to a logged-in administrator, never to your visitors — it's a reminder to finish setup at **Settings → Dialogoo Chat**. A visitor sees nothing at all until a Site Key is configured.

= Can I embed more than one chat, or override the size on one page? =

Yes — pass `site`, `width` and/or `height` directly to the shortcode to override the defaults for that one instance:

`[dialogoo_chat site="abcd1234" width="100%" height="800px"]`

= Can I send visitors straight into one specific room? =

Yes — add `room="room-slug"` (find a room's slug in your Dialogoo webmaster panel under Rooms) to land visitors directly in that room instead of your chat's default:

`[dialogoo_chat room="support"]`

An unknown or misspelled slug is silently ignored, falling back to your chat's normal default room.

= Does the shortcode work with page builders and the block editor? =

Yes — anywhere you can insert a WordPress shortcode (Gutenberg's Shortcode block, Classic Editor, most page builders' shortcode widgets) will render it.

= Does the floating bubble show up in wp-admin too? =

No — it only prints on front-end pages.

= Where do I sign up for a Dialogoo account? =

[https://dialogoo.com/register](https://dialogoo.com/register) — free, no credit card required. The settings screen links there too whenever no Site Key is configured yet.

= Can the plugin create a page for me? =

Yes — **Settings → Dialogoo Chat** has a "Create a page with the chat" button that publishes a new page containing just `[dialogoo_chat]`, so you don't have to create or edit one yourself. Once created, the same section shows View/Edit links for that page instead.

= Can I show the chat completely full screen, with no site header or footer? =

Yes — open any page or post in the editor and check **Full screen (no theme header/footer)** in the "Dialogoo Chat" box in the sidebar. That page then fills the whole browser window with no site header, footer, menu, or sidebar — just the chat. "Create a page with the chat" also has this as a checkbox, checked by default, so a page it creates is full screen from the start.

== Screenshots ==

1. Settings screen under Settings → Dialogoo Chat, showing the getting-started guide, Site Key field, and copyable shortcode examples.
2. The video chat / webcam chat room embedded on the front end via the `[dialogoo_chat]` shortcode.

== Changelog ==

= 1.3.5 =
* Fixed: Text Domain and every translation string now use `dialogoo-chat-live-video-webcam-chat`, matching the slug WordPress.org assigned to this plugin on its first submission (assigned once and not affected by later title changes — see 1.3.4).

= 1.3.4 =
* Reverted the plugin title to "Dialogoo Chat" (from a longer keyword-rich variant) for a cleaner display name. Discoverability keywords stay in the Tags and description instead.

= 1.3.3 =
* Fixed: Plugin URI and Author URI must be different (flagged by WordPress.org on submission). Plugin URI now points to the integration guide (https://dialogoo.com/integration); Author URI now points to https://proxymis.com.

= 1.3.2 =
* Fixed: the floating chat bubble's script is now properly registered via `wp_enqueue_script()` instead of being printed directly (found by the official [Plugin Check](https://wordpress.org/plugins/plugin-check/) tool ahead of WordPress.org submission).
* Removed the now-unnecessary `load_plugin_textdomain()` call and Domain Path header — WordPress.org automatically loads translations for hosted plugins.
* Minor code-standards cleanup (variable naming in uninstall.php).

= 1.3.1 =
* No functional changes — updated the plugin title, tags, and description for discoverability (video chat / webcam chat search terms).

= 1.3.0 =
* Added full screen mode: any page or post can now display with no site header, footer, menu, or sidebar — just the chat filling the browser window. Toggle it from the "Dialogoo Chat" box in the page/post editor sidebar.
* "Create a page with the chat" now has a full screen checkbox (checked by default).

= 1.2.0 =
* Added a "Create a page with the chat" button — publishes a page containing `[dialogoo_chat]` in one click.
* Added copy-to-clipboard buttons for every shortcode example on the settings screen.
* Added a getting-started guide and "create a free account" links to the settings screen.

= 1.1.1 =
* Fixed: fullscreen was silently blocked by the browser (a Permissions Policy violation) when a visitor clicked a room's fullscreen button — the embedded iframe now explicitly grants fullscreen permission.

= 1.1.0 =
* Added a `room` shortcode attribute to land visitors directly in one specific room instead of your chat's default.

= 1.0.0 =
* Initial release: `[dialogoo_chat]` shortcode and optional floating chat bubble.

== Upgrade Notice ==

= 1.3.0 =
Adds full screen mode (no site header/footer) for any page or post, plus a full screen checkbox on "Create a page with the chat".

= 1.2.0 =
Adds a one-click "create a page with the chat" button, copy-to-clipboard shortcode examples, and a getting-started guide on the settings screen.

= 1.1.1 =
Fixes fullscreen being silently blocked inside the shortcode's embedded chat.

= 1.1.0 =
New `room` shortcode attribute — see the FAQ.

= 1.0.0 =
Initial release.
