惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Security Latest
Security Latest
Recorded Future
Recorded Future
人人都是产品经理
人人都是产品经理
S
SegmentFault 最新的问题
Hacker News - Newest:
Hacker News - Newest: "LLM"
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
P
Privacy & Cybersecurity Law Blog
WordPress大学
WordPress大学
Know Your Adversary
Know Your Adversary
Spread Privacy
Spread Privacy
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
量子位
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tor Project blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
雷峰网
雷峰网
阮一峰的网络日志
阮一峰的网络日志
V
Visual Studio Blog
T
Threatpost
T
Tenable Blog
有赞技术团队
有赞技术团队
大猫的无限游戏
大猫的无限游戏
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
C
Cisco Blogs
H
Heimdal Security Blog
Attack and Defense Labs
Attack and Defense Labs
A
About on SuperTechFans
Last Week in AI
Last Week in AI
N
News and Events Feed by Topic
T
Threat Research - Cisco Blogs
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
I
Intezer
V
V2EX
Cyberwarzone
Cyberwarzone
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
B
Blog RSS Feed
V
Vulnerabilities – Threatpost
N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
U
Unit 42
PCI Perspectives
PCI Perspectives
P
Privacy International News Feed
D
Docker

博客园 - DotCat

幽默的David Solomon MSDN上ReportViewer的两个代码下载地址 .NET threading in C# Training Highlights sharing Converting RDL and RDLC Files VS打SP1后reportviewer用custom assembly的变化 Meet 牛人 @ April: Jeffrey Richter & David Solomon 当你聊天你会想起谁--Vista Sidebar Gadget DIY CCS bug之8: 有关设置精华帖的操作在帖子的操作历史里浏览出错 CCS bug之7: 设置精华帖后在精华区不能看到 [CodeProject每日一荐]实现Double Metaphone语音匹配算法[三,四] VBScript调用COM;存储过程实现及高级话题 MSN和Windows Live Messenger机器人大赛 [CodeProject每日一荐]实现Double Metaphone语音匹配算法[二]:Visual Basic的COM实现和关系数据库解决方案 [CodeProject每日一荐]实现Double Metaphone语音匹配算法[一]:介绍与C++实现 [CodeProject每日一荐] 基于xml的在线选择题小测试(调查问卷) 解决问题: .Net异常 Method not found: Void System.Web.UI.WebControls.BaseDataList.set_Caption(System.String). 解决问题: sql server 2000 企业管理器打不开了 推荐解除文件锁定软件: unlocker CuteChat3.0 (for CommunityServer2.0) 发布了 CommunityServer 2.1 的消息
哈,IE7!--dudu的CNBlogs DotText 1.0 Beta 2中FreeTextBox对IE7的不兼容性
DotCat · 2006-10-19 · via 博客园 - DotCat

前段时间刚受朋友之托把.Text0.95的程序升级到dudu的CNBlogs DotText 1.0 Beta 2, 主要是看上了他的验证码:)看起来还不错,结果过了不久就发现两三个问题 :
(1)发表Post和评论的FreeTextBox不能用呃
(2)后台管理的评论中看不到以前的评论,但能看到升级系统后的评论.
(3)某Post的页面能看到以前的评论,但是blog拥有者不能删除该评论.

在仔细检查安装步骤无误后,我只得老老实实看了代码,还反编译了FreeTextBox控件dll,原来第一个问题的原因是控件的代码只判断了IE5, IE6了, 不认识IE7:) 因为我用的IE7Beta3(马上就装已发布的IE7了)就看不到FreeTextBox了,改了两处然后编译就好了,步骤如下:
(1)DottextWeb\FreeTextBox\FreeTextBox-MainScript.js 中把原来的isIE=(ie5||ie55||ie6)?_t:_f;改为
]ie7=(_nv.indexOf("msie 7.0")!=-1)?_t:_f;
isIE=(ie5||ie55||ie6||ie7)?_t:_f;
(2)用Reflector反编译DottextWeb/bin/FreeTextBox.dll,保存代码到FreeTextBox_Source,并略作修改使之编译通过.
(3)FreeTextBox_Source\FreeTextBoxControls.Suppor\BrowserInfo.cs中把原来的
info1.isIE5plus = (text1.IndexOf("MSIE 5") > 0) || (text1.IndexOf("MSIE 6") > 0));改为
info1.isIE5plus = (text1.IndexOf("MSIE 5") > 0) || (text1.IndexOf("MSIE 6") > 0) || (text1.IndexOf("MSIE 7") > 0);
(4)修改DottextWeb和Admin两个工程的FreeTextBox引用到新的FreeTextBox.dll.(或将FreeTextBox_Source工程加入到当前解决方案,将两个引用指向该工程),编译解决方案

上面问题(2)(3)是因为dudu的版本用posttype=8表示comment,而原来数据库中是用posttype=3表示comment,需要对原来的数据库之星update blog_content set posttype=8 where posttype=3