c4ebf7ba80 | ||
---|---|---|
.. | ||
README.md | ||
mucroombar.css | ||
mucroombar.js | ||
screenshot-left.png | ||
screenshot-normal.png |
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.
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();