xiuno修改让回帖每一个作者旁边加上自己的uid

admin 4月前 2628

修改教程,找到文件post_list.inc.htm.  定位<!--{hook thread_username_before.htm}-->
找到以下内容

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

修改为

<!--{hook thread_username_before.htm}-->
                          
                                      <span class="username">
                                           <span class="badge" style="color:white;background:#52c7f8;">
										<a href="<?php echo url("user-$_post[uid]");?>" class="text-muted font-weight-bold"><?php echo $_post['username'];?></a></span></span>
										
										
                                            <span class="username">
                                                <span class="badge" style="color:white;background:#52c7f8;">
                            (UID:<?php echo $_post[uid];?>)
                                           
                              </span></span>

或下载替换以下文件

1 个附件 (3.75K) 状态
免费
最新回复 (1)
返回
发新帖
站内搜索
📅 2026-05-21 19:52 🔥 171
📅 2026-05-04 17:49 🔥 408
📅 2026-05-02 08:22 🔥 396
📅 2026-05-02 07:26 🔥 460
📅 2026-04-23 18:53 🔥 506
📅 2026-04-23 18:49 🔥 671
📅 2026-04-23 15:59 🔥 713
📅 2026-04-23 15:57 🔥 608
📅 2026-04-23 15:41 🔥 738
📅 2026-04-20 05:52 🔥 1053
帖子链接已复制到剪贴板