c3d2-web/content/static/candy/plugins/mucroombar
Jörg Thalheim c4ebf7ba80 candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
..
README.md candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
mucroombar.css candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
mucroombar.js candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
screenshot-left.png candy 2.0 + plugins 2015-07-22 01:01:23 +02:00
screenshot-normal.png candy 2.0 + plugins 2015-07-22 01:01:23 +02:00

README.md

MUC Room Bar

A plugin for Candy Chat to enable a room bar that displays the room topic and allows moderators to edit it with a click, as well as adds a button to pop up a GUI for inviting users to a MUC.

Dependencies

Depends on CandyShop.StaticLobby for its Invite object's Send method.

With LeftTabs plugin: MUC Room Bar with LeftTabs Plugin

Without LeftTabs plugin: MUC Room Bar without LeftTabs Plugin

Usage

Include the JavaScript and CSS files for the plugin:

<script type="text/javascript" src="candyshop/mucroombar/mucroombar.js"></script>
<link rel="stylesheet" type="text/css" href="candyshop/mucroombar/mucroombar.css" />

Also be sure to include Twitter Typeahead's packaged JS file (includes Bloodhound).

To enable this plugin, add its init method after you init Candy:

CandyShop.RoomBar.init();