You can:
- ✅ Hire me for short consulting project
- ✅ Sponsor me on Github
- ✅ Buy my Go course
- ✅ Follow me on Twitter
Customer messenger backend part of https://parle.io
License: Microsoft Public License
Hi dstpierre,
Thanks for such a nice implementation. I have implemented chat window on my demo application which is working fine. I want to include send file option where visitor can b able to send file to agent or agent can send file to visitor. How can i achieve that can u plz guide me on that ?
By the way, I am using asp.net web forms.
Thanks in advance
Hi there
I found this jewel, and decided to test it, and on my PC it worked fine using the local server tied internally to Visual Studio 2013, then I set it up on a local W2008R2 server, in a webApp directory:
/chat
Initially it did not work, but after renaming the start of the 3 sentences, that includes the whole .js code in the original html, it started to show the little chat-popup on the right bottom.
But, all the admin stuff did not work, I tried it once, on my computer,
As I did the deployment to the server, using VS 2013 automated deployment, the encrypted passwords file was copied, but the pages did not accept any pwd, and hence I did put the correct passwords there!
The I deleted the password file, (and reading the code) it should re-create it,
But it still kept asking for the password, and not the re-registration procedure.
May be I am not too familiarized with MVC4 ¿could this have been kept in the server's cache?
I tried to debug the code, and set breakpoints, and the code never reached the .CS code section on login ¿am I doing something wrong?
I believe I am a skilled programmer, used to VS2010 until now,
I was heavily using .aspx web-forms, internal code (algorithms, AI, etc.) used old-fashion and complicated remoting and appdomain schema, but did only some minor ALAX code using JQuery never (until now) met SignalIR as a multi-protocol code-proxysm nor AngularJS and the other quirks used here.
I was using a W2003R2 server, adn had to upgrade, because it does not support ASP.NET 4.5, (only until 4.0) WTF!
¿any clue?
.
First I would like to say that LCSK in its .NET version is not maintained anymore. I'm no more a .NET developer for a long time now and this project already exceeded what it was supposed to be at first in 2007, which was a simple getting started project to build a more complete live chat app.
Thanks to everyone that has been involved, tried the project and contribute.
I have another project I'm currently evaluating. I always liked live chat and offering A1 support to users and website visitors. I also know there is not much open source projects that offer similar features of product like Intercom, Drift. This might be something I would like to build and use Live Coding at the same time.
An ambitious project for sure, and some might ask why open source this instead of building a SaaS. Well, I already have a startup Roadmap and does not really want to enter that market and compete. It's just something I'd like to build :)
So depending on reactions and demand, I'm kind of trying to validate this open source project before building it.
Please let me know if it's something you would use.
Thanks
Hello,
I have an issue after install LCKS chat. I've done:
Thanks in advance
Is it possible to put live chat on a separate site and send traffics to live chat site for farms and sites with large amount of request.
and another issue is making messages smaller an improve performance.
(for an instance using attributes for model to make it smaller.)
If user loged it it should get user name from User.Identity and show username in chat.
Is is possible to send the transcript of the conversation via email address?
The communication channel will use web socket. The messages will be persisted to the database. All agents will be able to jump in chat.
There will be a concept of conversation when in signed-in mode.
Requested on Codeplex. Creating a plugin for nopCommerce to make this easy to add LCSK to a nopCommerce store.
When I click send button in Internal Agent Chat, it calls the beforeunload function..
How can I stop it?
I have a class library with my chatHub.cs and then i have my web aplication with html files and so on.
Is it possible to integration your code in the class library and making it work?
I tried to copy all the methdos in your chatHub.cs to my chathub.cs then I copied LCSK folder to my web app.
I removed agent.cs from that folder and put it on my class library in models folder.
When i run the application and make install.html the start page.. I type a password, then i click login and i got a bunch of errors:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
http://localhost:51858/signalr/hubs
Uncaught TypeError: Cannot read property 'client' of undefined
2install.js:13 Uncaught TypeError: Cannot read property 'server' of undefined
I was chatting with the client, after 5-10 minutes the connection was lost. Then I used Firebug to check out the errors, I tried to send messages to the client but it noticed that "Connection must be started before data can be sent. Call .start() before .send()". Meanwhile, the client still saw me online on his homepage and keep chatting with me but messages could not be sent
I cant connect with my client but when he clicked in the website, it still has the tab "chat with us"
Is there any way to download the src files (to get the demo)? I started to copy/paste each file, but this could take a few days of tedium. No download link anywhere!
This was requested from Codeplex.
I'm not going to do this plugin because lack of experiences / interests in Orchard, but if someone wants to do this, go ahead.
When I add machineKey validation="3DES" to my web.config file then the connection fails. Without the machinekey everything works normally. But to encrypt the viewstate that machinekey validation is necessary for me. So how to solve this problem?
When I close agent tab, an alert pops up.
Where do I enable/disable that alert and how can I change the content of that alert?
Link to Agent Panel pointing to your twitter.
If I have an agent logged in, and the visitor quits the conversation, the entry in real time visits table is still displayed there..
How can I solve this issue?
If I'm an agent and I see via the agent.html file that a new user has entered my site. If I click "Engage User" it should open up the messaging window on the user's side, otherwise all they hear is a beep. They then have to click this message window to actually see that I am trying to interact with them.
How would an end user ever know you are interacting with them if this window remains shut ?
@dstpierre you've got this for EngageVisitor
public void EngageVisitor(string connectionId)
{
var agent = _agents.SingleOrDefault(x => x.Value.Id == Context.ConnectionId).Value;
if (agent == null) return;
_chatSessions.TryAdd(connectionId, agent.Id);
Clients.Caller.newChat(connectionId);
Clients.Client(connectionId).setChat(connectionId, agent.Name, false);
Clients.Caller.addMessage(connectionId, "system", "You invited this visitor to chat...");
Clients.Client(connectionId).addMessage(agent.Name, "Hey there. I'm " + agent.Name + " let me know if you have any questions.");
}
Is there a way to somehow call: $("#chat-box").slideToggle(); immediately after this call so that the visitor knows someone is interacting with them?
I want to implement some new features, but i have some doubts on how to do it.
In my agent page, i added a logout button. When I press this button, it calls a server side method, that disconnects that agent, removes that agents from the list, and show me the login form again.
Now i want to add this feature:
Imagine the agent (jon) is chatting with a visitor and he closes the browser withou setting offline..
I want to remove that agent from the list of agents and notify the visitor that the agent has gone.
How can I do it?
How can I implement and handle sessions?
I want to login and maintain my sessions. I want to close the browser and, re-open the browser again and my session is still on.
Jabbr does that.
Anyone?
Sir i need a help from you..
Actually I want That Chat App To Run in My Web form Pages...
Do we need to include demo project folder from repository as after installing from Nuget it is by default referencing [assembly: OwinStartup(typeof(Demo.LCSK.Startup))].
Following error is being recieved: Uncaught TypeError: Cannot read property 'hub' of undefined
Hi,
Nice project.
It is mentioned in the web.config file that we can change the database reference from default one. I want to store all the data of chat in my MS-SQL server. Can you provide the database structure required to your project ?
I run some test case and I believe I found some issues:
Test Case 1:
I believe this is an issue.
Test Case 2:
How to fix this?
Test Case 3:
I think it should be possible..
Is there any way to download the src files (to get the demo)? I started to copy/paste each file, but this could take a few days of tedium. No download link anywhere!
Do you have any older version that works on .net 4.0 and not on the 4.5 ? The current site I'm working on is built in VS10 on dotNet 4.0 and some other factors don't allow me to upgrade currently ... Other than that I believe this is the best of its kind around the web, great work.
Thanks,
Ivo
P.P. I don' think there is one but it may be possible to embed it in my site with iFrame or something like that ?
I want to implement an agent login system where i have a sql database with a table called users, with a column bool IsAdmin.
My idea is when I go to ...LCSK/Agent.html i put some credentials, then it goes to db and login or not depending if it's and admin or not.. can you help me?
Find a way to correctly add the needed SignalR configuration in the OWIN Startup class when installing via NuGet.
At the moment, if there's an existing Startup.cs file an exception is thrown when the application starts since only one Startup configuration class is allowed.
How to reproduce:
How to fix the issue:
Take the app.MapSignalR(); in the /LCSK/Startup.cs file and copy it to your existing /Startup.cs and remove the /LCSK/Startup.cs file.
Hello, I successfully installed it on my asp.net mvc5 website.
After I logged in as an agent and then click agent panel link, or if I close the browser tab, the session got lost, and I couldn't log in as the same agent. However from the front end visitor page, the visitor still see the chat window, he can still send message to that agent, but there is no way to see the message from the back end(the agent page) Any help will be appreciated.
Thanks
From a chat session an agent should be able to transfer the current chat session to another agent via the command system i.e. /transfer [agent-name] or similar process.
an agent logs in, if there are any existing visitor sessions, these do not get listed. Have you noticed this or is it just a problem with my local version? Merci.
Once a chat session open it would be nice to have more information about the visitor like City/Country, the referrer URL, how many pages they've seen etc.
This would involve keeping the pages visited somehow and perform queries on that data.
when the client or agent are typing messages before send it, can we detect the client is writing and display this status in the chat window?
If there is no agent and client try to send an email program send email to client not agent.
I think it should send an email to agent or default email and then a notification to client.
When I click "engage in chat" option, it keeps me adding conversations in the left side... is this an error?
how can i fix this?
Copied the 3 lines to my aspx login page.
<script src="Modules/LiveSupport/lcsk/assets/js/jquery.signalR-2.1.1.min.js" type="text/javascript"></script>
<script src="/signalr/hubs" type="text/javascript" type="text/javascript"></script>
<script src="Modules/LiveSupport/lcsk/chat.js" type="text/javascript"></script>
The other one, jquery reference was already there
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
And when I'm running the app I get this errors:
Can you help?
I'm running the project in localhost.
I don't have admins logged in but the chat bar displays "chat with us"
How can i be a contributor?
I want to add some funcionalities i've been developping
How can i send the visitor name to Agent chat?
I want to know with which visitor I'm talking about..
How can I save messages in sql database?
Can you explain it to me?
Thanks
Hello,
I successfully installed it on my asp.net webform website.
After I logged in as an agent and then click agent panel link, or if I close the browser tab, the session got lost, and I couldn't log in as the same agent.
However from the front end visitor page, the visitor still see the chat window, he can still send message to that agent, but there is no way to see the message from the back end(the agent page)
Any help will be appreciated.
Thanks,
I am running VS 2013, Framework 4.5, I have demo installed on same computer and that works fine. I added LCSK into my WebForms project using Nuget. Changed the Startup.CS Demo.LCSK.Startup to my namespace so everything compiles. The chat shows up in bottom right of my site and I can email from it (after configuring the sendmail script) when I run my project.
I added an empty App_Dat folder to the project. I run my project and go to /lcsk/install.html and only the admin login shows up (which is different than the demo which shows both the agent and admin password). When I type a password and hit button, nothing happens. When I go to agent.html and enter password and click button nothing happens. I then copied lcsk.dat from demo project into my project app_data directory, run project and go to agent.html to try to log in and still nothing happens when I click button. Any idea what may be issue. Thank you for your help.
I noticed that a new row in the Real Time Visits is created for the same visitor as they view different pages of the website, each row has a different data-id - this can be confusing to the Agents as, if they click an engage in chat link (that was created by a prior page), the message goes nowhere and the visitor will not see it. Only the very last row link will work (for that unique visitor).
On the visitor's side, they lose the conversation if they switch to another page, but it still remembers to continue the chat with the correct agent.
On the Agent's chat window, the system reports "The visitor closed the connection" then immediately reports "The visitor is now on http:// .... " when the visitor switches pages.
Is there a way around this?
Great project. I am using it on a MVC 5 site.
I login as a Agent and can see the site's traffic. On the actual site, I appear to be online.
After 3+ hours of being login, my Agent Panel does not update new "Real time visits". Also, at this point I appear as offline on the site. I have to Refresh the Agent Panel page and login again to appear online.
Is there a way work around this timeout?
Thanks.
Install failed. Rolling back...
Install-Package : Could not install package 'Microsoft.Owin.Security 2.0.1'. You are trying to install this package into a project that targets
'.NETFramework,Version=v4.0', but the package does not contain any assembly references or content files that are compatible with that framework. For
more information, contact the package author.
At line:1 char:1
- CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
- FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Need Urgent HELP!!!!
our company web site has been developed with VS2010 and jquery version we use the default one jquery-1.4.1.js and i guess we can not install signalr 2.x version rather i need to stick with signalr 1.x version.
so this is my limitation and now tell me how could i incorporate live chat in webform project version 4.0 ?
many years back live chat comes with a web interface for customer and win apps for agent. is it now possible to download the old live chat project now?
please guide me with your valuable guidance for incorporation of live chat into our project. thanks
can we use this plugin for multiple open source project like zoopim??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.