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

 找回密码
 立即注册
搜索

[已解决] 如何将头像的弹窗去掉?

[复制链接]
happywub 发表于 2010-9-7 14:21:36 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X1.5
浏览器: IE6 firefox 
使用模板: 官方模板
BUG地址: localhost
请教下,在论坛帖子内容页,当鼠标移到头像区域的时候,会出现个人详细信息弹出窗,我想把这个弹出窗去掉,并且在原有头像下面加上“发短消息”和“加为好友”的选项。不知道具体该怎么配置呢?麻烦知道的朋友详细告知下,谢谢。

回复

使用道具 举报

 楼主| happywub 发表于 2010-9-8 10:08:21 | 显示全部楼层
顶起,希望能得到更多人关注和帮助,谢谢。
回复

使用道具 举报

elevensky 发表于 2010-9-8 12:17:12 | 显示全部楼层
修改模板。template\default\forum夹中的viewthread_node.htm搜索
  1. onmouseover="showauthor(this, 'userinfo$post[pid]')"
复制代码
把这个事件去掉,
然后你要加的两个地方的代码是:
  1. <ul>
  2.                                         <li class="pm2"><a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]" onclick="hideMenu('userinfo$post[pid]');showWindow('sendpm', this.href)" title="{lang send_pm}">{lang send_pm}</a></li>
  3.                                         <!--{if $post[authorid] != $_G[uid]}-->
  4.                                                 <li class="buddy"><a href="home.php?mod=spacecp&ac=friend&op=add&uid=$post[authorid]&handlekey=addfriendhk_{$post[authorid]}" id="a_friend_li_{$post[pid]}" onclick="showWindow(this.id, this.href, 'get', 1, {'ctrlid':this.id,'pos':'00'});">{lang add_to_buddylist}</a></li>
  5.                                         <!--{/if}-->
  6.                                 </ul>
复制代码
去掉判断,放到你想要的位置就可以了。
回复

使用道具 举报

 楼主| happywub 发表于 2010-9-8 18:50:05 | 显示全部楼层
((em:12))灰常感谢,我去试试看。。。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-5 23:01 , Processed in 0.131056 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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