【原创】让搜索结果显示最后回复人和最后回复时间的方法 for Discuz! X2
修改模板:\template\default\search\thread_list.htm找到:
<span><a href="forum.php?mod=forumdisplay&fid=$thread" target="_blank" class="xi1">$thread</a></span>在下面添加一行:
- <span>最后回复:<a href="home.php?mod=space&username=$thread" target="_blank">$thread</a></span> - <a href="forum.php?mod=redirect&tid=$thread&goto=lastpost#lastpost" target="_blank">$thread</a>
页:
[1]