Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[发布] 如何去掉论坛主页标题后面的Powered by Discuz

[复制链接]
aihoo5 发表于 2013-1-7 13:18:35 | 显示全部楼层 |阅读模式
修改前的样子,看图:

3u推

3u推



修改后的样子,看图

3u推

3u推


演示地址:3u推论坛:http://bbs.3utui.com

修改步骤:

找到文件:/template/default/common/header_common.htm
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
  5. <!--{if $_G['config']['output']['iecompatible']}--><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE{$_G['config']['output']['iecompatible']}" /><!--{/if}-->
  6. <title><!--{if !empty($navtitle)}-->$navtitle <!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname'] <!--{/if}--></title>
  7. $_G['setting']['SEOhead']

  8. <meta name="keywords" content="{if !empty($metakeywords)}{echo dhtmlspecialchars($metakeywords)}{/if}" />
  9. <meta name="description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if}{if empty($nobbname)},$_G['setting']['bbname']{/if}" />
  10. <meta name="generator" content="Discuz! $_G['setting']['version']" />
  11. <meta name="author" content="Discuz! Team and Comsenz UI Team" />
  12. <meta name="copyright" content="2001-2012 Comsenz Inc." />
  13. <meta name="MSSmartTagsPreventParsing" content="True" />
  14. <meta http-equiv="MSThemeCompatible" content="Yes" />
  15. <base href="{$_G['siteurl']}" />
  16. <!--{csstemplate}-->
  17. <script type="text/javascript">var STYLEID = '{STYLEID}', STATICURL = '{STATICURL}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '{CHARSET}', discuz_uid =

  18. '$_G[uid]', cookiepre = '{$_G[config][cookie][cookiepre]}', cookiedomain = '{$_G[config][cookie][cookiedomain]}', cookiepath = '{$_G[config][cookie][cookiepath]}', showusercard

  19. = '{$_G[setting][showusercard]}', attackevasive = '{$_G[config][security][attackevasive]}', disallowfloat = '{$_G[setting][disallowfloat]}', creditnotice = '<!--{if $_G

  20. ['setting']['creditnotice']}-->$_G['setting']['creditnames']<!--{/if}-->', defaultstyle = '$_G[style][defaultextstyle]', REPORTURL = '$_G[currenturl_encode]', SITEURL = '$_G

  21. [siteurl]', JSPATH = '$_G[setting][jspath]';</script>
  22. <script type="text/javascript" src="{$_G[setting][jspath]}common.js?{VERHASH}"></script>
  23. <!--{if empty($_GET['diy'])}--><!--{eval $_GET['diy'] = '';}--><!--{/if}-->
  24. <!--{if !isset($topic)}--><!--{eval $topic = array();}--><!--{/if}-->
复制代码
将以上代码复制后替换文件夹header_common.htm 里的代码即可!

如果还有不懂的可以联系我Q:452184393
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-11-27 01:52 , Processed in 0.118899 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表