97久久国产亚洲精品超碰热,成人又色又爽的免费网站,色偷偷女人的天堂a,男女高潮喷水在线观看,国内精品一线二线三线区别在哪里

Discuz! 官方交流社區(qū)

標(biāo)題: 群組推薦貼子到板塊,在手機(jī)版無法訪問 [打印本頁(yè)]

作者: 一定    時(shí)間: 2022-8-11 11:44
標(biāo)題: 群組推薦貼子到板塊,在手機(jī)版無法訪問
發(fā)現(xiàn)一個(gè)BUG,當(dāng)群組推薦貼子到板塊,電腦版訪問正常,但是在手機(jī)版卻變成了一個(gè)新的TID,導(dǎo)致點(diǎn)擊提示沒有這個(gè)貼子。

切換默認(rèn)模板也是這樣。

比如我電腦版的【影視點(diǎn)評(píng)】里面的貼子【https://www.honghuangwenxue.com/thread-1077-1-1.html】是這個(gè)地址,但是在手機(jī)版的影視點(diǎn)評(píng),就變成了【https://www.honghuangwenxue.com/forum.php?mod=viewthread&tid=1077&extra=page%3D1&mobile=2】注意看,TID發(fā)生了變化,變成了1077




作者: onetheme    時(shí)間: 2022-8-11 22:54
打開觸屏版版塊主題列表文件,在LOOP循環(huán)里添加下面代碼
  1. <!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  2.      <!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
  3.          <!--{eval $thread[tid]=$thread[closed];}-->
  4.      <!--{/if}-->
  5. <!--{/if}-->
復(fù)制代碼


作者: 一定    時(shí)間: 2022-8-12 17:15
onetheme 發(fā)表于 2022-8-11 22:54
打開觸屏版版塊主題列表文件,在LOOP循環(huán)里添加下面代碼

你說的這個(gè)代碼好像有
  1. <!--{loop $_G['forum_threadlist'] $key $thread}-->
  2.                 <!--{if $_G['hiddenexists'] && $thread['hidden']}-->
  3.                         <!--{eval continue;}-->
  4.                 <!--{/if}-->
  5.                 <!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  6.                         <!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
  7.                                 <!--{eval $thread[tid]=$thread[closed];}-->
  8.                         <!--{/if}-->
  9.                 <!--{/if}-->
復(fù)制代碼





歡迎光臨 Discuz! 官方交流社區(qū) (http://r615.cn/) Powered by Discuz! X5.0