PJBLOG使用技巧

2019-01-14 00:47:46于海丽

</script>
</div></div>

注,并同时在Classcls_article.asp中的“查看次数...”后添加以上代码。

26.修正 用户资料修改 E-MAIL不公开时提示 QQ号非法及“不公开我的电子邮件”失效BUG[06-03-30]
===================================================
以下两处均在member.asp文件中修改
修改一:先找到


程序代码
if IsInteger(QQ)=false then

大约在(231行)
修改为:


程序代码
if len(QQ)>0 and IsInteger(QQ)=false then

修改二:先找到


程序代码
<tr><td align="right" width="85"><strong>电子邮件:</strong></td><td align="left" style="padding:3px;"><%=blog_Mem("mem_Email")%></td></tr>

修改为:


程序代码
<tr><td align="right" width="85"><strong>电子邮件:</strong></td><td align="left" style="padding:3px;"><%if (blog_Mem("mem_HideEmail") and (not stat_Admin)) or len(blog_Mem("mem_Email"))<1 or isnull(blog_Mem("mem_Email")) then response.write "该用户没有或不公开电子邮件" else response.write blog_Mem("mem_Email") end if%></td></tr>