Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

prepare version 2.1.0

  • Loading branch information...
commit 0130be78311ecea2bbae48410a72235f27a55f7f 1 parent a830d19
@kerphi authored
Showing with 10 additions and 10 deletions.
  1. +8 −8 README.md
  2. +1 −1  package.json
  3. +1 −1  server/config.php
View
16 README.md
@@ -8,22 +8,22 @@
* A server with:
* php >= 5.3.0 ([Slim framework](https://github.com/codeguy/Slim/blob/master/README.markdown#system-requirements) dependency)
* apache server with mod_rewrite and .htaccess enabled
- * write access to the phpfreechat-2.0.5/server/data/ and phpfreechat-2.0.5/server/log/ folder (777 or write permission for the web server)
+ * write access to the phpfreechat-2.1.0/server/data/ and phpfreechat-2.1.0/server/log/ folder (777 or write permission for the web server)
* No database needed !
## Quick start
-Download [phpfreechat-2.0.5.zip](http://www.phpfreechat.net/download) and unzip it in the root folder of your Web server.
+Download [phpfreechat-2.1.0.zip](http://www.phpfreechat.net/download) and unzip it in the root folder of your Web server.
JQuery should be included in your html `<head>` before the phpfreechat code:
```html
- <script src="/phpfreechat-2.0.5/client/lib/jquery-1.8.2.min.js" type="text/javascript"></script>
+ <script src="/phpfreechat-2.1.0/client/lib/jquery-1.8.2.min.js" type="text/javascript"></script>
```
Include the phpfreechat plugin in your html `<head>`:
```html
- <link rel="stylesheet" type="text/css" href="/phpfreechat-2.0.5/client/themes/default/jquery.phpfreechat.min.css" />
- <script src="/phpfreechat-2.0.5/client/jquery.phpfreechat.min.js" type="text/javascript"></script>
+ <link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.0/client/themes/default/jquery.phpfreechat.min.css" />
+ <script src="/phpfreechat-2.1.0/client/jquery.phpfreechat.min.js" type="text/javascript"></script>
```
Add this piece of HTML in your `<body>` where you want the chat to be displayed:
@@ -36,7 +36,7 @@ Add this piece of HTML in your `<body>` where you want the chat to be displayed:
The add this piece of code just after (it will hook the chat on the page):
```html
<script type="text/javascript">
- $('#mychat').phpfreechat({ serverUrl: '/phpfreechat-2.0.5/server' });
+ $('#mychat').phpfreechat({ serverUrl: '/phpfreechat-2.1.0/server' });
</script>
```
@@ -50,9 +50,9 @@ phpfreechat is released with few themes. You can choose which one you want to us
To select the theme, you only have to change one line in your html `<head>`. To use the `default` theme:
```html
- <link rel="stylesheet" type="text/css" href="/phpfreechat-2.0.5/client/themes/default/jquery.phpfreechat.min.css" />
+ <link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.0/client/themes/default/jquery.phpfreechat.min.css" />
```
or this code for `carbon` theme:
```html
- <link rel="stylesheet" type="text/css" href="/phpfreechat-2.0.5/client/themes/carbon/jquery.phpfreechat.min.css" />
+ <link rel="stylesheet" type="text/css" href="/phpfreechat-2.1.0/client/themes/carbon/jquery.phpfreechat.min.css" />
```
View
2  package.json
@@ -1,6 +1,6 @@
{
"name": "phpfreechat",
- "version": "2.0.5",
+ "version": "2.1.0",
"author": "Stéphane Gully <contact@phpfreechat.net>",
"homepage": "http://www.phpfreechat.net",
"license": "MIT",
View
2  server/config.php
@@ -1,7 +1,7 @@
<?php
// phpfreechat version
-$GLOBALS['pfc_version'] = '2.0.5';
+$GLOBALS['pfc_version'] = '2.1.0';
// This is the time of inactivity to wait before considering a user is disconnected (in milliseconds).
// A user is inactive only if s/he closed his/her chat window. A user with an open chat window is not
Please sign in to comment.
Something went wrong with that request. Please try again.