/***************************
*                          *
*         相关说明         *
*                          *
***************************/

云聊客户端V2.1

打包日期：2011年8月4日

(一) 适用版本：phpwind 8.5  20110524版本

(二) 安装步骤:

     第一步 确认站点的程序版本日期

            确定方法：require/common.php 第3行 define('WIND_VERSION', '8.5,20110524');
里面有日期

     第二步 确认已在AppCenter注册了APP帐户http://user.phpwind.com
     
     第三步 安装之前，建议先将站点关闭，并做好备份以备万一。

     第四步 确定你站点的首页文件名是否有所改动
            首页文件查看路径：后台->模式->论坛模式->界面设置->首页

     第五步 如果您没有对phpwind社区程序进行定制/修改，可以按照以下步骤直接覆盖相应文件：

     1). 将下载的安装包解压。检查得到的upload包。如果第四步文件有改动，则将upload中的对应文件改成你站点的相应文件或目录名。

     2). 上传upload目录中的文件到对应的目录下。

     如果您对phpwind社区程序进行过定制/修改，则需按照附录中的说明手动修改代码文件，再继续下一步。

     第六步 上传repair_yunliao.php文件至站点根目录。

     第七步 在地址栏输入 你的域名/repair_yunliao.php 进行安装。

     第八步 按照操作提示，直至全部安装完毕（默认无需人工干预）

(三) 从云聊2.0升级至2.1:

     第一步 确认站点的程序版本日期

            确定方法：require/common.php 第3行 define('WIND_VERSION', '8.5,20110524');
里面有日期

     第二步 升级之前，建议先将站点关闭，并做好备份以备万一

     第三步 如果您没有对phpwind社区程序进行定制/修改，可以按照以下步骤直接覆盖相应文件：

     1). 将下载的安装包解压。检查得到的upload包。

     2). 上传upload目录中的文件到对应的目录下。

     如果您对phpwind社区程序进行过定制/修改，则需按照附录中的说明手动修改代码文件

(四) 后台设置

     安装完成后，需要在后台开启云聊客户端功能。
     
     操作路径：【后台】->【应用】->【应用中心】->【云聊客户端】

【附录】文件修改记录

1.以下文件经过修改，请根据代码文件中相应的标记增加或替换代码。
1). 添加代码的标记：
/*added for YunLiao 1.2: start*/
这里为增加的代码
/*added for YunLiao 1.2: end*/

/*added for YunLiao 2.0: start*/
这里为增加的代码
/*added for YunLiao 2.0: end*/

2).修改代码的标记：
/*modded for YunLiao 1.2: start*/
/* original -- start*/
/*
这里为修改前的代码
*/
/* original -- end*/
这里为修改后的代码
/*modded for YunLiao 1.2: end*/

/*modded for YunLiao 2.0: start*/
/* original -- start*/
/*
这里为修改前的代码
*/
/* original -- end*/
这里为修改后的代码
/*modded for YunLiao 2.0: end*/

3).文件列表：
1.修改过的文件
actions\job\uploadicon.php
admin\app.php
global.php
images\pw_core.css
template\wind\index.htm
template\wind\read.htm
template\wind\thread.htm
template\admin\app.htm
mode\area\template\front\area_manage.htm
mode\area\template\front\area_manage_pushto.htm
u\themes\default\space_model.htm
u\themes\default\weibo_model.htm
lib\friend\attention.class.php
lib\message\db\ms_relationsdb.class.php
lib\message\message.class.php
lib\message\message\base.ms.php
lib\utility\rss.class.php
mode\area\m_manage.php
pw_ajax.php
read.php
require\functions.php
u\images\style.css
u\require\profile\info_face.php

2.以下为新增的文件，请直接放入相应位置。
actions\ajax\openim.php
aliautologin.php
images\openim_offline_big.gif
images\openim_offline_small.gif
images\openim_online_big.gif
images\openim_online_small.gif
js\openim.js
template\wind\ajax_openim.htm
template\wind\yunliao.htm
mode\area\template\front\area_fetch_yunliao.htm
mode\area\template\front\area_manage_pushtoyunliao.htm
lib\message\exception.php
lib\message\message\openimmessage.ms.php
lib\message\openimmessage.class.php
lib\openim\db\openimuserdb.class.php
lib\openim\openim.class.php
lib\openim\openimcontacts.class.php
lib\openim\openimfeed.class.php
lib\openim\openimlamp.class.php
lib\openim\openimpush.class.php
lib\openim\openimuser.class.php
openapi
openapi.php
openapi\_test\openapiclient.class.php
openapi\api\forum.class.php
openapi\api\friend.class.php
openapi\api\group.class.php
openapi\api\message.class.php
openapi\api\openim\config.class.php
openapi\api\openim\contact.class.php
openapi\api\openim\hotstory.class.php
openapi\api\openim\message.class.php
openapi\api\openim\profile.class.php
openapi\api\openim\sendmessage.class.php
openapi\api\openim\user.class.php
openapi\api\openim\weibo.class.php
openapi\api\site.class.php
openapi\api\thread.class.php
openapi\api\user.class.php
openapi\api\weibo.class.php
openapi\bootstrap.php
openapi\library\apixml.class.php
openapi\library\base.class.php
openapi\library\common.php
openapi\library\openapi.class.php
openapi\library\register.class.php
openapi\library\request.class.php
require\exception.php
require\extents\menu\openim\cp_lang_left.php
require\extents\menu\openim\cp_lang_purview.php
yunliao.php

3.以下为更新的文件，请用新文件替换老的文件：
rss.php
lib/utility/platformapisdk/client.class.php

4.新加的图片文件
images\openim_offline_big.gif
images\openim_offline_small.gif
images\openim_online_big.gif
images\openim_online_small.gif

5.还原文件（只适用于云聊从2.0升级2.1版本）
require\common.php