Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Latest commit

 

History

History

mucroombar

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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();