2007.1.20 20:45升级至v2.0.3

[不指定 2007/01/20 21:09 | by king ]
| |

提供有偿代为下载服务。服务器加光纤挂BT/EM/SHARE,速度爆快!只要有源铁定拖下来!

2. 手动升级步骤 2.1 下载完整安装包。解压。 install/和data/外的所有文件上传到blog安装目录下,覆盖所有旧版的文件。上传完成后,检查 editor/rte/whizzery/ 文件夹下,是否存在 whizzylink.php和whizzypic.php 这两个无用文件,如有,则删除之。 2.4 到 数据维护 - MySQL 下,输入适合您版本的sql语句,并按确定按钮执行即可。 SQL for 2.0.2 & 2.0.3 alpha4:
引用
ALTER TABLE `[db]replies` CHANGE `empty1` `reppsw` TINYTEXT NULL; ALTER TABLE `[db]blogs` DROP `empty2`, DROP `empty3`, DROP `empty4`, DROP `empty5`, DROP `empty6`, DROP `empty7`, DROP `empty8`, DROP `empty9`, DROP `empty10`;
引用
ALTER TABLE `[db]replies` CHANGE `empty1` `reppsw` TINYTEXT NULL;
注意,如果您在Phpmyadmin等界面中执行sql操作,请把[db]替换为实际设置的数据表前缀。 B 模板和插件的过渡 1. 插件 如果涉及以上三表的”INSERT“操作,需要根据最新的数据结构作出修改后才能用于2.0.3。 2. 模板
<html xmlns="http://www.w3.org/1999/xhtml" lang="UTF-8">

修改为
<html xmlns="http://www.w3.org/1999/xhtml" lang="{language}">
<input name="stat_property" id="stat_property" type="checkbox" value="1" />

修改为
<input name="stat_property" id="stat_property" type="checkbox" value="1" onclick="promptreppsw();" />

在 {$lnc[245]} 后,添加:
{if_neednopsw_begin}<br /><input name="stat_rememberme" id="stat_rememberme" type="checkbox" value="1" {checked_rememberme} onclick="quickremember();"/> {$lnc[284]} {if_neednopsw_rawend}

在 {ubbcode} 后,添加:
{if_securitycode_begin}<script type="text/javascript">securitycodejs="{$lnc[249]} <span id='securityimagearea'><img src='inc/securitycode.php?rand={rand}' alt='' title='{$lnc[250]}'/></span> <input name='v_security' id='v_security' type='text' size='4' maxlength='4' class='text' /> {$lnc[251]} [<a href=\"javascript: refreshsecuritycode('securityimagearea', 'v_security');\">{$lnc[283]}</a>]";</script> {if_securitycode_end}

在该区域输入评论内容的 <textarea> 内,增加onfocus属性:
onfocus="if (securitycodejs!=null) {document.getElementById('showsecuritycode').innerHTML=securitycodejs; securitycodejs=null;}"

在 </textarea> <br/> 后,添加:
<span id="showsecuritycode"></span>

删除:
{if_securitycode_begin} {$lnc[249]} <img src="inc/securitycode.php?rand={rand}" alt="" title="{$lnc[250]}"/> <input name="v_security" id="v_security" type="text" size="4" maxlength="4" class="text" /> {$lnc[251]} {if_securitycode_end}

最后编辑: king 编辑于2007/01/20 21:27
天下杂侃 | 评论(0) | 引用(0) | 阅读(956)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]