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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

贴内左侧用户信息不显示解决方法

[复制链接]
hyslian 发表于 2011-2-16 18:25:11 | 显示全部楼层 |阅读模式
本帖最后由 hyslian 于 2011-2-16 18:43 编辑

关于升级Discuz! X1.5 Release 20110121版后非默认风格的情况下,主题左侧会员资料不显示的可以参考
演示地址:http://0762sq.cn/thread-239374-1-1.html
说明:(修正本身就是无錯的,这是站长自行修改过 viewthread_node 后的方案)
修改 ./template/风格模板/forum/viewthread_node.htm
找到




  • <dl class="cl"><!--{eval @eval('echo "'.$customauthorinfo[2].'";');}--></dl>

改為



  • <dl class="cl">{$post[custominfo][menu]}</dl>

找到



  • <!--{if $_G['setting']['bannedmessages'] & 2 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))}-->


改為



  • <!--{if $_G['setting']['bannedmessages'] & 2 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))}-->

找到



  • <!--{if $customauthorinfo[1]}--><dl class="pil cl"><!--{eval @eval('echo "'.$customauthorinfo[1].'";');}--></dl><!--{/if}-->


改為



  • <!--{if $post[custominfo][left]}--><dl class="pil cl">{$post[custominfo][left]}</dl><!--{/if}-->


找到



  • <!--{if $post['signature'] && ($_G['setting']['bannedmessages'] & 4 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->

改為



  • <!--{if $post['signature'] && ($_G['setting']['bannedmessages'] & 4 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->

评分

1

查看全部评分

meiont345 发表于 2011-2-16 18:40:04 | 显示全部楼层
很详尽的课程,不错
回复

使用道具 举报

ajax5 发表于 2011-2-18 22:14:08 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

chenguo2008 发表于 2011-2-19 23:00:00 | 显示全部楼层
回复

使用道具 举报

chenguo2008 发表于 2011-2-19 23:00:17 | 显示全部楼层
回复

使用道具 举报

cookie 发表于 2011-2-19 23:01:32 | 显示全部楼层
0121版BUG好多好多
回复

使用道具 举报

chenguo2008 发表于 2011-2-19 23:04:18 | 显示全部楼层
据说这方法不行,不能显示边框,是真的吗?暂时还没试过。
回复

使用道具 举报

花到飞靡 发表于 2011-2-22 11:48:03 | 显示全部楼层
亲自鉴定,可以用~~~~
回复

使用道具 举报

discuzghost 发表于 2011-2-22 15:26:53 | 显示全部楼层
那为什么我全新安装110121版本这个地方还是错的,而且你帖子里说的问题,我全都和你修改之后的一样
回复

使用道具 举报

 楼主| hyslian 发表于 2011-2-22 21:20:03 | 显示全部楼层
默认模板还是其它风格模板呢?
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-3 16:23 , Processed in 0.131629 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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