-
Notifications
You must be signed in to change notification settings - Fork 1
Home
torleif edited this page Mar 23, 2016
·
1 revision
Because you're likely going to need fine tuning of the behavior of the chat module, a good chunk of the behavior sits on your code base. Here's a nice starting point: a web page that will select a random user who's activated themselves as being available for chat in the CMS.
You can download the CSS, JavaScript, and PHP here: https://gist.github.com/torleif/d93fa7b6f938d25dcfb2
Note we ran into issues with our CDN with this module. I recommend modifying the javascript to include a random number when polling the server
First the user will enter their name Then the site will select a person who is available for chat randomly Then the two users can chat