香蕉成人伊视频在线观看|学生小视频国产区|yy女主播啪啪啪视频|麻豆传播媒体APP大全免费版官网|瑜伽牲交AV|国产欧美日韩在线天堂区|白浆精品国产91

返回列表 發帖
查看: 1856|回復: 1

[已處理] 手機版匿名可以點擊查看

1

主題

0

回帖

0

粉絲

初學乍練

貢獻
0 點
金幣
5 個
樓主
發表于 2023-9-25 21:21:16 |天津| 只看樓主 |倒序瀏覽 |閱讀模式
BUG反饋
程序版本: X3.5
瀏覽器: FireFox 
BUG地址: 隱藏內容
BUG截圖: -
測試用戶名: 隱藏內容
測試密碼: 隱藏內容
手機版訪問網站后匿名貼點進去是匿名,但是在帖子列表中可以看到頭像并且可以點擊訪問用戶個人資料。







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

主題

588

回帖

4

粉絲

應用開發者

貢獻
67 點
金幣
902 個
QQ
沙發
發表于 2023-10-16 00:08:42 |浙江| 只看Ta
打開 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, 2026-5-31 12:00 , Processed in 0.043357 second(s), 14 queries , Redis On.

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

關燈 在本版發帖
有償服務QQ
有償服務微信
返回頂部
快速回復 返回頂部 返回列表