好像是中午收到了来自阿里云的短信提示,说ip遭到了流量攻击。当时没在意,也不想在意这个问题。。。因为相信阿里云。

刚才在群里,有人提到了怎么隐藏到论坛的会员显示,因为涉及到代码了。就顺便来出个过程吧。

找到这个文件template/default/forum/discuz.htm

如果是官方模版就是上面的路径,如果是第三方模版,就是模版里面的。

然后用文本编辑器搜索“chart”,然后会出来几个结果,找到<p class=”chart z”>这句。

<p class=”chart z”>{lang index_today}: <em>$todayposts</em><span class=”pipe”>|</span>{lang index_yesterday}: <em>$postdata[0]</em><span class=”pipe”>|</span>{lang index_posts}: <em>$posts</em><span class=”pipe”>|</span>{lang index_members}: <em>$_G[‘cache’][‘userstats’][‘totalmembers’]</em><!–{if $_G[‘cache’][‘userstats’][‘newsetuser’]}–><span class=”pipe”>|</span>{lang welcome_new_members}: <em><a href=”home.php?mod=space&username={echo rawurlencode($_G[‘cache’][‘userstats’][‘newsetuser’])}” target=”_blank” class=”xi2″>$_G[‘cache’][‘userstats’][‘newsetuser’]</a></em><!–{/if}–></p>

把这段删了就行。删之前先备份下源文件吧。