XIUNO主题贴子内页增加作者最新文章的代码,我没有用感觉效果不太好!
把以下代码添加到这个文件里/view/htm\thread.htm就行!具体位置请自行斟酌!
<?php $_threadlist = mythread_find_by_uid($thread['uid'], 1, 10);
// 过滤没有权限访问的主题 / filter no permission thread
thread_list_access_filter($_threadlist, $gid);
?>
<div class="card">
<div class="card-body">
<ul class="small break-all">
<?php foreach($_threadlist as $_thread) { ?>
<li class="line-height-2">
<a href="<?php echo url("thread-$_thread[tid]");?>">
<?php echo $_thread['subject'];?>
</a>
</li>
<?php } ?>
</ul>
样式美化自己去折腾吧!