Skip to content

Instantly share code, notes, and snippets.

@Marko-M
Created July 18, 2014 18:12
Show Gist options
  • Save Marko-M/d0185cf5e2af2a87033a to your computer and use it in GitHub Desktop.
Save Marko-M/d0185cf5e2af2a87033a to your computer and use it in GitHub Desktop.
Display Quick Chat programmatically
<php
if(class_exists('Quick_Chat')) {
global $quick_chat;
*/
* Define option variables:
*
* $height = '400';
* $room = 'default';
* $userlist = true;
* .
* .
* .
*/
echo $quick_chat->quick_chat(
$height,
$room,
$userlist,
$userlist_position,
$smilies,
$send_button,
$loggedin_visible,
$guests_visible,
$avatars,
$counter
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment