返回列表 发帖
查看: 579|回复: 1

[已处理] 手机版匿名可以点击查看

1

主题

0

回帖

6

积分

初学乍练

贡献
0 点
金币
5 个
发表于 2023-9-25 21:21:16 | 显示全部楼层 |阅读模式
BUG反馈
程序版本: X3.5
浏览器: FireFox 
BUG地址: 隐藏内容
BUG截图: -
测试用户名: 隐藏内容
测试密码: 隐藏内容
手机版访问网站后匿名贴点进去是匿名,但是在帖子列表中可以看到头像并且可以点击访问用户个人资料。


屏幕截图 2023-09-25 211744.png

屏幕截图 2023-09-25 211657.png


1 贡献

最佳答案

打开 template\default\touch\forum\forumdisplay.htm

找到
  1.                                         <a href="home.php?mod=space&uid={$thread['authorid']}" class="mimg"><img src="<!--{avatar($thread['authorid'], 'middle', true)}-->"></a>
  2.                                         <div class="muser">
  3.                                                 <h3><a href="home.php?mod=space&uid={$thread['authorid']}" class="mmc">{$thread['author']}</a></h3>
  4.                                                 <span class="mtime">{$thread['dateline']}</span>
  5.                                         </div>
复制代码
修改为
  1.                                         <!--{if $thread['authorid'] && $thread['author']}-->
  2.                                         <a href="home.php?mod=space&uid={$thread['authorid']}" class="mimg"><img src="<!--{avatar($thread['authorid'], 'middle', true)}-->"></a>
  3.                                         <!--{else}-->
  4.                                         <a href="javascript:;" class="mimg"><img src="<!--{avatar(0, 'middle', true)}-->" /></a>
  5.                                         <!--{/if}-->
  6.                                         <div class="muser">
  7.                                                 <h3>
  8.                                                         <!--{if $thread['authorid'] && $thread['author']}-->
  9.                                                                 <a href="home.php?mod=space&uid={$thread['authorid']}" class="mmc">{$thread['author']}</a>
  10.                                                         <!--{else}-->
  11.                                                                 {$_G['setting']['anonymoustext']}
  12.                                                         <!--{/if}-->
  13.                                                 </h3>
  14.                                                 <span class="mtime">{$thread['dateline']}</span>
  15.                                         </div>
复制代码
回复

使用道具 举报

17

主题

568

回帖

1816

积分

应用开发者

贡献
63 点
金币
902 个
QQ
发表于 2023-10-16 00:08:42 | 显示全部楼层
打开 template\default\touch\forum\forumdisplay.htm

找到
  1.                                         <a href="home.php?mod=space&uid={$thread['authorid']}" class="mimg"><img src="<!--{avatar($thread['authorid'], 'middle', true)}-->"></a>
  2.                                         <div class="muser">
  3.                                                 <h3><a href="home.php?mod=space&uid={$thread['authorid']}" class="mmc">{$thread['author']}</a></h3>
  4.                                                 <span class="mtime">{$thread['dateline']}</span>
  5.                                         </div>
复制代码
修改为
  1.                                         <!--{if $thread['authorid'] && $thread['author']}-->
  2.                                         <a href="home.php?mod=space&uid={$thread['authorid']}" class="mimg"><img src="<!--{avatar($thread['authorid'], 'middle', true)}-->"></a>
  3.                                         <!--{else}-->
  4.                                         <a href="javascript:;" class="mimg"><img src="<!--{avatar(0, 'middle', true)}-->" /></a>
  5.                                         <!--{/if}-->
  6.                                         <div class="muser">
  7.                                                 <h3>
  8.                                                         <!--{if $thread['authorid'] && $thread['author']}-->
  9.                                                                 <a href="home.php?mod=space&uid={$thread['authorid']}" class="mmc">{$thread['author']}</a>
  10.                                                         <!--{else}-->
  11.                                                                 {$_G['setting']['anonymoustext']}
  12.                                                         <!--{/if}-->
  13.                                                 </h3>
  14.                                                 <span class="mtime">{$thread['dateline']}</span>
  15.                                         </div>
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

  • 关注公众号
  • 有偿服务微信
  • 有偿服务QQ

手机版|小黑屋|Discuz! 官方交流社区 ( 皖ICP备16010102号 |皖公网安备34010302002376号 )|网站地图|star

GMT+8, 2024-5-6 16:21 , Processed in 0.041535 second(s), 11 queries , Redis On.

Powered by Discuz! W1.0 Licensed

Cpoyright © 2001-2024 Discuz! Team.

关灯 在本版发帖
有偿服务QQ
有偿服务微信
返回顶部
快速回复 返回顶部 返回列表