去掉OBlog页面底部版权信息及图片的方法
发布时间:2009-07-05 18:36:00
从尊重开发者劳动成果来说,不应该去掉版权信息,但版权信息真的不美观,所以可以换成适合模板的美观的版权信息。同时本方法仅供学习使用,不得用于任何违法的事情,否则后果自负。
第一,在INC目录中找到“class_blog.asp”、“class_sys.asp ”两个文件。
第二,在class_blog.asp中
查找:
show=show&"<div id=""powered""><a href="/blog/"http://oblog.oioj.net"" target=""_blank""><img src=http://www.xishuiw.com/info/2008-7/"/blog/"images/oblog_powered.gif"" border=""0"" alt=""Powered by Oblog."" /></a></div>"&VbCrLf&"<div id=""ad_userbot""></div></body>"&VbCrLf&"</html>"
改为
show=show&"<div id=""ad_userbot""></div></body>"&VbCrLf&"</html>"
查找:
show = show & "<div id=""powered""><a href="/blog/"http://www.oblog.cn"" target=""_blank""><img src=http://www.xishuiw.com/info/2008-7/"""&blogurl&"images/oblog_powered.gif"" border=""0"" alt=""Powered by Oblog."" /></a></div>" & vbCrLf & "</body>" & vbCrLf & "</html>"
改为:
show = show & "</body>" & vbCrLf & "</html>"
第三,在class_sys.asp 中
查找:
User_CopyRight = CacheConfig(7) & "</div>" & "<div id=""powered""><a href="/blog/"http://www.oblog.cn"" target=""_blank""><img src=http://www.xishuiw.com/info/2008-7/""images/oblog_powered.gif"" border=""0"" alt=""Powered by "" /></a>"
改为:
User_CopyRight = CacheConfig(7)
查找:
Site_bottom = Site_bottom & "<div style=""display:block;clear: both;text-align: center;width: 100%;padding: 8;""><a href="/blog/"http://www.oblog.cn"" target=""_blank""><img src=http://www.xishuiw.com/info/2008-7/""images/oblog_powered.gif"" border=""0"" alt=""Powered by "" /></a></div>" & vbCrLf
删除它
第四,找到OblogUserDefault31.css文件,删除其中的
#powered {
clear: both;
text-align: center;
width: 100%!important;
width: 200px;
margin:0 auto;
padding: 8;
}
第五,找到OblogUserDefault4.css文件,删除其中的
#powered {
clear: both;
text-align: center;
width: 200px!important;
width: 100%;
margin:0 auto;
height:15px;
}
最后将修改好的文件覆盖之前的就可以了!
猜你喜欢
- 可能由于Typecho博客模板布局情况,需要单独调用typecho某一分类目录的文章列表,目前为止,我没有找到相关的typecho插件,但找
- Adsense推介不带中国玩了,这从是点石得到的最新消息,不知道真的还是假的,如果是真的很大站长朋友的收录又要少了,做站真是不容易啊。后面只
- 4、TLS支持通过修改/usr/lib/ssl/misc/CA.pll脚本实现,以下修改后CA1.pl和未修改CA.pl之间的对
- 帝国cms是我们用得比较多得PHP的建站系统,在建站过程中,如果自己没有信息源,只能靠手工不断的重复copy和粘贴,这样费时费力,于是我们就
- 10月15日,微软在中国市场正式推出最新的手机操作系统Windows Mobile 6.5。全新的手机界面、更人性的用户体验,得到了大批手机
- 一、Apache 主要配置文件注释Apache的主配置文件:/etc/httpd/conf/httpd.conf默认站点主目录:/var/w
- z-blog最新版,给文章页侧栏弄得都是js调用,要加强制代码才能是include调用,这样才符合某些SEO大人的要求。拿荆棘鸟博客来说,侧
- 无论是使用手工试探还是使用安全测试工具,恶意攻击者总是使用各种诡计从你的防火墙内部和外部攻破你的SQL服务器系统。既然黑客在做这样的事情。你
- 注意:此文为个人修改办法,非官方!请不要误会!你可以不使用本人提供的代码,如果你使用了本人提供的代码,我就认为你愿意自行担负可能造成的错误和
- 对于Exchange服务器的备份可以分成两个主要的目标。首先是对整个系统数据的备份。这一工作包括了对Windows操作系统的核心数据、服务器
- 信息技术和创新基金会(ITIF)近日公布了一份统计图,列举了全球20大国家互联网的接入情况,包括平均网速和网费两个指标。日本、韩国均处于遥遥
- 应部分GoDaddy用户要求,整理了解决GoDaddyLinux空间Java和Jsp常见的一些问题及解答,希望可以给GoDaddy用户带来更
- 1. unlink函数 对于硬链接来说,unlink 用来删除目录项,并把 inode 引用计数减 1,这两步也是一个原子过程。直到 in
- 1、添加用户新增名为"wang"的用户[root@vdevops ~]# useradd wang #添加账户[root
- 最近不少站长开始考虑和选择在国外注册域名,由于很多站长对国外IDC市场不是很了解,害怕上当受骗无处维权,这里就分享一下在国外域名注册的方法和
- Web性能优化最佳实践中最重要的一条是减少HTTP请求,它也是YSlow中比重最大的一条规则。减少HTTP请求的方案主要有合并JavaScr
- 最近,一直想在腾讯进行视频认证,结果呢?老跳出,你未设置允许使用你的摄像头,我用了右键设置了的,可是还是没有用。后来到网上看了相关的东西,找
- 最近一些日子在学习有关于虚拟机VirtualBox,现在分享给大家参考一下。一、虚拟机网络配置默认只是设置了网卡1:方式NAT(对应ifcf
- 最近以来,许多关系老百姓衣食住行的B2C网站开始大量涌现,有在网上卖童装、卖衬衫、卖内衣、卖鞋子、卖米面粮油的,一应俱全。而一家以鞋业行业网
- 坦白说,笔者只有少于十分一时间关注IT新闻,一向对于‘网路狂人’马云的认识只是皮毛,直至在韩国釜山采访APEC之后,才认认真真看关于马云的书