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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已解决] 官方顶部用户信息积分显示下拉菜单修改方法

  [复制链接]
泡海椒 发表于 2010-12-3 11:14:35 | 显示全部楼层


原来这个是修改代码弄的啊  还以为在后台有设置项呢。
回复

使用道具 举报

lian26680 发表于 2010-12-4 17:44:26 | 显示全部楼层
但是IE6下拉菜单无效,如何解决?
回复

使用道具 举报

沃尔 发表于 2010-12-4 18:47:26 | 显示全部楼层
为什么版区分两列版块显示,版块介绍不显示呢?
还有 怎么把7.2默认的难看导航栏怎么修改过来?谢谢
回复

使用道具 举报

天文 发表于 2010-12-4 23:00:10 | 显示全部楼层
回复

使用道具 举报

phamen 发表于 2010-12-5 11:40:04 | 显示全部楼层
不错啊
回复

使用道具 举报

秋水小鱼 发表于 2010-12-5 11:43:10 | 显示全部楼层
支持下 嘿嘿
回复

使用道具 举报

台灣玩透透 发表于 2010-12-11 13:26:49 | 显示全部楼层
支持下 嘿嘿
回复

使用道具 举报

yy648 发表于 2010-12-11 15:14:21 | 显示全部楼层
按楼主的方法积分不会下拉,我上传一个修改好的


  1. <!--{subtemplate common/header_common}-->
  2. <!--{if defined('CURMODULE') && ($_G['basescript'] == 'forum' || $_G['basescript'] == 'group') && (CURMODULE == 'index' || CURMODULE == 'forumdisplay' || CURMODULE == 'group')}-->$rsshead<!--{/if}-->
  3. <!--{if $_G['basescript'] == 'forum'}-->
  4.   <!--{if !empty($_G['cookie']['widthauto']) && empty($_G['disabledwidthauto'])}-->
  5.    <link rel="stylesheet" id="css_widthauto" type="text/css" href="data/cache/style_{STYLEID}_widthauto.css?{VERHASH}" />
  6.    <script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
  7.   <!--{/if}-->
  8.   <script type="text/javascript" src="{$_G[setting][jspath]}forum.js?{VERHASH}"></script>
  9. <!--{elseif $_G['basescript'] == 'home' || $_G['basescript'] == 'userapp'}-->
  10.   <script type="text/javascript" src="{$_G[setting][jspath]}home.js?{VERHASH}"></script>
  11. <!--{elseif $_G['basescript'] == 'portal'}-->
  12.   <script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
  13. <!--{/if}-->
  14. <!--{if $_G['basescript'] != 'portal' && $_GET['diy'] == 'yes' && ($_G[mod] == 'topic' || $_G[group][allowdiy]) && !empty($_G['style']['tplfile'])}-->
  15.   <script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
  16. <!--{/if}-->
  17. <!--{if $_GET[diy] == 'yes' && ($_G[mod] == 'topic' || $_G[group][allowdiy]) && !empty($_G['style']['tplfile'])}-->
  18. <link rel="stylesheet" type="text/css" href="data/cache/style_{STYLEID}_css_diy.css?{VERHASH}" />
  19. <!--{/if}-->
  20. </head>
  21. <body id="nv_{$_G[basescript]}" class="pg_{CURMODULE}" onkeydown="if(event.keyCode==27) return false;">
  22. <!--{if ($_G[mod]!='topic' && $_G[group][allowdiy] && !empty($_G['style']['tplfile'])) || (!empty($_G['style']['tplfile']) && $_G[mod]=='topic' && (($_G['group']['allowaddtopic'] && $topic[uid]==$_G[uid]) || $_G[group][allowmanagetopic]))}-->
  23. <a id="diy-tg" href="javascript:openDiy();" title="{lang open_diy}"><img src="{STATICURL}image/diy/panel-toggle.png" alt="DIY" /></a>
  24. <!--{/if}-->
  25. <div id="append_parent"></div><div id="ajaxwaitid"></div>
  26. <!--{if $_GET['diy'] == 'yes' && (CURMODULE == 'topic' || $_G[group][allowdiy]) && !empty($_G['style']['tplfile'])}-->
  27.   <!--{template common/header_diy}-->
  28. <!--{/if}-->
  29. <!--{if empty($topic) || $topic[useheader]}-->
  30. <!--{ad/headerbanner/wp a_h}-->
  31. <div id="hd">
  32.   <div class="wp">
  33.    <div class="hdc cl">
  34.     <h2><a href="./" title="$_G['setting']['bbname']">{BOARDLOGO}</a></h2>
  35.     <!--{if $_G['uid']}-->
  36.     <div id="um">
  37.      <div class="avt y"><a href="home.php?mod=space&uid=$_G[uid]" c="34"><!--{avatar($_G[uid],small)}--></a></div>
  38.      <p>
  39.       <strong><a href="home.php?mod=space&uid=$_G[uid]" class="vwmy"{if $_G['setting']['connect']['allow'] && $_G[member][conisbind]} style="background:url({IMGDIR}/connect_qq.gif) no-repeat scroll 0 0px;padding-left:20px"{/if} target="_blank" title="{lang visit_my_space}">{$_G[member][username]}</a></strong>
  40.       <!--{if $_G['group']['allowinvisible']}-->
  41.        <span id="loginstatus" class="xg1">
  42.         <a href="member.php?mod=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">
  43.         <!--{if $_G['member']['invisible']}-->
  44.          {lang login_invisible_mode}
  45.         <!--{else}-->
  46.          {lang login_normal_mode}
  47.         <!--{/if}-->
  48.         </a>
  49.        </span>
  50.       <!--{/if}-->
  51.       <!--{if $_G['setting']['connect']['allow'] && !$_G[member][conisbind]}-->
  52.        <a href="connect.php?mod=config" target="_blank"><img src="{IMGDIR}/qq_bind_small.gif" class="vm" alt="{lang connect_config}" style="margin-top: -3px;" /></a>
  53.       <!--{/if}-->
  54.       <span class="pipe">|</span><span id="usersetup" class="showmenu" onmouseover="showMenu(this.id);"><a href="home.php?mod=spacecp">{lang setup}</a></span>
  55.       <!--{hook/global_usernav_extra1}-->
  56.       <!--{if $_G[member][newprompt]}--><span class="pipe">|</span><a href="home.php?mod=space&do=notice" id="myprompt"{if $_G[member][newprompt]} class="new"{/if}>{lang remind}($_G[member][newprompt])</a><span id="myprompt_check"></span><!--{/if}-->
  57.       <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}<!--{if $_G[member][newpm]}-->($_G[member][newpm])<!--{/if}--></a>
  58.       <span class="pipe">|</span><a href="home.php?mod=space&do=friend">{lang friends}</a> <!--{if $_G['setting']['regstatus'] > 1}--><a href="home.php?mod=spacecp&ac=invite" class="xg1">{lang invite}</a> <!--{/if}-->
  59.       <!--{if $_G['setting']['taskon']}-->
  60.        <span class="pipe">|</span><!--{if empty($_G['cookie']['taskdoing_'.$_G['uid']])}--><a href="home.php?mod=task&item=new">{lang task}</a>
  61.        <!--{else}--><a href="home.php?mod=task&item=doing" id="task_ntc" class="new">{lang task_doing}</a><!--{/if}-->
  62.       <!--{/if}-->
  63.       <!--{hook/global_usernav_extra2}-->
  64.       <span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
  65.      </p>
  66.      <p>
  67.       <!--{eval $upgradecredit = $_G['uid'] && $_G['group']['grouptype'] == 'member' && $_G['group']['groupcreditslower'] != 999999999 ? $_G['group']['groupcreditslower'] - $_G['member']['credits'] : false;}-->
  68.       <a id="extcreditmenu" href="home.php?mod=spacecp&ac=credit" onmouseover="showMenu(this.id)" class="showmenu">{lang credits}: $_G[member][credits]</a> <span class="pipe">|</span>{lang usergroup}: <a href="home.php?mod=spacecp&ac=usergroup"{if $upgradecredit !== 'false'} id="g_upmine" class="xi2" onmouseover="showMenu({'ctrlid':this.id, 'pos':'21'});"{/if}>$_G[group][grouptitle]</a>
  69.       <!--{if $_G['group']['radminid'] > 1 || $_G['member']['allowadmincp'] || $_G['group']['allowmanagearticle'] || $_G['group']['allowdiy'] || $_G['group']['allowauthorizedblock'] || $_G['group']['allowauthorizedarticle']}-->
  70.       , <a id="managemenu" href="javascript:;" onmouseover="showMenu(this.id)" class="showmenu">{lang manage}</a>
  71.       <!--{/if}-->
  72.      </p>
  73.     </div>
  74.     <!--{elseif !empty($_G['cookie']['loginuser'])}-->
  75.     <p>
  76.      <strong><a id="loginuser" class="noborder">$_G['cookie']['loginuser']</a></strong>
  77.      <span class="pipe">|</span><a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href);hideWindow('register');">{lang activation}</a>
  78.      <span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
  79.     </p>
  80.     <!--{else}-->
  81.      <!--{template member/login_simple}-->
  82.     <!--{/if}-->
  83.    </div>
  84.    <!--{if $_G['uid']}-->
  85.    <ul id="managemenu_menu" class="p_pop" style="display: none;">
  86.     <!--{if $_G['group']['allowmanagearticle'] || $_G['group']['allowdiy'] || $_G['group']['allowauthorizedblock'] || $_G['group']['allowauthorizedarticle']}-->
  87.     <li><a href="portal.php?mod=portalcp">{lang portal_manage}</a></li>
  88.     <!--{/if}-->
  89.     <!--{if $_G['uid'] && $_G['group']['radminid'] > 1}-->
  90.     <li><a href="forum.php?mod=modcp&fid=$_G[fid]" target="_blank">{lang forum_manager}</a></li>
  91.     <!--{/if}-->
  92.     <!--{if $_G['uid'] && ($_G['group']['radminid'] == 1 || $_G['member']['allowadmincp'])}-->
  93.     <li><a href="admin.php" target="_blank">{lang admincp}</a></li>
  94.     <!--{/if}-->
  95.    </ul>
  96.    <ul id="extcreditmenu_menu" class="p_pop" style="display: none">
  97.     <!--{loop $_G['setting']['extcredits'] $extcreditid $extcredit}--><!--{if empty($extcredit['hiddeninheader'])}--><li><a href="home.php?mod=spacecp&ac=credit">{$extcredit[img]}$extcredit[title]: <span id="hcredit_$extcreditid"><!--{echo getuserprofile('extcredits'.$extcreditid);}-->{$extcredit[unit]}</span></a></li><!--{/if}--><!--{/loop}-->
  98.    </ul>
  99.    <!--{/if}-->
  100.    
  101.    <!--{if !IS_ROBOT}-->
  102.     <div id="qmenu_menu" class="p_pop" style="display: none; zoom: 1;">
  103.      <!--{if $_G['uid']}-->
  104.       <ul>
  105.        <!--{loop $_G['setting']['mynavs'] $nav}-->
  106.         <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->
  107.          <li>$nav[code]</li>
  108.         <!--{/if}-->
  109.        <!--{/loop}-->
  110.       </ul>
  111.       <!--{if !empty($_G['style']['extstyle'])}-->
  112.        <div class="sslct cl">
  113.         <!--{if !$_G[style][defaultextstyle]}--><span class="sslct_btn" onclick="extstyle('')" title="{lang default}"><i>&nbsp;</i></span><!--{/if}-->
  114.         <!--{loop $_G['style']['extstyle'] $extstyle}-->
  115.          <span class="sslct_btn" onclick="extstyle('$extstyle[0]')" title="$extstyle[1]"><i style='background:$extstyle[2]'>&nbsp;</i></span>
  116.         <!--{/loop}-->
  117.        </div>
  118.       <!--{/if}-->
  119.      <!--{else}-->
  120.       <p class="reg_tip">
  121.        <a href="member.php?mod={$_G[setting][regname]}" onclick="showWindow('register', this.href)" class="xi2">{lang qmenu_register}</a>
  122.       </p>
  123.      <!--{/if}-->
  124.      <!--{if $_G['basescript'] == 'forum' && empty($_G['disabledwidthauto'])}-->
  125.      <ul class="wslct">
  126.       <li><a href="javascript:;" onclick="widthauto(this)"><!--{if empty($_G['cookie']['widthauto'])}-->{lang switch_wide}<!--{else}-->{lang switch_narrow}<!--{/if}--></a></li>
  127.      </ul>
  128.      <!--{/if}-->
  129.     </div>
  130.    <!--{/if}-->
  131.    <div id="nv">
  132.     <a href="{if $_G['uid']}home.php{else}javascript:;{/if}" id="qmenu" onmouseover="showMenu(this.id)">{lang my_center}</a>
  133.     <ul>
  134.      <!--{eval $mnid = getcurrentnav();}-->
  135.      <!--{loop $_G['setting']['navs'] $nav}-->
  136.       <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li {if $mnid == $nav[navid]}class="a" {/if}$nav[nav]></li><!--{/if}-->
  137.      <!--{/loop}-->
  138.     </ul>
  139.    </div>
  140.    <!--{if !empty($_G['setting']['plugins']['jsmenu'])}-->
  141.     <ul class="p_pop h_pop" id="plugin_menu" style="display: none">
  142.     <!--{loop $_G['setting']['plugins']['jsmenu'] $module}-->
  143.       <!--{if !$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}-->
  144.       <li>$module[url]</li>
  145.       <!--{/if}-->
  146.     <!--{/loop}-->
  147.     </ul>
  148.    <!--{/if}-->
  149.    $_G[setting][menunavs]
  150.    <div id="mu" class="cl">
  151.    <!--{if $_G['setting']['subnavs']}-->
  152.     <!--{loop $_G[setting][subnavs] $navid $subnav}-->
  153.      <!--{if $_G['setting']['navsubhover'] || $mnid == $navid}-->
  154.      <ul class="cl {if $mnid == $navid}current{/if}" id="snav_$navid" style="display:{if $mnid != $navid}none{/if}">
  155.      $subnav
  156.      </ul>
  157.      <!--{/if}-->
  158.     <!--{/loop}-->
  159.    <!--{/if}-->
  160.    </div>
  161.    <!--{ad/subnavbanner/a_mu}-->
  162.   </div>
  163. </div>
  164. <!--{hook/global_header}-->
  165. <!--{/if}-->
  166. <div id="wp" class="wp">
复制代码

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-8 07:47 , Processed in 0.023383 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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