PJBlog3 v300 戒聊友情提供版(28日解决验证码问题)
作者:小戒 日期:2009-07-25
解决验证码问题,解决Gravatar连接问题,没填邮箱图标显示错误问题。
验证码问题直接打补丁包即可,后面两个问题忘了改了哪些文件了。
详细升级历史请点击http://code.google.com/p/pjblog/source/list查看,到GOOGLECODE的299版本,并且在299版本上对数据库做了部分优化,这部分没有传上去。
升级前请先备份原程序及数据库,以防意外。
升级步骤(全新安装跳过):
1:登录后台,做更新缓存的准备,修改COOKIE域也可。
2:上传Update.ASP到博客根目录,查看现运行中的common/cache.asp中的版本代码是否为157或170或227,不是请修改成对应的版本157或170或227,如改成(blog_version = "157" '当前PJBlog版本号),不要前面的“3.1.6”啥的,再说明白点,只留三位数的版本号,然后运行http://www.yourname.com/update.asp,对数据库进行升级,升级完成后请删除Update.ASP。
3:上传除数据库以外的所有文件到博客根目录。
4:更新缓存或修改COOKIE域。
5:重新生成。
6:升级完成。
下载地址(含Update.ASP):
评论没填写网址时Gravatar连接为空,去掉连接的解决办法:
找到:
替换成:
评论没有填邮箱或网址图标不变的解决方法:
打开class/cls_article.asp,找到
替换为:
验证码问题直接打补丁包即可,后面两个问题忘了改了哪些文件了。
详细升级历史请点击http://code.google.com/p/pjblog/source/list查看,到GOOGLECODE的299版本,并且在299版本上对数据库做了部分优化,这部分没有传上去。
升级前请先备份原程序及数据库,以防意外。
升级步骤(全新安装跳过):
1:登录后台,做更新缓存的准备,修改COOKIE域也可。
2:上传Update.ASP到博客根目录,查看现运行中的common/cache.asp中的版本代码是否为157或170或227,不是请修改成对应的版本157或170或227,如改成(blog_version = "157" '当前PJBlog版本号),不要前面的“3.1.6”啥的,再说明白点,只留三位数的版本号,然后运行http://www.yourname.com/update.asp,对数据库进行升级,升级完成后请删除Update.ASP。
3:上传除数据库以外的所有文件到博客根目录。
4:更新缓存或修改COOKIE域。
5:重新生成。
6:升级完成。
下载地址(含Update.ASP):
评论没填写网址时Gravatar连接为空,去掉连接的解决办法:
找到:
复制内容到剪贴板
程序代码
程序代码 ShowComm = ShowComm&"<div class=""commentleft Gravatar"" style=""float:left"" id=""Gravatar_"&blog_CommID&"""><a href="""&commArr(12, Pcount)&""" target=""_blank""><img src="""&GravatarImg&""" alt="""&blog_CommAuthor&""" border=""0"" /></a></div><div class=""commentright"" style=""text-align:left"">"
替换成:
复制内容到剪贴板
程序代码
程序代码 ShowComm = ShowComm&"<div class=""commentleft Gravatar"" style=""float:left"" id=""Gravatar_"&blog_CommID&""">"
If isblank(commArr(12, Pcount)) Then
ShowComm = ShowComm&"<img src="""&GravatarImg&""" alt="""&blog_CommAuthor&""" border=""0"" />"
Else
ShowComm = ShowComm&"<a href="""&commArr(12, Pcount)&""" target=""_blank""><img src="""&GravatarImg&""" alt="""&blog_CommAuthor&""" border=""0"" /></a>"
End If
ShowComm = ShowComm&"</div><div class=""commentright"" style=""text-align:left"">"
If isblank(commArr(12, Pcount)) Then
ShowComm = ShowComm&"<img src="""&GravatarImg&""" alt="""&blog_CommAuthor&""" border=""0"" />"
Else
ShowComm = ShowComm&"<a href="""&commArr(12, Pcount)&""" target=""_blank""><img src="""&GravatarImg&""" alt="""&blog_CommAuthor&""" border=""0"" /></a>"
End If
ShowComm = ShowComm&"</div><div class=""commentright"" style=""text-align:left"">"
评论没有填邮箱或网址图标不变的解决方法:
打开class/cls_article.asp,找到
复制内容到剪贴板
程序代码
程序代码 if len(pjblogCommentEmail) = 0 then pjblogCommentEmail = "javascript:void(0)" else pjblogCommentEmail = "mailto:" & pjblogCommentEmail
if len(pjblogCommentWebSite) = 0 then pjblogCommentWebSite = "javascript:void(0)"
if len(pjblogCommentEmail) = 0 then pjblogCommentEmailImg = "images/noCommentEmail.gif" else pjblogCommentEmailImg = "images/CommentEmail.gif"
if len(pjblogCommentWebSite) = 0 then pjblogCommentWebSiteImg = "images/nositeurl.gif" else pjblogCommentWebSiteImg = "images/siteurl.gif"
if len(pjblogCommentWebSite) = 0 then pjblogCommentWebSite = "javascript:void(0)"
if len(pjblogCommentEmail) = 0 then pjblogCommentEmailImg = "images/noCommentEmail.gif" else pjblogCommentEmailImg = "images/CommentEmail.gif"
if len(pjblogCommentWebSite) = 0 then pjblogCommentWebSiteImg = "images/nositeurl.gif" else pjblogCommentWebSiteImg = "images/siteurl.gif"
替换为:
复制内容到剪贴板
程序代码
程序代码 If IsBlank(pjblogCommentEmail) Then
pjblogCommentEmail = "javascript:void(0)"
pjblogCommentEmailImg = "images/noCommentEmail.gif"
Else
pjblogCommentEmail = "mailto:" & pjblogCommentEmail
pjblogCommentEmailImg = "images/CommentEmail.gif"
End If
If IsBlank(pjblogCommentWebSite) Then
pjblogCommentWebSite = "javascript:void(0)"
pjblogCommentWebSiteImg = "images/nositeurl.gif"
Else
pjblogCommentWebSiteImg = "images/siteurl.gif"
End If
pjblogCommentEmail = "javascript:void(0)"
pjblogCommentEmailImg = "images/noCommentEmail.gif"
Else
pjblogCommentEmail = "mailto:" & pjblogCommentEmail
pjblogCommentEmailImg = "images/CommentEmail.gif"
End If
If IsBlank(pjblogCommentWebSite) Then
pjblogCommentWebSite = "javascript:void(0)"
pjblogCommentWebSiteImg = "images/nositeurl.gif"
Else
pjblogCommentWebSiteImg = "images/siteurl.gif"
End If
[本日志由 小戒 于 2009-07-29 09:36 PM 编辑]
上一篇: PJBlog3 v3.2.7.299集成蚊子的DIGG
下一篇: 妙语连篇!—《为什么男人爱说谎女人爱哭》经典语录集锦
文章来自: 本站原创
Tags: PJBLOG
相关日志:
评论: 34 | 引用: 0 | 查看次数: -
回复
|
|
]为什么DIGG换了别的模板就不行了,只能用自带的模板
后台初始化数据提示错误:Microsoft VBScript runtime ���� '800a004c'
Path not found
/common/function.asp���� 314
Path not found
/common/function.asp���� 314
在加一个问题,呵呵,我发现我直接是你的V300版后,附件上传里的水印类型选择是灰的,没办法选择,请问下是什么原因,怎么样才能使用
小戒 于 回复
你的空间支持ASPJPEG么?
引用来自 sham我试用了你的这个版本,但是我发现“顶一个”功能没有背景图片,而且所在位置在在左下方,而不是中间,请问是怎么回事,另外想问下这个版本里有没有日志内分页功 能,有的话我也没法使用
小戒 于 2009-08-26 04:30 PM 回复
你换了皮肤吧?默认皮肤下面有图片,换皮肤还要改CSS文件。日志内分页此版本没有。
小戒 于 2009-08-26 04:30 PM 回复
你换了皮肤吧?默认皮肤下面有图片,换皮肤还要改CSS文件。日志内分页此版本没有。
个人觉得直接把DIGG的CSS文件和图片直接放到哪个文件目录下比较好,不然换下皮肤就得改一次,对于经常性会换皮的人会稍微麻烦点,呵呵
呵呵。这个问题争议非常非常大。放在哪就是哪了吧。呵呵。不改了。你可以直接把他移出来。改下CSS位置就可以了。
我在170版基础上直接升级后,后台附件基本设置提示错误:Microsoft VBScript runtime '800a005e'
Invalid use of Null: 'Split'
/control/c_general.asp 137 ,请问下是什么原因,我原来有在用防盗链,不知道是不是这个原因,该如何才能修正
Invalid use of Null: 'Split'
/control/c_general.asp 137 ,请问下是什么原因,我原来有在用防盗链,不知道是不是这个原因,该如何才能修正
我试用了你的这个版本,但是我发现“顶一个”功能没有背景图片,而且所在位置在在左下方,而不是中间,请问是怎么回事,另外想问下这个版本里有没有日志内分页功 能,有的话我也没法使用
小戒 于 回复
你换了皮肤吧?默认皮肤下面有图片,换皮肤还要改CSS文件。日志内分页此版本没有。
解决方法呢…我一直用的都是半静态…
为何不在Google更新了
小戒 于 回复
为何不在Google更新了
什么解决方法?
此外还有一个问题,就是刚刚发现,当隐藏内容超过一个的时候,只会隐藏第一个,下面的依然都会显示出来。具体可看你的示例测试程序,我刚发了一篇测试的文章,或者参考这篇:
引用内容
or
引用内容
这个也该算是个bug吧……
小戒 于 回复
引用内容htt p://w ww.zhiwenweb.cn/article.asp?id=998
or
引用内容htt p://demo.leoyung.co m/article/newadd_6jxfor93/测试隐藏内容的显示.ht m
这个也该算是个bug吧……
已解决,不过静态下没什么用,查看源文件什么都出来了。
那个问题已经解决了,我打开数据库,发现文件名后面不知为何插入了很多的空格,我删除掉数据,后台重新编辑,文件名后面又是加入了很多空格。
然后我删除掉这个表,用升级文件里的代码update这个表格,然后问题依然
没办法我最后把附带数据库里的这个表格复制过去,然后就没这个问题……
小戒 于 回复
然后我删除掉这个表,用升级文件里的代码update这个表格,然后问题依然
没办法我最后把附带数据库里的这个表格复制过去,然后就没这个问题……
天。。。。
发表评论



