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

admin 1月前 226

修改教程,找到文件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) 状态
免费
最新回复 (19)
返回
发新帖
言之有理相关图片
站内搜索