久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线

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

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

1

主題

0

回帖

6

積分

初學乍練

貢獻
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

主題

590

回帖

1854

積分

應用開發者

貢獻
66 點
金幣
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, 2025-9-19 06:07 , Processed in 0.084833 second(s), 34 queries .

Powered by Discuz! W1.0 Licensed

Copyright © 2001-2025 Discuz! Team.

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