Create A Chat Room Anywhere Using jQuery and PHP - phpfreechat

File Size: 679 KB
Views Total: 24711
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Create A Chat Room Anywhere Using jQuery and PHP - phpfreechat

phpFreeChat is a free PHP chat application worked with jQuery that allows you to create a Chat Room anywhere without any database to run. It can be used at the same time by any number of users, has a responsive layoutthat works in mobile too and has a modular authentication system which can be integrated into any app.

How to use it:

1. Include jQuery library and jQuery phpfreechat plugin in the head section of your page

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="client/pfc.min.js" type="text/javascript"></script>

2. Select and include a theme CSS to skin your chat room

<link rel="stylesheet" type="text/css" href="client/themes/default/pfc.min.css" />

3. Create a container for the chat room

<div id="mychat"><a href="http://www.phpfreechat.net">Creating chat rooms everywhere - phpFreeChat</a></div>

4. Call the plugin

<script type="text/javascript">
  $('#mychat').phpfreechat({ serverUrl: '/phpfreechat-2.1.1/server' });
</script>

This awesome jQuery plugin is developed by kerphi. For more Advanced Usages, please check the demo page or visit the official website.