phpcms 3.0.0 与 phpwind 5.0.1 整合方法
2006年10月23日,国内著名的phpwind论坛发布了phpwind 5.0.1版本,并提供了会员通行证功能。
phpcms一向以其强大的功能合人性化的操作界面赢得了大量用户的欢迎,此次为了让phpcms用户更加方便地整合phpwind论坛,特发布phpcms 3.0.0 与 phpwind 5.0.1 整合包。phpcms 与 phpwind 整合后,两个系统将实现会员同步注册、登录、退出并能够全站通行。
假设phpcms 3.0.0安装在 http://www.phpcms.cn/ ,phpwind 5.0.1安装在 http://www.phpcms.cn/bbs/ ,下面介绍一下整合方法:
1、下载整合包并解压缩;
2、把 phpcms_passport.php 传到phpwind论坛根目录;
3、登录到phpcms后台进基本设置,点“论坛整合”,然后按照下图设置:
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('/upimg/allimg/070410/1151540.jpg');}" alt="" src="/upimg/allimg/070410/1151540.jpg" onload="if(this.widthscreen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" border=0
注意:论坛接口地址 http://www.phpcms.cn/bbs/phpcms_passport.php 请按照自己实际情况填写,论坛认证密钥随便填一个大于10个字节的字符串。
4、登录到phpwind后台,找到插件中心的通行证,然后按照下图设置:
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('/upimg/allimg/070410/1151541.jpg');}" alt="" src="/upimg/allimg/070410/1151541.jpg" onload="if(this.widthscreen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" border=0
注意:通行证密钥必须和上面phpcms后台填写的论坛认证密钥一致,另外把通行证地址改为自己的phpcms实际访问地址。
5、到此phpcms与phpwind整合完毕。
如果您原来的phpwind论坛已经有很多会员,则请进入phpcms后台文章频道,找到“外部数据导入”,然后导入phpwind的会员到phpcms(导入方法和phpwind 4.3.2一样)。可参考:http://help.phpcms.cn/2006/0715/help_147.html