Using a SkinVar this plugin returns a link for guests to initiate a google live chat if you are currently logged into your Google Talk account.
| General Plugin info | |
|---|---|
| Author: | Kogger |
| Current Version: | 0.1 |
| Download: | http://kog.ca/kode/NP_GoogleLiveChat.zip 726bytes |
| Demo: | http://kog.ca |
| Forum Thread: | http://forum.nucleuscms.org/viewtopic.php?t=17286 |
In order to use this plugin you must generate a badge for your particular Google Talk account. To do so simply visit the following URL:
http://www.google.com/talk/service/badge/New
The page will generate some badge code for you to use on your site if you want to display the standard Google talk badge. If you'd like to use this code to generate a simpler/custom link for your visitors to use then you will need to extract the badge ID from the generated code. The badge ID itself is the series of characters that can be found between ?tk= and the first following &
example:
<iframe src="http://www.google.com/talk/service/badge/Show?tk=z01q6amlqp4eghqqsd3dj9i18d9tnv177ukqaan271qnv4a7k914amah04kqe9d4eqcqlgmrme6k5n28v031q64lhn2dl34ncgdscqhgmg3er4hbgtop0bpp5ob0fbei16cdgdji3ro9uuthtre41grv1cjjo9oa0dvhgsdfg8&w=200&h=60" frameborder="0" allowtransparency="true" width="200" height="60"></iframe>
so in this case the badge ID is:
z01q6amlqp4eghqqsdgfd98dfnv177ukqaan271qnv4a7k914amah04kqe9d4eqcqlgmrme6k5n28v031q64lhn2dl34ncgdscqhgmg3er4hbgtop0bpp5ob0fbei16cdgdji3ro9uuthtre41grv1cjjo9oa0dvhgsdfg8
Now in order to use the plugin you should use the following syntax
<%GoogleLiveChat([badget Id],[online link text],[offline link text])%>
So in this particular example you would use the following:
<%GoogleLiveChat(z01q6amlqp4eghqqsdgfd98dfnv177ukqaan271qnv4a7k914amah04kqe9d4eqcqlgmrme6k5n28v031q64lhn2dl34ncgdscqhgmg3er4hbgtop0bpp5ob0fbei16cdgdji3ro9uuthtre41grv1cjjo9oa0dvhgsdfg8,Click to chat Live,I am offline)%>