官方首页 | 无图版 | BBS首页
PJBlog2最新版本下载|升级包(2007.12.23) Bo-Blog V2.1.0 到 PJBlog 2.7 的转换程序 WP 2.3 到 PJ 2.6/2.7 的转换程序 手把手教您在PJForum上传图片
PJBlog技术支持论坛使用问题总索引 手术式讲解视频教程如何制作 PJblog2.7.05终极资源包电驴免费下载 风格使用区-HOT! 凤凰行动开始!
发新话题
打印

请求帮助~!“分类| 固定链接 | 评论 | 引用 |查看次数|”如何隐藏或删除?

本主题由 thomas 于 2007-2-7 16:40 解除高亮

请求帮助~!“分类| 固定链接 | 评论 | 引用 |查看次数|”如何隐藏或删除?

“分类| 固定链接 | 评论 | 引用 |查看次数|”如何隐藏或删除?
如图


如何把预览模式选项都隐藏或删除?

请指教!

TOP

找到class/cls_default.asp,208行到224行,全部删除,然后到后台重新生成所有日志到文件
<div class="Content-bottom">
                <div class="ContentBLeft"></div><div class="ContentBRight"></div>
                分类:<a href="default.asp?cateID=<%=webLogArr(1,PageCount)%>" title="<%=getCate.cate_Intro%>"><%=getCate.cate_Name%></a> | <a href="?id=<%=webLogArr(0,PageCount)%>">固定链接</a> |
                                                       
                <%if webLogArr(13,PageCount)=true then%>
                         禁止评论
                <%Else%>
                         <a href="article.asp?id=<%=webLogArr(0,PageCount)%>#comm_top">评论: <%=webLogArr(6,PageCount)%></a>
                <%end If%>
                         | 引用: <%=webLogArr(7,PageCount)%> | 查看次数: <%=webLogArr(8,PageCount)%>
                                <%if stat_EditAll or (stat_Edit and webLogArr(2,PageCount)=memName) then%>
                                         | <a href="blogedit.asp?id=<%=webLogArr(0,PageCount)%>"><img src="images/icon_edit.gif" alt="" border="0" style="margin-bottom:-2px"/></a>
                                <%end if%>
                                <%if stat_DelAll or (stat_Del and webLogArr(2,PageCount)=memName)  then%>
                                         | <a href="blogedit.asp?action=del&id=<%=webLogArr(0,PageCount)%>" onclick="if (!window.confirm('是否要删除该日志')) return false"><img src="images/icon_del.gif" alt="" border="0" style="margin-bottom:-2px"/></a>
                                <%end if%>                                 
                           </div>


自己多尝试几次吧

[ 本帖最后由 潇潇子 于 2006-6-21 19:12 编辑 ]

TOP

十分感谢你的帮忙~!!
谢谢啦!!!

TOP

回复 #2 潇潇子 的帖子

哦,按你的方法做出现错误,重新生成所有日志到文件后,出现错误页面!
能否详细些。

只要删除红线的。谢谢了!帮帮忙!!!

[ 本帖最后由 kenme 于 2006-6-21 20:11 编辑 ]

TOP

你把已经改过的文件先还原
找到208行到225行
</div><div class="Content-bottom">
                <div class="ContentBLeft"></div><div class="ContentBRight"></div>
                分类:<a href="default.asp?cateID=<%=webLogArr(1,PageCount)%>" title="<%=getCate.cate_Intro%>"><%=getCate.cate_Name%></a> | <a href="?id=<%=webLogArr(0,PageCount)%>">固定链接</a> |
                                                       
                <%if webLogArr(13,PageCount)=true then%>
                         禁止评论
                <%Else%>
                         <a href="article.asp?id=<%=webLogArr(0,PageCount)%>#comm_top">评论: <%=webLogArr(6,PageCount)%></a>
                <%end If%>
                         | 引用: <%=webLogArr(7,PageCount)%> | 查看次数: <%=webLogArr(8,PageCount)%>
                                <%if stat_EditAll or (stat_Edit and webLogArr(2,PageCount)=memName) then%>
                                         | <a href="blogedit.asp?id=<%=webLogArr(0,PageCount)%>"><img src="images/icon_edit.gif" alt="" border="0" style="margin-bottom:-2px"/></a>
                                <%end if%>
                                <%if stat_DelAll or (stat_Del and webLogArr(2,PageCount)=memName)  then%>
                                         | <a href="blogedit.asp?action=del&id=<%=webLogArr(0,PageCount)%>" onclick="if (!window.confirm('是否要删除该日志')) return false"><img src="images/icon_del.gif" alt="" border="0" style="margin-bottom:-2px"/></a>
                                <%end if%>                                 
                           </div>
                        </div></div>


替换成
               

</div><div class="Content-bottom">
                <div class="ContentBLeft"></div><div class="ContentBRight"></div>
                分类:<a href="default.asp?cateID=<%=webLogArr(1,PageCount)%>" title="<%=getCate.cate_Intro%>"><%=getCate.cate_Name%></a> |
                                <%if stat_EditAll or (stat_Edit and webLogArr(2,PageCount)=memName) then%>
                                         | <a href="blogedit.asp?id=<%=webLogArr(0,PageCount)%>"><img src="images/icon_edit.gif" alt="" border="0" style="margin-bottom:-2px"/></a>
                                <%end if%>
                                <%if stat_DelAll or (stat_Del and webLogArr(2,PageCount)=memName)  then%>
                                         | <a href="blogedit.asp?action=del&id=<%=webLogArr(0,PageCount)%>" onclick="if (!window.confirm('是否要删除该日志')) return false"><img src="images/icon_del.gif" alt="" border="0" style="margin-bottom:-2px"/></a>
                                <%end if%>                                 
                           </div>
                        </div></div>


在class/cls_article.asp文件中删除134行

<div class="Content-bottom"><div class="ContentBLeft"></div><div class="ContentBRight"></div>评论: <%=log_ViewArr(12,0)%> | 引用: <%=log_ViewArr(13,0)%> | 查看次数: <%=log_ViewArr(4,0)%>


预览|普通模式的修改在class/cls_logAction.asp的620行,自己看一下吧

[ 本帖最后由 潇潇子 于 2006-6-21 20:46 编辑 ]

TOP

回复 #5 潇潇子 的帖子

十分感谢你的帮忙~~~再次的感谢你!!!!
我Blog弄好后再请您的光临~

[ 本帖最后由 kenme 于 2006-6-21 23:55 编辑 ]

TOP

发新话题