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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

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

  [复制链接]
下砂 发表于 2010-11-11 18:03:09 | 显示全部楼层 |阅读模式
本帖最后由 下砂 于 2010-11-11 18:12 编辑

修改之前 请备份header.htm文件

打开template\default\common\header.htm
搜索
  1. {lang credits}: <a href="home.php?mod=spacecp&ac=credit">$_G[member][credits]</a><!--{loop $_G['setting']['extcredits'] $extcreditid $extcredit}--><!--{if empty($extcredit['hiddeninheader'])}--> , {$extcredit[img]}$extcredit[title]: <a href="home.php?mod=spacecp&ac=credit" id="hcredit_$extcreditid"><!--{echo getuserprofile('extcredits'.$extcreditid);}--></a> {$extcredit[unit]}<!--{/if}--><!--{/loop}--> ,
复制代码



改为以下代码

  1. <a id="extcreditmenu
  2. " href="home.php?mod=spacecp&ac=credit" onmouseover="showMenu(this.id)" class="showmenu">{lang credits}: $_G[member][credits]</a> <span class="pipe">|</span>
复制代码



搜索
  1. <!--{if !IS_ROBOT}-->
复制代码


在其上添加以下代码
  1. <!--{if $_G['uid']}-->
  2.             <ul id="extcreditmenu_menu" class="p_pop" style="display: none">
  3.                 <!--{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}-->
  4.             </ul>
  5.             <!--{/if}-->
复制代码


评分

4

查看全部评分

dongdong0925 发表于 2010-11-11 18:03:52 | 显示全部楼层
回复

使用道具 举报

指间流沙 发表于 2010-11-11 18:11:04 | 显示全部楼层
尿毒,你懂的

评分

1

查看全部评分

回复

使用道具 举报

shiyuch 发表于 2010-11-11 18:15:19 | 显示全部楼层
回去试试
回复

使用道具 举报

fylt 发表于 2010-11-11 18:21:44 | 显示全部楼层
点位,,,,,,,,,,
回复

使用道具 举报

不得不坏 发表于 2010-11-11 18:33:46 | 显示全部楼层
挖,第一次这么靠前

评分

1

查看全部评分

回复

使用道具 举报

neol123 发表于 2010-11-11 19:06:14 | 显示全部楼层
修改了之后:是所有的积分项目都全部被放进下拉菜单吗?

还是说  可以指定 比如 金币  不放入下拉菜单

其余的放进下拉菜单?
回复

使用道具 举报

lukemaria 发表于 2010-11-11 19:19:26 | 显示全部楼层
本帖最后由 lukemaria 于 2010-11-11 22:25 编辑

支持,前排啊
www.mobicake.com
www.deso.mobi
回复

使用道具 举报

exced 发表于 2010-11-11 19:37:28 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

sayui 发表于 2010-11-11 19:38:01 | 显示全部楼层
支持
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-2 14:32 , Processed in 0.123316 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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