如果您想升级到2.2版本,只需改动如下几个地方。
组图插件的安装帮助,请参见https://discuz.dismall.com/thread-834556-1-1.html
1、覆盖api/image.php、include/javascript/qcomic.js、admin/qcomic.inc.php
2、修改include/javascript/post_editor.js
把改为- if (typeof(qcomic_enabled)=='undefined' || !qcomic_enabled) {
复制代码 3、修改templates/default/post_editor.htm
把- <!--{if $_DCACHE['settings']['qihoo_image']['senable']}-->
复制代码 换成- <!--{if $_DCACHE['settings']['qihoo_image']['senable'] && (!$_DCACHE['settings']['qihoo_image']['sboard'] || strstr($_DCACHE['settings']['qihoo_image']['sboard'],',0,') || strstr($_DCACHE['settings']['qihoo_image']['sboard'],','.$fid.','))}-->
复制代码 在- flashTagIns.swLiveConnect = "true";
复制代码 后面加上- flashTagIns.wmode = "window";
复制代码 4、修改templates/default/viewthread.htm
在- flashTagIns.write(document);
复制代码 后面加上- window.qcomic_flash_{$qcomic_sid}_{$phidtemp} = document.modactions.qcomic_flash_{$qcomic_sid}_{$phidtemp};
复制代码 把- flashTagIns.setNew("http://p.qihoo.com/flash/pic_config.swf", $owidth, $oheight);
复制代码 换成- flashTagIns.setNew("http://p.qihoo.com/flash/pic_nav.swf", $owidth, $oheight);
复制代码 去掉5、进论坛管理后台的组图设置,把展现flash的宽度设为750,高度设为50
更新缓存后升级完成。预祝顺利!
[ 本帖最后由 todidot 于 2008-2-21 17:22 编辑 ] |