Skip to content

Commit

Permalink
prepare version 2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kerphi committed Nov 1, 2012
1 parent 5487efd commit 2e798d2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Expand Up @@ -44,17 +44,17 @@ Here is an example of a basic communication between client and server:
* 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.4/server/data/ folder (777 or write permission for the web server)
* write access to the phpfreechat-2.0.5/server/data/ folder (777 or write permission for the web server)
* No database !

## Quick start installation

Download [phpfreechat-2.0.4.zip](http://www.phpfreechat.net/download) and unzip it in the root folder of your Web server.
Download [phpfreechat-2.0.5.zip](http://www.phpfreechat.net/download) and unzip it in the root folder of your Web server.

Include the phpfreechat plugin in your html `<head>`:
```html
<link rel="stylesheet" type="text/css" href="/phpfreechat-2.0.4/client/themes/default/jquery.phpfreechat.min.css" />
<script src="/phpfreechat-2.0.4/client/jquery.phpfreechat.min.js" type="text/javascript"></script>
<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>
```

Add this piece of HTML in your `<body>` where you want the chat to be displayed:
Expand All @@ -67,7 +67,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.4/server' });
$('#mychat').phpfreechat({ serverUrl: '/phpfreechat-2.0.5/server' });
</script>
```

Expand All @@ -81,11 +81,11 @@ 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.4/client/themes/default/jquery.phpfreechat.min.css" />
<link rel="stylesheet" type="text/css" href="/phpfreechat-2.0.5/client/themes/default/jquery.phpfreechat.min.css" />
```
or this code for `carbon` theme:
```html
<link rel="stylesheet" type="text/css" href="/phpfreechat-2.0.4/client/themes/carbon/jquery.phpfreechat.min.css" />
<link rel="stylesheet" type="text/css" href="/phpfreechat-2.0.5/client/themes/carbon/jquery.phpfreechat.min.css" />
```

## Parameters client side
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "phpfreechat",
"version": "2.0.4",
"version": "2.0.5",
"author": "Stéphane Gully <contact@phpfreechat.net>",
"homepage": "http://www.phpfreechat.net",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion server/config.php
@@ -1,7 +1,7 @@
<?php

// phpfreechat version
$GLOBALS['pfc_version'] = '2.0.4';
$GLOBALS['pfc_version'] = '2.0.5';

// 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
Expand Down

0 comments on commit 2e798d2

Please sign in to comment.