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

 找回密码
 立即注册
搜索
12
返回列表 发新帖

[已答复] 我有很多问题要问,请高手进来下,申请加精华帖

[复制链接]
cr180 发表于 2011-4-3 21:34:13 | 显示全部楼层
本帖最后由 cr180 于 2011-4-7 20:05 编辑

回复 zty198820 的帖子

1:如何去掉“我的中心”
template/default/common/header.htm

查找删除:

  1. <a href="{if $_G['uid']}home.php{else}javascript:;{/if}" id="qmenu" onMouseOver="showMenu(this.id)">{lang my_center}</a>
复制代码




同时删除我的中心弹出层:

  1. <!--{if !IS_ROBOT}-->                                <div id="qmenu_menu" class="p_pop" style="display: none; zoom: 1;">                                        <!--{if $_G['uid']}-->                                                <ul>                                                        <!--{loop $_G['setting']['mynavs'] $nav}-->                                                                <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->                                                                        <li>$nav[code]</li>                                                                <!--{/if}-->                                                        <!--{/loop}-->                                                </ul>                                                <!--{if !empty($_G['style']['extstyle'])}-->                                                        <div class="sslct cl">                                                                <!--{if !$_G[style][defaultextstyle]}--><span class="sslct_btn" onClick="extstyle('')" title="{lang default}"><i>&nbsp;</i></span><!--{/if}-->                                                                <!--{loop $_G['style']['extstyle'] $extstyle}-->                                                                        <span class="sslct_btn" onClick="extstyle('$extstyle[0]')" title="$extstyle[1]"><i style='background:$extstyle[2]'>&nbsp;</i></span>                                                                <!--{/loop}-->                                                        </div>                                                <!--{/if}-->                                        <!--{else}-->                                                <p class="reg_tip">                                                        <a href="member.php?mod={$_G[setting][regname]}" onClick="showWindow('register', this.href)" class="xi2">{lang qmenu_register}</a>                                                </p>                                        <!--{/if}-->                                        <!--{if $_G['basescript'] == 'forum' && empty($_G['disabledwidthauto'])}-->                                        <ul class="wslct">                                                <li><a href="javascript:;" onClick="widthauto(this)"><!--{if empty($_G['cookie']['widthauto'])}-->{lang switch_wide}<!--{else}-->{lang switch_narrow}<!--{/if}--></a></li>                                        </ul>                                        <!--{/if}-->                                </div>                        <!--{/if}-->
复制代码



回复

使用道具 举报

 楼主| zty198820 发表于 2011-4-6 09:21:03 | 显示全部楼层
谢谢楼上啦
回复

使用道具 举报

 楼主| zty198820 发表于 2011-4-6 10:40:53 | 显示全部楼层
本帖最后由 zty198820 于 2011-4-6 10:42 编辑

我试试看

回复

使用道具 举报

 楼主| zty198820 发表于 2011-4-6 15:29:42 | 显示全部楼层
回复 cr180 的帖子

第一个问题按照您的方法删除了,可是“我的中心”依然存在哦
回复

使用道具 举报

cr180 发表于 2011-4-6 15:36:33 | 显示全部楼层
回复 zty198820 的帖子

如果不是默认模板 在当前模板目录里改
回复

使用道具 举报

 楼主| zty198820 发表于 2011-4-7 17:05:57 | 显示全部楼层
回复 cr180 的帖子

您好,按照您的办法“我的中心”存在啊。。根本没有去掉。。请你检查下。。
回复

使用道具 举报

 楼主| zty198820 发表于 2011-4-7 17:06:22 | 显示全部楼层
回复 cr180 的帖子

不知道你在不在。希望你能看到并回复我
回复

使用道具 举报

cr180 发表于 2011-4-7 20:07:05 | 显示全部楼层
删除论坛首页的搜索条:

template/default/forum/discuz.htm

删除:
  1. <!--{subtemplate common/pubsearchform}-->
复制代码
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-10 07:08 , Processed in 0.101764 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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