如何去掉Discuz论坛标题的Powered by Discuz!
-
找到如下的位置 根目录/template/default/common/
找到 header_common.htm
-
原来的代码
<title><!--{if !empty($navtitle)}-->$navtitle - <!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname'] - <!--{/if}--> Powered by Discuz!</title>
修改为
<title><!--{if !empty($navtitle)}-->$navtitle<!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname'] <!--{/if}--></title>
一定记着把 - 去掉 要不你的浏览器在标题处还是出现 -
-
然后到后台里设置下。刷新,网站标题的Powered by Discuz!就木有啦。
-
然后是修改尾部的去掉Powered by Discuz! XX字样。
还是刚才那个目录,在footer.htm中大约在76行寻找。
-
原来的代码
<div id="frt"><p>Powered by <strong><a href="http***" target="_blank">Discuz!</a></strong> <em>$_G['setting']['version']</em><!--{if !empty($_G['setting']['boardlicensed'])}--> <a href="http***/?pid=1&host=$_SERVER[HTTP_HOST]" target="_blank">Licensed</a><!--{/if}--></p><p>© 2001-2013 <a href="http***" target="_blank">Comsenz Inc.</a></p></div>
修改为
<div id="frt"><p>Powered by <strong><a href="http***" target="_blank">$_G['setting']['bbname']</a></strong><!--{if !empty($_G['setting']['boardlicensed'])}--><a href="http***/?pid=1&host=$_SERVER[HTTP_HOST]" target="_blank">Licensed</a><!--{/if}--></p><p>© 2001-2013 <a href="http***" target="_blank">Comsenz Inc.</a></p></div>
-
OK,这样就修改了顶部和底部的Powered by Discuz!了,其实底部不修改也无所谓啦。