修改Discuz底部版权、Archiver页面和搜索页面的版权信息的方法

分类: 时间:2019-12-27 14:21 浏览:1547
概述
一、修改Discuz底部版权网站根目录按照路径查找 templatedefaultcommon,找到footer.htm文件修改:Powered by Discuz!
内容

一、修改Discuz底部版权


001.png


网站根目录按照路径查找 templatedefaultcommon,找到footer.htm文件


修改:

<p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em>$_G['setting']['version']</em><!--{if !empty($_G['setting']['boardlicensed'])}--> <a href="http://license.comsenz.com/?pid=1&host=$_SERVER[HTTP_HOST]" target="_blank">Licensed</a><!--{/if}--></p>

<p class="xs0">&copy; 2001-2013 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p>


这就是底部版权的代码,请尊重官方版权,带上链接会影响权重,请保留 Comsenz Inc. 等信息,所以适当地去除链接


二、修改Archiver页面中的底部版权和标题


(1)Archiver页面中的底部版权

查找 sourcearchivercommonfooter.php文件

修改:

Powered by <strong><a target="_blank" href="http://www.discuz.net">Discuz! <?php echo $_G['setting']['version']; ?> Archiver</a></strong> &nbsp; &copy 2001-2013 <a target="_blank" href="http://www.comsenz.com">Comsenz Inc.</a>


(2)Archiver页面的标题

查找 sourcearchivercommonheader.php文件

修改:

<h2><?php echo $_G['setting']['bbname']; ?>'s Archiver </h2>


三、搜索页面的中的底部版权


查找 emplatedefaultsearchfooter.htm文件

修改:

<em>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em>$_G['setting']['version']</em><!--{if !empty($_G['setting']['boardlicensed'])}--> <a href="http://license.comsenz.com/?pid=1&host=$_SERVER[HTTP_HOST]" target="_blank">Licensed</a><!--{/if}--></em> &nbsp;

 <em>&copy; 2001-2013 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></em>


注意:不能直接输入文字,否则页面中版权文字显示乱码,可以用其他编码字符代替。

评论
联系我们
展开