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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 为什么我使用的模版只要用户是QQ秀走头像就会乱版呢,求高手解决

[复制链接]
潮流MC枭强Q51 发表于 2012-9-7 19:15:30 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2.5
浏览器: 360 
使用模板: 其他模板(请在回帖中说明模板的名称或者是模板的下载地址)
BUG地址: http://www.00533.net/thread-207-1-1.html
我用的是这套模版

正常论坛头像还可以

为什么用户一用QQ秀做头像就乱版了呢

这是模版控制代码如何修改
<style type="text/css">
.haor {background:url(static/image/beautify/haor.gif) no-repeat left;width:45px;height:36px;text-align:center;float:left;margin-right:4px;cursor: default}
.haor span {  font-size:12px; font-weight:normal;height:24px; line-height:24px;}
.tuid {background:url(static/image/beautify/tuid.gif) no-repeat left;width:45px;height:36px;text-align:center;float:left;cursor: default}
.tuid span {  font-size:12px; font-weight:normal;height:24px; line-height:24px;}
.ziz  {background:url(static/image/beautify/ziz.gif) no-repeat left;width:45px;height:36px;text-align:center;float:left;margin-right:4px;cursor: default}
.ziz  span {  font-size:12px; font-weight:normal;height:24px; line-height:24px;}
#zg11{border-bottom:1px solid #DCD9C9;}
.zla {background: url(static/image/beautify/zl1.png) no-repeat top left;}
.zla ul li{height:18px;font-family:"宋体"; font-weight:normal;}
.zlb {background: url(static/image/beautify/zl2.png) no-repeat bottom left;}
.zlc { margin-left:5px; padding-bottom:10px;overflow:hidden;position:relative; width:170px}
.yuyan { position:absolute; background: url(static/image/beautify/yuyan.gif) no-repeat; width:11px; height:18px; margin-left:170px; margin-top:20px;}
.user-pic {background: url(static/image/beautify/qc.png)  no-repeat; width:160px; height:142px;}
.STYLE3 {color: #0099FF}
.STYLE8 {font-size: 11px}
.pls .avatar img{background:none;padding:0 0 0 0;}
</style>
<div style="margin:0 0 0 0px;">
<!--{if $post['authorid'] && $post['username'] && !$post['anonymous'] && ($thread['digest'] >= 0 || !$post['first'])}-->
<div class="zla"><div class="zlb"><div class="zlc">
<div style="line-height:24px;padding:5px 5px 5px 5px; ">
<!--{if $_G['timestamp'] - $post['lastactivity'] <= 10800 && !$post['invisible']}-->
<!--{if $post[gender] == 1}--><A title="{lang gender}:{lang male}-{lang online}"><img src="static/image/beautify/male.gif" alt="本帅哥在线哦!"></A>
<!--{elseif $post[gender] == 2}--><A title="{lang gender}:{lang female}-{lang online}"><img src="static/image/beautify/female.gif" alt="我是美女现在在线哦!"></A>
<!--{else}--><A title="{lang gender}:{lang secret}-{lang online}"><img src="static/image/beautify/female.gif" alt="我是人妖我在线呢"></A>
<!--{/if}-->
<!--{else}-->
<!--{if $post[gender] == 1}--><A title="{lang gender}:{lang male}-{lang offline}"><img src="static/image/beautify/offline.gif" alt="本帅哥不在啊,留言给我啊!"></A>
<!--{elseif $post[gender] == 2}--><A title="{lang gender}:{lang female}-{lang offline}"><img src="static/image/beautify/offline.gif" alt="本美女不在呀,留言给我吧!"></A>
<!--{else}--><A title="{lang gender}:{lang secret}-{lang offline}"><img src="static/image/beautify/offline.gif" alt="本人妖大人不在!"></A>
<!--{/if}-->
<!--{/if}-->
<!--{if $vtonlinestatus && $post['authorid']}--><!--{if ($vtonlinestatus == 2 && $onlineauthors[$post[authorid]]) || ($vtonlinestatus == 1 && ($timestamp - $post['lastactivity'] <= 10800) && !$post['invisible'])}-->
<span class="STYLE8">{lang online}</span>
<!--{else}-->
<span class="STYLE8">{lang offline}</span>
<!--{/if}--><!--{/if}-->
  <strong><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a></strong>
</div>   
   <div class="tns xg2">
    <table cellspacing="0" cellpadding="0">
     <th><p><a href="home.php?mod=space&uid=$post[authorid]&do=thread&view=me&from=space" class="xi2"><!--{echo dnumber($post[threads])}--></a></p>{lang threads}</th>
     <th>
      <!--{if helper_access::check_module('follow')}-->
      <p><a href="home.php?mod=follow&do=follower&uid=$post[authorid]" class="xi2"><!--{echo dnumber($post[follower])}--></a></p>{lang follower}
      <!--{else}-->
      <p><a href="home.php?mod=space&uid=$post[authorid]&do=friend&view=me" class="xi2"><!--{echo dnumber($post[friends])}--></a></p>{lang friends}
      <!--{/if}-->
     </th>
     <td><p><a href="home.php?mod=space&uid=$post[authorid]&do=profile" class="xi2"><!--{echo dnumber($post[credits])}--></a></p>{lang credits}</td>
    </table>
   </div>
<div class="user-pic">     
<div class=avatar>
   <div align="center" style="padding-top:10px;*padding-top:1px;_padding-top:1px;"><A href="home.php?mod=space&uid=$post[authorid]" >$post[avatar]</A>
    </div>
   <div align="center"><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$post[customstatus]</a>
</div>
</div>
</div>
<div style="padding-left:7px;padding-bottom:8px; padding-top:3px">
<!--{if $post['customstatus']}-->
<!--{/if}-->
<A title="查看 $post[author] 个人资料" href="home.php?mod=space&uid=$post[authorid]"><STRONG><img src="static/image/beautify/kongj.gif"></STRONG></A>
    <A title="给 $post[author] 发站内短信" href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2" ><STRONG><img src="static/image/beautify/notice_newpm.gif"></STRONG></A>
    <A id="ajax_buddy_$post['count']" title="将 $post[author] 添加为好友" href="home.php?mod=spacecp&ac=friend&op=add&uid=$post[authorid]&handlekey=addfriendhk_$post[authorid]" target="_blank" id="a_friend_li_$post[authorid]"><STRONG><img src="static/image/beautify/friend.gif"></STRONG></A>
   
       <A title="钱币充值" href="home.php?mod=spacecp&ac=credit"><STRONG><img src="static/image/beautify/cz.gif"></STRONG></A>
   
       <!--{if $post['qq']}--><A href="&Site=$bbname&Menu=yes]http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$bbname&Menu=yes" target=_blank><IMG alt=QQ src="static/image/beautify/qq.gif"><span class="STYLE3"></span></STRONG></A> <!--{/if}--><br />
<!-- 等级 -->
<img src="static/image/beautify/{$post['stars']}.gif" title="Rank: {$post['stars']}">
<!-- 等级end -->
<!--{if $post['gender'] == 1}-->
<img src="static/image/beautify/boy.gif" alt="这位帅哥的编号是: $post[authorid]" title="这位帅哥的ID是: $post[authorid]" style="margin:.2em 0 .2em 0;"/>
<!--{elseif $post['gender'] == 2}-->
<img src="static/image/beautify/girl.gif" alt="这位帅哥的编号是: $post[authorid]" title="这位美女的ID是: $post[authorid]" style="margin:.2em 0 .2em 0;"/>
<!--{else}-->
<img src="static/image/beautify/none.gif" alt="这位帅哥的编号是: $post[authorid]" title="这位性别不明的ID是: $post[authorid]" style="margin:.2em 0 .2em 0;"/>
<!--{/if}--><br>
<ul style="margin-left:0px;">
<li><font color="#666666">级别:</font><font color=#FF3300>$post[authortitle]</font></li></ul>            
<ul style="margin-left:0px;">
<li><font color="#666666">发帖:</font><span class="f12" style="color:#111111">$post[posts]</span> </li></ul>   
<ul style="margin-left:0px;">
<li>
<span class="s3 f12">威望:$post[extcredits1] 点</span> </li></ul>
<ul style="margin-left:0px;">
<li>
<span class="s3 f12">银币:$post[extcredits2] 枚</span> </li></ul>
<ul style="margin-left:0px;">
<li>
<span class="s3 f12">魅力:$post[extcredits3] 分</span> </li></ul>
<div class="c"></div>
<ul style="margin-left:0px;">
<li><span class="gray">诞生:$post[regdate]</span></li></ul>
<ul style="margin-left:0px;">
<li><span class="gray">登入:$post[lastdate]</span></span></span></li></ul>
<!-- 勋章 -->
<!--{if $post['medals']}-->
                <!--{loop $post['medals'] $medal}-->
                <img src="static/image/common/$medal[image]" alt="$medal[name]" />
                <!--{/loop}-->
            <!--{/if}-->
<!-- 勋章end -->
<!--{/if}-->
   <!--{if $post[authorid] != $_G[uid]}-->
    <ul class="xl xl2 o cl" style="margin-left:0px;">
     <!--{if helper_access::check_module('follow')}-->
     <li class="addflw">
      <a href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$post[authorid]" id="followmod_$post[authorid]" title="{lang follow}" class="xi2">{lang follow}</a>
     </li>
     <!--{/if}-->
     <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]&tid=$post[tid]" title="{lang viewthread_left_sendpm}" class="xi2">{lang viewthread_left_sendpm}</a></li>
    </ul>
   <!--{/if}-->
<!--{if ($_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'])) && !getstatus($post['status'], 5)}-->
   <p class="cp_pls cl" style="margin-left:0px;">
    <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip']}-->
     <a href="forum.php?mod=topicadmin&action=getip&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if $_G['forum_auditstatuson']}&modthreadkey=$_GET[modthreadkey]{/if}">IP</a>
    <!--{/if}-->
    <!--{if $_G['group']['allowedituser']}-->
     <a href="{if $_G['adminid'] == 1}admin.php?frames=yes&action=members&operation=search&uid=$post[authorid]&submit=yes{else}forum.php?mod=modcp&action=member&op=edit&uid=$post[authorid]{/if}" target="_blank">{lang edit}</a>
    <!--{/if}-->
    <!--{if $_G['group']['allowbanuser']}-->
     <!--{if $_G['adminid'] == 1}-->
      <a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>
     <!--{else}-->
      <a href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>
     <!--{/if}-->
    <!--{/if}-->
    <a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
    <!--{if $_G['adminid'] == 1}-->
     <a href="forum.php?mod=ajax&action=quickclear&uid=$post[authorid]">{lang clear}</a>
    <!--{/if}-->
</p>
  <!--{/if}-->
</div>

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
briskvoice 发表于 2012-9-7 20:52:48 | 显示全部楼层
在这个模板里面有个类  .user-pic  应该在forum/下面的viewthread.htm中,把高度改成auto或者去除,另外去除背景试试

求票https://addon.dismall.com/?@xiao_xiaofeng.template
回复

使用道具 举报

 楼主| 潮流MC枭强Q51 发表于 2012-9-7 22:50:23 | 显示全部楼层
briskvoice 发表于 2012-9-7 20:52
在这个模板里面有个类  .user-pic  应该在forum/下面的viewthread.htm中,把高度改成auto或者去除,另外去除 ...

高度哪串代码 求详细说下
回复

使用道具 举报

 楼主| 潮流MC枭强Q51 发表于 2012-9-7 22:55:53 | 显示全部楼层
briskvoice 发表于 2012-9-7 20:52
在这个模板里面有个类  .user-pic  应该在forum/下面的viewthread.htm中,把高度改成auto或者去除,另外去除 ...

说的详细点好吗
回复

使用道具 举报

briskvoice 发表于 2012-9-8 00:11:49 | 显示全部楼层
潮流MC枭强Q51 发表于 2012-9-7 22:55
说的详细点好吗

求票https://addon.dismall.com/?@xiao_xiaofeng.template
回复

使用道具 举报

 楼主| 潮流MC枭强Q51 发表于 2012-9-8 07:26:50 | 显示全部楼层
briskvoice 发表于 2012-9-8 00:11
求票https://addon.dismall.com/?@xiao_xiaofeng.template

我给你投啊 快帮帮我啊
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-26 10:00 , Processed in 0.023850 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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