教程分享:xiuno修改让回帖每一个作者旁边加上自己的uid

DAI 2026-03-23 10:18:40 303

内容为见山论坛原创,如需搬运请注明出处!

修改教程,找到文件post_list.inc.htm

找到以下内容

<span class="username">
    <a href="<?php echo url("user-$_post[uid]");?>" class="text-muted font-weight-bold"><?php echo $_post['username'];?></a>
</span>

修改为

<span class="username">
    <a href="<?php echo url("user-$_post[uid]");?>" class="text-muted font-weight-bold"><?php echo $_post['username'];?></a>
</span>

这样,每个回帖作者的名字旁边都会显示其 uid,并且可以调整 font-size 或 margin 来控制其显示的样式。

这家伙太懒了,什么也没留下。
最新回复 (0)
  • 暂无评论
    暂无评论

您可以在 登录 or 注册 后,对此帖发表评论!

返回