Hello my friend sorry for the delay I’m really ill these days. I like your idea very much and I guess many QC users will find it useful so it will most definitely be included in next Quick Chat version. Thank you very much for offering help, often I could really need assistance but for this feature code is rather straightforward, just paste following at the end of your QC 2.41 quick-chat.php:
function quick_chat_dashboard_widget_function() {
echo quick_chat(300,'admin_room',1,'left',1,32,0,1,1);
}
function quick_chat_dashboard_widgets() {
wp_add_dashboard_widget('quick_chat_dashboard_widget', 'Quick Chat', 'quick_chat_dashboard_widget_function');
}
add_action('wp_dashboard_setup', 'quick_chat_dashboard_widgets' );
add_action('admin_print_footer_scripts', 'quick_chat_localize');
add_action('admin_enqueue_scripts', 'quick_chat_js');
add_action('admin_print_styles', 'quick_chat_load_stylesheet');
You can visit Quick Chat FAQ “My theme has no widget support. How can I embed Quick Chat into my web site using PHP?” question and answer to find out more about quick-chat() function so you could tweak room name, height and all other options. Also if you have any other suggestions or code just contact me ??
Thanks for your suggestion and my best regards,
Marko