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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] Discuz! 2.5 首页登录框怎么去掉?

[复制链接]
rosande 发表于 2013-1-4 21:11:29 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2.5
浏览器: IE6 IE8 360 
使用模板: 官方模板
BUG地址: http://www.yidemi.com
本帖最后由 rosande 于 2013-1-4 21:14 编辑

        我只想用DISCUZ!的门户系统,所以首页忒多的登录选项有点儿繁琐,故来请教大家如何去除? 怎么改源码?那个QQ登录的选项也要去除掉!
         关于登录方式,我将在顶部导航放一个文字链接,让用户跳到其他页面登录即可!

身藏Blue 发表于 2013-3-22 10:33:23 | 显示全部楼层
  1. <!--{if $$$$_G['uid']}-->
  2. <div id="um">
  3. <div class="avt y"><a href="home.php?mod=space&uid=$$$$_G[uid]"><!--{avatar($$$$_G[uid],small)}--></a></div>
  4. <p>
  5. <strong class="vwmy{if $$$$_G['setting']['connect']['allow'] && $$$$_G[member][conisbind]} qq{/if}"><a href="home.php?mod=space&uid=$$$$_G[uid]" target="_blank" title="{lang visit_my_space}">{$$$$_G[member][username]}</a></strong>
  6. <!--{if $$$$_G['group']['allowinvisible']}-->
  7. <span id="loginstatus">
  8. <a id="loginstatusid" href="member.php?mod=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');return false;" class="xi2"></a>
  9. </span>
  10. <!--{/if}-->
  11. <!--{hook/global_usernav_extra1}-->
  12. <span class="pipe">|</span><!--{hook/global_usernav_extra4}--><a href="home.php?mod=spacecp">{lang setup}</a>
  13. <span class="pipe">|</span><a href="home.php?mod=space&do=pm" id="pm_ntc"{if $$$$_G[member][newpm]} class="new"{/if}>{lang pm_center}</a>
  14. <span class="pipe">|</span><a href="home.php?mod=space&do=notice" id="myprompt"{if $$$$_G[member][newprompt]} class="new"{/if}>{lang remind}<!--{if $$$$_G[member][newprompt]}-->($$$$_G[member][newprompt])<!--{/if}--></a><span id="myprompt_check"></span>
  15. <!--{if $$$$_G['setting']['taskon'] && !empty($$$$_G['cookie']['taskdoing_'.$$$$_G['uid']])}--><span class="pipe">|</span><a href="home.php?mod=task&item=doing" id="task_ntc" class="new">{lang task_doing}</a><!--{/if}-->
  16. <!--{if ($$$$_G['group']['allowmanagearticle'] || $$$$_G['group']['allowpostarticle'] || $$$$_G['group']['allowdiy'] || getstatus($$$$_G['member']['allowadmincp'], 4) || getstatus($$$$_G['member']['allowadmincp'], 6) || getstatus($$$$_G['member']['allowadmincp'], 2) || getstatus($$$$_G['member']['allowadmincp'], 3))}-->
  17. <span class="pipe">|</span><a href="portal.php?mod=portalcp"><!--{if $$$$_G['setting']['portalstatus'] }-->{lang portal_manage}<!--{else}-->{lang portal_block_manage}<!--{/if}--></a>
  18. <!--{/if}-->
  19. <!--{if $$$$_G['uid'] && $$$$_G['group']['radminid'] > 1}-->
  20. <span class="pipe">|</span><a href="forum.php?mod=modcp&fid=$$$$_G[fid]" target="_blank">{lang forum_manager}</a>
  21. <!--{/if}-->
  22. <!--{if $$$$_G['uid'] && $$$$_G['adminid'] == 1 && $$$$_G['setting']['cloud_status']}-->
  23. <span class="pipe">|</span><a href="admin.php?frames=yes&action=cloud&operation=applist" target="_blank">{lang cloudcp}</a>
  24. <!--{/if}-->
  25. <!--{if $$$$_G['uid'] && getstatus($$$$_G['member']['allowadmincp'], 1)}-->
  26. <span class="pipe">|</span><a href="admin.php" target="_blank">{lang admincp}</a>
  27. <!--{/if}-->
  28. <!--{hook/global_usernav_extra2}-->
  29. <span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
  30. </p>
  31. <p>
  32. <!--{hook/global_usernav_extra3}-->
  33. <!--{eval $$$$upgradecredit = $$$$_G['uid'] && $$$$_G['group']['grouptype'] == 'member' && $$$$_G['group']['groupcreditslower'] != 999999999 ? $$$$_G['group']['groupcreditslower'] - $$$$_G['member']['credits'] : false;}-->
  34. <a href="home.php?mod=spacecp&ac=credit&showcredit=1" id="extcreditmenu"{if !$$$$_G[setting][bbclosed]} onmouseover="delayShow(this, showCreditmenu);" class="showmenu"{/if}>{lang credits}: $$$$_G[member][credits]</a>
  35. <span class="pipe">|</span>{lang usergroup}: <a href="home.php?mod=spacecp&ac=usergroup"{if $$$$upgradecredit !== 'false'} id="g_upmine" class="xi2" onmouseover="delayShow(this, showUpgradeinfo)"{/if}>$$$$_G[group][grouptitle]</a>
  36. </p>
  37. </div>
  38. <!--{elseif !empty($$$$_G['cookie']['loginuser'])}-->
  39. <p>
  40. <strong><a id="loginuser" class="noborder"><!--{echo dhtmlspecialchars($$$$_G['cookie']['loginuser'])}--></a></strong>
  41. <span class="pipe">|</span><a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)">{lang activation}</a>
  42. <span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
  43. </p>
  44. <!--{elseif !$$$$_G[connectguest]}-->
  45. <!--{template member/login_simple}-->
  46. <!--{else}-->
  47. <div id="um">
  48. <div class="avt y"><!--{avatar(0,small)}--></div>
  49. <p>
  50. <strong class="vwmy qq">{$$$$_G[member][username]}</strong>
  51. <!--{hook/global_usernav_extra1}-->
  52. <span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
  53. </p>
  54. <p>
  55. <a href="home.php?mod=spacecp&ac=credit&showcredit=1">{lang credits}: 0</a>
  56. <span class="pipe">|</span>{lang usergroup}: $$$$_G[group][grouptitle]
  57. </p>
  58. </div>
  59. <!--{/if}-->
复制代码
这个是登录框的代码!

ps:删除先备份!删除后清空缓存、刷新俩次首页即可!


回复

使用道具 举报

 楼主| rosande 发表于 2013-3-31 10:37:38 | 显示全部楼层
身藏Blue 发表于 2013-3-22 10:33
这个是登录框的代码!

ps:删除先备份!删除后清空缓存、刷新俩次首页即可!

非常感谢,等下我去试试看下!
回复

使用道具 举报

e6619 发表于 2013-7-9 02:43:04 | 显示全部楼层
身藏Blue 发表于 2013-3-22 10:33
这个是登录框的代码!

ps:删除先备份!删除后清空缓存、刷新俩次首页即可!

在哪个文件中找?
回复

使用道具 举报

何必在强忍 发表于 2013-7-14 15:07:01 | 显示全部楼层
  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=gb2312" />
  5. <title>无标题文档</title>
  6. </head>

  7. <body>
  8. <a >大漠狩猎论坛</a>
  9. </body>
  10. </html>
复制代码
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-28 14:38 , Processed in 0.028125 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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