Loading...
 

XMPP


Overview
XMPP chat client
To Access
From the Community Admin page, click the XMPP tab.


Introduction


XMPP is a chat protocol that enable users to have instant message applications and other technologies. By using the ConverseJS XMPP client, Tiki users can integrate chat feature to their websites.

Despite Tiki has ConverseJS bundled in it's package, it is still necessary to have an XMPP server where clients can connect. Tiki can be very well integrated to Openfire XMPP server, but other servers also works.

ConverseJS modes


ConverseJS can be used in 3 modes:

  1. Overlayed mode
  2. Embedded mode
  3. Fullscreen mode

Overlayed mode


Overlayed Mode is configured as a Tiki Module. A small box will appears on bottom of the page containing a contact list. Users can click on contact list to start a chat session.


Embedded mode


The Embedded mode can be configured as a wiki_plugin. A chatbox will appear in the middle of the page. This chatbox is a group chat, where many users can send messages.


Fullscreen mode


Fullscreen mode takes all webpage space to provide the contact list and chat boxes. Users can switch between private chats and group chats while using this mode.


Authentication mode


The ConverseJS embedded in Tiki can authenticate in XMPP server using 3 different strategies.

  1. Username / password
  2. Prebind
  3. OAuthBearer Token


When using the username/password mechanism to authenticate, ConverseJS will ask user these information whenever is necessary. It is very easy to setup, but in other hand, it may demotivate the user to join the chat if he needs to type his password several times.

The Prebind mode is mechanism that makes XMPP server to confirm that a specific user is trying to authenticate. The user does not need to type username or password using this mode. Whenever user log into Tiki, he will automatically log into Openfire when needed. The Tiki prebind URL needs to be informed in Openfire panel.

On OAuthBearer Token, ConverseJS extract a special Token from Tiki and gives as a password to Openfire. Extra setup is needed in Openfire side in order to use this mode. Also, this mode is still beta and is available on Tiki 20.





Option Description Default
XMPP client (ConverseJS) Integration with Converse.js XMPP client. Disabled
XMPP server host XMPP server host
xmpp.example.com
None
XMPP http-bind URL Full URL to the http-bind.
http://xmpp.example.com/http-bind/
None
XMPP Openfire Token Handle user authentication using tokens None



New in Tiki17: the addition of the ConverseJS XMPP client.
New in Tiki19: PluginXMPP to embed a chatroom in a wiki page

The reference implementation is with Openfire, but in theory, this should work with any XMPP server (perhaps with fewer features)
http://wikisuite.org/How-to-install-Openfire-Meetings-on-ClearOS#Configure_Tiki_ConverseJS_and_OpenFire

alias

Created by: Last Modification: Tuesday 23 July, 2019 15:31:53 GMT-0000 by Marc Laporte
List Slides
Show PHP error messages