Share your tricks or tips for LIVE CHAT with others!
This thread is for tricks and tips only - please no problem questions.
Have a problem or question then post in the CoffeeCup Software Discussion thread, not here, so your question does not get overlooked.
Subscribe to this thread if you like to get emails on tips and Tricks people post "Encourage one another daily, as long as it is called Today"
"It can only be dark, if there is no light." - Kim Rickman
This thread is for tricks and tips only - please no problem questions.
Have a problem or question then post in the CoffeeCup Software Discussion thread, not here, so your question does not get overlooked.
Subscribe to this thread if you like to get emails on tips and Tricks people post "Encourage one another daily, as long as it is called Today"
"It can only be dark, if there is no light." - Kim Rickman
Delete the Live Chat log file
Ha en riktig god dag!
Inger, Norway
http://www.eikweb.com
http://www.horgenhonning.net/
http://www.norwayroots.com
http://www.johnsflats.com
Dave Lindberg wrote:
I created a public chat room using CC Live Chat. But I wanted the history of the public chat conversations deleted, say after 2 minutes.
Replace the first occurrence of:
+++++
// Check to see if the chat has ended
if(!file_exists($file))
{
die('z=chatended');
}
+++++
with:
+++++
// David Lindberg 11/20/2007
// Get the last time that the readfile was modified,
// and if it has not been modified in more than 120 seconds delete the readfile
if((@filemtime($file)+120) < time() )
{
unlink($file);
}
// Check to see if the chat has ended
if(!file_exists($file))
{
die('z=chatended');
}
+++++
The main procedure looks to see if the publicchat.txt was modified after 120 seconds (2 minutes), if it hasn't been in the last two minutes it deletes the file: publicchat.txt .
I hope this helps anyone else.
Dave
I created a public chat room using CC Live Chat. But I wanted the history of the public chat conversations deleted, say after 2 minutes.
Replace the first occurrence of:
+++++
// Check to see if the chat has ended
if(!file_exists($file))
{
die('z=chatended');
}
+++++
with:
+++++
// David Lindberg 11/20/2007
// Get the last time that the readfile was modified,
// and if it has not been modified in more than 120 seconds delete the readfile
if((@filemtime($file)+120) < time() )
{
unlink($file);
}
// Check to see if the chat has ended
if(!file_exists($file))
{
die('z=chatended');
}
+++++
The main procedure looks to see if the publicchat.txt was modified after 120 seconds (2 minutes), if it hasn't been in the last two minutes it deletes the file: publicchat.txt .
I hope this helps anyone else.
Dave
Inger, Norway
http://www.eikweb.com
http://www.horgenhonning.net/
http://www.norwayroots.com
http://www.johnsflats.com
My favorite Tip and Trick in the entire world
--------Creating a completely online customer service system using CoffeeCup live chat --------
About a year and a half ago, I was trying to implement a customer service chat that volunteer admin could access online to answer questions for clients. I looked for solutions, but most were "un-do-able" as their script was expensive(120-500 bucks) or you had to lease their service. One looked good, but the interface was bulky and required one of the mysql databases. Finally, I took a closer look at coffeecup live chat and their was my answer.
I am going to explan how I did it so those with experence, change this as you want.
1- Create you live support chat as you normally would, but make sure it uploads to a folder in your web directory called "chat".
2- Using a ftp program, create a folder within your website called "admin"
3- Open up the folder in windows where your program files are at and go to the folder Coffeecup Software --> Coffeecup Live Chat -->swf.
4- Right click on admin.html and open with notepad.
5.- Find you domain name(ie. yourdomain.com) and change it to ".."(don't use quotes).Make that change everywhere in the script. Save and close.
6- Using your ftp program, upload admin.swf and admin.html(in the swf directory) to the admin folder you make on your website.
7- Create a .htaccess file(you can find sites online that will help with this). Don't protect the entire admin directory, but only the file, admin.html(I put my .htaccess in the admin directory).
Sample htaccess:
AuthType Basic
<FilesMatch "admin.html">
AuthName "Access Demo"
AuthUserFile /kunden/homepages/11/d162878257/htdocs/rgoals/htpasswd
require user demo
</FilesMatch>
In this case the user is demo
Now go to yoursite/admin/admin.html and enter the user name and password and press the login button. If someone logs into the live support area-- yoursite.com/chat/chat.html, you can offer live support to them.
The only thing that doesn't work is it won't email them a record of your chat even if they put in their email address, but they don't know what the email address is for anyway.
I love Coffeecup and VSD!: http://mylife.coffeecup.com (add /stream to the url see boring pictures)
Web design assistance website built in
Visual Site Designer: http://www.abcomputered.com
Follow me on twitter: http://twitter.com/abcomputered
Save your PC if you spill a beverage on it: http://bit.ly/vBUe9X
Join me on Facebook http://bit.ly/acnpoD
Visit my Coupon Website! http://councilbluffscoupons.com
Member - Omaha Chamber of Commerce 2012
Proud Sponsor of NAMI Nebraska Walks 2012
Check out my profile for useful blog post on CC Products!
Call me at 402-813-4034 for web design assistance or shopping cart solutions.
--------Creating a completely online customer service system using CoffeeCup live chat --------
About a year and a half ago, I was trying to implement a customer service chat that volunteer admin could access online to answer questions for clients. I looked for solutions, but most were "un-do-able" as their script was expensive(120-500 bucks) or you had to lease their service. One looked good, but the interface was bulky and required one of the mysql databases. Finally, I took a closer look at coffeecup live chat and their was my answer.
I am going to explan how I did it so those with experence, change this as you want.
1- Create you live support chat as you normally would, but make sure it uploads to a folder in your web directory called "chat".
2- Using a ftp program, create a folder within your website called "admin"
3- Open up the folder in windows where your program files are at and go to the folder Coffeecup Software --> Coffeecup Live Chat -->swf.
4- Right click on admin.html and open with notepad.
5.- Find you domain name(ie. yourdomain.com) and change it to ".."(don't use quotes).Make that change everywhere in the script. Save and close.
6- Using your ftp program, upload admin.swf and admin.html(in the swf directory) to the admin folder you make on your website.
7- Create a .htaccess file(you can find sites online that will help with this). Don't protect the entire admin directory, but only the file, admin.html(I put my .htaccess in the admin directory).
Sample htaccess:
AuthType Basic
<FilesMatch "admin.html">
AuthName "Access Demo"
AuthUserFile /kunden/homepages/11/d162878257/htdocs/rgoals/htpasswd
require user demo
</FilesMatch>
In this case the user is demo
Now go to yoursite/admin/admin.html and enter the user name and password and press the login button. If someone logs into the live support area-- yoursite.com/chat/chat.html, you can offer live support to them.
The only thing that doesn't work is it won't email them a record of your chat even if they put in their email address, but they don't know what the email address is for anyway.
I love Coffeecup and VSD!: http://mylife.coffeecup.com (add /stream to the url see boring pictures)
Web design assistance website built in
Visual Site Designer: http://www.abcomputered.com
Follow me on twitter: http://twitter.com/abcomputered
Save your PC if you spill a beverage on it: http://bit.ly/vBUe9X
Join me on Facebook http://bit.ly/acnpoD
Visit my Coupon Website! http://councilbluffscoupons.com
Member - Omaha Chamber of Commerce 2012
Proud Sponsor of NAMI Nebraska Walks 2012
Check out my profile for useful blog post on CC Products!
Call me at 402-813-4034 for web design assistance or shopping cart solutions.
Create Live Chat Button that changes based on if you are offline or Online
This is a very simplistic script but because I understand it might be over the heads of some people, so I thought I would post my script to make this functionality available (so you chat looks like all the other proffesional chat systems out there)
This script was really aimed at business's as it enables you to remove the live support button completely if your not online as after many split tests I found having a live support button that says offline can actually be detrimental to sales figures and people actually get discouraged by it so I've used this to only provide the support image if its currently available.
The code I used to make our coffee cup live chat buttons can be downloaded from http://www.idedonline.com/lchatbut.zip
In return for my work all I ask is that you keep the link to my site within the code.
All you need to do is edit the code to add in your chat urls etc and place an iframe on the the page you wish to display the button, example code is included in iframe.html
To activate the button just point your browser to the location you uploaded the files with /acctlc.asp added to the end (this page will require its own tab and will require you to keep it open at all times or if your feeling particularly clever then just add an iframe to your admin.html in the live chat directory that points to that file) this will keep you logged into the live chat and will keep the button active as long as your online also means you can use the button on as many websites as you desire and they will all activate and deactivate by the use of this one page :-D
when you close the browser the sessions auto time out will then remove the button for you but if you wish to remove it manually or find that your server takes to long to time out sessions then just point your browser to deactlc.asp in that same directory and it will remove the button straight way but either way when you go offline the button will disappear (or change to offline if you decided to edit the code in that way)
If you require additional assistance then please contact me on msn via ided@hotmail.co.uk, please dont email this address as I do not use it for mail just msn as hotmail is a spam collector if ever I saw one.
Note: The script require windows server that supports classic asp (no need for .net) and you also will need to update your global.asa file inserting the code provided in the zip
I might make a php version later on but at the moment I see no need most professional companies use windows servers for obviously compatability increase, active directory and the long list of other reasons.
If you really need a php version please let me know and for a small fee I will create one specifically for your site and remove my branding etc
2nd Note: if you combine the iframe in admin.html with the above way of loading it into a website this will be more reliable as lc rewrites the admin.html often
This is a very simplistic script but because I understand it might be over the heads of some people, so I thought I would post my script to make this functionality available (so you chat looks like all the other proffesional chat systems out there)
This script was really aimed at business's as it enables you to remove the live support button completely if your not online as after many split tests I found having a live support button that says offline can actually be detrimental to sales figures and people actually get discouraged by it so I've used this to only provide the support image if its currently available.
The code I used to make our coffee cup live chat buttons can be downloaded from http://www.idedonline.com/lchatbut.zip
In return for my work all I ask is that you keep the link to my site within the code.
All you need to do is edit the code to add in your chat urls etc and place an iframe on the the page you wish to display the button, example code is included in iframe.html
To activate the button just point your browser to the location you uploaded the files with /acctlc.asp added to the end (this page will require its own tab and will require you to keep it open at all times or if your feeling particularly clever then just add an iframe to your admin.html in the live chat directory that points to that file) this will keep you logged into the live chat and will keep the button active as long as your online also means you can use the button on as many websites as you desire and they will all activate and deactivate by the use of this one page :-D
when you close the browser the sessions auto time out will then remove the button for you but if you wish to remove it manually or find that your server takes to long to time out sessions then just point your browser to deactlc.asp in that same directory and it will remove the button straight way but either way when you go offline the button will disappear (or change to offline if you decided to edit the code in that way)
If you require additional assistance then please contact me on msn via ided@hotmail.co.uk, please dont email this address as I do not use it for mail just msn as hotmail is a spam collector if ever I saw one.
Note: The script require windows server that supports classic asp (no need for .net) and you also will need to update your global.asa file inserting the code provided in the zip
I might make a php version later on but at the moment I see no need most professional companies use windows servers for obviously compatability increase, active directory and the long list of other reasons.
If you really need a php version please let me know and for a small fee I will create one specifically for your site and remove my branding etc
2nd Note: if you combine the iframe in admin.html with the above way of loading it into a website this will be more reliable as lc rewrites the admin.html often
Posts recovered from old forums....
Jim
---------------------------
http://www.freebits.co.uk/
---------------------------
http://www.freebits.co.uk/
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.