涉及文件:

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的功能。

Related Posts: Discuz!-修改贴子列表页-用户名nofollow :