Yii 1.1: yii-livechat


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.



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/.


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 2 comments

#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

Leave a comment

Please to leave your comment.

Create extension