Xiuno 隐藏首页侧边栏

打开

/view/htm/index.htm

大概在31-69行找到

<div class="col-lg-3 d-none d-lg-block aside">

<a role="button" class="btn btn-primary btn-block mb-3" href="<?php echo url('thread-create-'.$fid);?>"><?php echo lang('thread_create_new');?></a>

<!--{hook index_site_brief_before.htm}-->

<div class="card card-site-info">

<!--{hook index_site_brief_start.htm}-->

<div class="m-3">

<h5 class="text-center"><?php echo $conf['sitename'];?></h5>

<div class="small line-height-3"><?php echo $conf['sitebrief'];?></div>

</div>

<div class="card-footer p-2">

<table class="w-100 small">

<tr align="center">

<td>

<span class="text-muted"><?php echo lang('threads');?></span><br>

<b><?php echo $runtime['threads'];?></b>

</td>

<td>

<span class="text-muted"><?php echo lang('posts');?></span><br>

<b><?php echo $runtime['posts'];?></b>

</td>

<td>

<span class="text-muted"><?php echo lang('users');?></span><br>

<b><?php echo $runtime['users'];?></b>

</td>

<?php if($runtime['onlines'] > 0) { ?>

<td>

<span class="text-muted"><?php echo lang('online');?></span><br>

<b><?php echo $runtime['onlines'];?></b>

</td>

<?php } ?>

</tr>

</table>

</div>

<!--{hook index_site_brief_end.htm}-->

</div>

<!--{hook index_site_brief_after.htm}-->

</div>

改为

<style>

  .col-lg-9 {

    flex: 0 0 100%;

    max-width: 100%;

}

</style>

  <!--

<div class="col-lg-3 d-none d-lg-block aside">

<a role="button" class="btn btn-primary btn-block mb-3" href="<?php echo url('thread-create-'.$fid);?>"><?php echo lang('thread_create_new');?></a>

<!--{hook index_site_brief_before.htm}-->

<div class="card card-site-info">

<!--{hook index_site_brief_start.htm}-->

<div class="m-3">

<h5 class="text-center"><?php echo $conf['sitename'];?></h5>

<div class="small line-height-3"><?php echo $conf['sitebrief'];?></div>

</div>

<div class="card-footer p-2">

<table class="w-100 small">

<tr align="center">

<td>

<span class="text-muted"><?php echo lang('threads');?></span><br>

<b><?php echo $runtime['threads'];?></b>

</td>

<td>

<span class="text-muted"><?php echo lang('posts');?></span><br>

<b><?php echo $runtime['posts'];?></b>

</td>

<td>

<span class="text-muted"><?php echo lang('users');?></span><br>

<b><?php echo $runtime['users'];?></b>

</td>

<?php if($runtime['onlines'] > 0) { ?>

<td>

<span class="text-muted"><?php echo lang('online');?></span><br>

<b><?php echo $runtime['onlines'];?></b>

</td>

<?php } ?>

</tr>

</table>

</div>

<!--{hook index_site_brief_end.htm}-->

</div>

<!--{hook index_site_brief_after.htm}-->

</div>

-->

清理缓存目录(tmp目录)即可看到效果

如果想改回来,逆操作本教程就ok。


更新——————————————————————————————

在我的论坛中发现,会溢出

-->

所以直接把最后的

-->

去掉了,还能达到效果,也没用多余代码溢出,很是奇怪

能分享表情插件和头像插件吗?
sssss
引用
...
sssss 能分享表情插件和头像插件吗?
头像不是插件,是改的图片,表情插件在官方论坛有,搜一搜就能找到
怕是插件引起的问题
1