oblog最新垃圾回复的解决方法

By | 2008 年 5 月 10 日

 

因为本站流量较少,所以未开启验证码,但是最近出现了一些垃圾回复很是奇怪。以前的垃圾回复都是广告,而且很明显,一下就能看出来。现在手段有所改变,回复中用户名未修改,但是修改了主页并填上了奇怪的内容,刚开始还真分辨不出是广告,还以为是在灌水。

解决回复中游客留下主页的问题(采用oblog46_Final_20080506版本):

一、 inc/class_blog.asp 第344行-第346行
 

show_logmore = show_logmore & ”  <div class=””d1″”><label>昵称:<input name=””UserName”” type=””text”” id=””UserName”” size=””20″” maxlength=””20″” value=”””” /></label></div>” & vbCrLf
show_logmore = show_logmore & ”  <div class=””d2″”><label>密码:<input name=””Password”” type=””password”” id=””Password”” size=””20″” maxlength=””20″” value=”””” /> ” & strguest & “</label></div>” & vbCrLf
show_logmore = show_logmore & ”  <div class=””d3″”><label>主页:<input name=””homepage”” type=””text”” id=””homepage”” size=””42″” maxlength=””50″” value=””http://”” /></label></div>” & vbCrLf

改为只读

show_logmore = show_logmore & ”  <div class=””d1″”><label>昵称:<input name=””UserName”” type=””text”” id=””UserName”” size=””20″” maxlength=””20″” value=”””” readonly/></label></div>” & vbCrLf
show_logmore = show_logmore & ”  <div class=””d2″”><label>密码:<input name=””Password”” type=””password”” id=””Password”” size=””20″” maxlength=””20″” value=”””” readonly/> ” & strguest & “</label></div>” & vbCrLf
show_logmore = show_logmore & ”  <div class=””d3″”><label>主页:<input name=””homepage”” type=””text”” id=””homepage”” size=””42″” maxlength=””50″” value=””http://”” readonly/></label></div>” & vbCrLf

二、inc/Class_UserCommand.asp 第944行-第946行

show_logmore = show_logmore & ”  <div class=””d1″”><label>昵称:<input name=””UserName”” type=””text”” id=””UserName”” size=””20″” maxlength=””20″” value=”””” /></label></div>” & vbCrLf
show_logmore = show_logmore & ”  <div class=””d2″”><label>密码:<input name=””Password”” type=””password”” id=””Password”” size=””20″” maxlength=””20″” value=”””” /> ” & strguest & “</label></div>” & vbCrLf
show_logmore = show_logmore & ”  <div class=””d3″”><label>主页:<input name=””homepage”” type=””text”” id=””homepage”” size=””42″” maxlength=””50″” value=””http://”” /></label></div>” & vbCrLf
 
改为只读
show_logmore = show_logmore & ”  <div class=””d1″”><label>昵称:<input name=””UserName”” type=””text”” id=””UserName”” size=””20″” maxlength=””20″” value=”””” readonly/></label></div>” & vbCrLf
show_logmore = show_logmore & ”  <div class=””d2″”><label>密码:<input name=””Password”” type=””password”” id=””Password”” size=””20″” maxlength=””20″” value=”””” readonly/> ” & strguest & “</label></div>” & vbCrLf
show_logmore = show_logmore & ”  <div class=””d3″”><label>主页:<input name=””homepage”” type=””text”” id=””homepage”” size=””42″” maxlength=””50″” value=””http://”” readonly/></label></div>” & vbCrLf

三、已经修改好的文件:下载信息  [文件大小:29.4 KB]

  由于oblog官方论坛关闭,链接失效。

这样垃圾回复就不能修改主页和用户名了,而回复的标题和内容可以在用户后台修改

2 thoughts on “oblog最新垃圾回复的解决方法

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据