Discuz建站小技巧汇总(1)

来源:互联网 发布:网络用语kk是什么意思 编辑:程序博客网 时间:2024/05/17 08:20

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

修改前的样子,看图:


修改后的样子,看图:


演示地址: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 里的代码即可!