yii-livechat

yii-livechat
6 followers

Extension Name: yii-livechat

with this you can use google talk as a free live chat/live support for your website this extension can use the default google badges also it allows you to create your own custom badge via css.

Resources

Documentation

Installation Instructions:

Download the extension

Unzip the file contents

Upload the LivechatWidget.php file to the extensions folder located under WebRoot/protected/extensions/livechat/.

Upload the assets folder inside the livechat extension folder as such WebRoot/protected/extensions/livechat/assets/.

Requirements:

This should work on all Yii versions, But was tested on version 1.1.4 .

Usage: You will first need to generate a badge if you plan on using google talk. get a badge here http://www.google.com/talk/service/badge/New and click generate/update badge. your account hash will be a number that looks like tk=z01q6...&amp so select the number between the tk= and &amp this is your hash.

$this->widget('application.extensions.livechat.LivechatWidget', array( 'account_hash' =>'xxxx', //your account hash 'display_type' =>'default', //statusicon/hyperlink/url/custom/default 'link_title' =>'Title of your Link', //link title 'link_text' =>'Text of your Link', //link text 'always_show_badge' =>'1', //we always show the badge even if away/offline 'badge_on_away' =>'1', //we show badge on online and away only (not offline) ));

display_type options are statusicon (shows statusicon and hyperlink), hyperlink(shows hyperlink only), custom (displays custom stylesheet), url (shows the url(no formatting)).

link_title specifies the link text on other than default display.

link_text specifies the link text on other than default display.

badge_on_away shows the chat badge when status is away

always_show_badge always shows th badge regardless of status

Change Log

May 29, 2010

  • Initial release.

May 30, 2010

  • r12
  • fixed documentation
  • sane variables

Sep 12, 2010

  • fixed small display bug
  • widget now uses assets to manage css

Total 4 comments

#12991 report it
rajesh chaurasia at 2013/04/26 02:42am
demo

hi please upload a demo page how this extension work

thanks

#10134 report it
karmraj at 2012/10/06 12:40am
Alternet way for live chat in site.

@mithereal : Is there any other exetension or module are available for livechat? Or Make this functionality with the help of other framework library?

#10130 report it
mithereal at 2012/10/05 01:06pm
no longer supported

google has dropped support for this feature

#10121 report it
karmraj at 2012/10/05 02:17am
How to work with this extension??

I have install this extension in my application. its properly installed. but i have seen only following thing :

Chat with Username Available

I have also installed Gtalk in my machine. But when i will click on Chat with Username link it will redirect to one google talk help page. so can you give some brief introducation about how to use this exetension with Gtalk users.

Thanks in advance.

Leave a comment

Please to leave your comment.

Create extension