请知悉:本文最近一次更新为 8年 前,文中内容可能已经过时。

涉及文件:

template\default\forum\forumdisplay_list.htm

搜索关键字:

{if $thread[digest] != -2}

将整个a链接代码从:

<a href="{if $thread[digest] != -2}home.php mod=space&username=$thread[lastposterenc]{else}forum.php mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a>

替换为:

<a href="{if $thread[digest] != -2}home.php mod=space&username=$thread[lastposterenc]" rel="nofollow"{else}forum.php mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a>

即实现贴子列表页的用户名nofollow的功能。


如您从本文得到了有价值的信息或帮助,请考虑扫描文末二维码捐赠和鼓励。

尊重他人劳动成果。转载请务必附上原文链接,我将感激不尽。


与《Discuz!-修改贴子列表页-用户名nofollow》相关的博文:


留言

avatar
😀
😀😁😂😅😭🤭😋😘🤔😰😱🤪💪👍👎🤝🌹👌