PluginXMPP
New in Tiki19 is a way to embed an XMPP chatroom in a wiki page, powered by ConverseJS. See also Module XMPP
Example:
{xmpp room="general" view_mode="embedded"}
A chatbox will appear in the middle of the page. This chatbox is a group chat, where many users can send messages. You can create a room for each discussion topic.
Practical usage examples
Embedded in the page:
{xmpp room="general" view_mode="embedded"}
Popup (overlay) opened by default for anonymous visitors:
{xmpp room="support" visibility="anonymous" view_mode="overlayed" show_controlbox_by_default="y"}
-
visibility="anonymous"→ allows guest login through the guest XMPP domain. -
view_mode="overlayed"→ shows a floating popup like Messenger. -
show_controlbox_by_default="y"→ opens the popup automatically when the page loads, instead of just showing the small chat icon.
Parameters
Chat using XmppIntroduced in Tiki 19.
Go to the source code
Preferences required: wikiplugin_xmpp
| Parameters | Accepted Values | Description | Default | Since |
|---|---|---|---|---|
groups |
alpha separator: , |
Allowed groups to use this resource | ||
room |
text | Room to auto-join | 19 | |
archiving |
(blank) y n |
If room messages will be stored | y | |
height |
imgsize | Chat room height in CSS units | 400px | 19 |
secret |
(blank) y n |
If the room will be listed on public chat room list | n | |
moderated |
(blank) y n |
If room is moderated | y | |
persistent |
(blank) y n |
If room will continue to exist after last user leaves | y | |
width |
imgsize | Chat room width in CSS units | 100% | 19 |
can_anyone_discover_jid |
anyone moderator |
If just moderator or anyone else can fetch information about an occupant.If just "moderator", anonymous user will not be able to change their nicknames. | anyone | 20 |
show_controlbox_by_default |
(blank) y n |
If controlbox should be shown after page load. This preference only works when view mode is overlayed | n | 20 |
show_occupants_by_default |
(blank) y n |
If occupants window should be visible by default This preference only works when view mode is embedded | y | 20 |
view_mode |
(blank) overlayed embedded fullscreen |
Choose how the chat room is displayed: overlayed as a popup, embedded in the page, or fullscreen. | overlayed | 19 |
visibility |
members_only anonymous |
This room is visible to anyone or only for members | anonymous | 20 |