Emlog怎么隐藏侧边栏中最新评论中站长的的评论

emlog在使用的过程中,你会发现站长的评论也会出现在最新评论当中,那么如何隐藏Emlog优化侧边栏中最新评论中站长的相关评论,身为站长我们可能并不想让用户知道,站长评论了什么,而且也便于站长在各个文章等页面埋藏一些彩蛋。如何隐藏站长评论

风起兮资源

找Emlog侧边栏最新评论调用的系统函数,根据使用的官方Emlog最新版本6.0,因为最新评论是从缓存数据中输出的,因此找到了相关函数!

在“/include/lib/cache.php”文件第188行



风起兮

将上图所指的第188行代码改为如下代码:

$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "comment WHERE hide='n' AND mail != '管理员的邮箱' ORDER BY date DESC LIMIT 0, $index_comnum");


这样就可以隐藏emlog优化侧边栏中的站长评论,另外如果各位站长为了增加网站的用户活跃度和参与度,还可以在内搜索“回复&登陆可见”,就可以搜索到用户需要评论或者登陆之后才能看到网站内容的系统增强插件!


版权声明:《 Emlog怎么隐藏侧边栏中最新评论中站长的的评论 》为作者风起兮原创文章,转载请注明原文地址!
最后编辑:2020-7-1 16:07:33
分享到:
赞(0)
发表评论 / Comment

用心评论~

金玉良言 / Appraise
annuash本站最强王者游客
2022-09-17 08:35
It can last up to 4 hours in patients with renal impairment. <a href=https://buydoxycyclineon.com/>alcohol with doxycycline</a> 1 formic acid washes, and equilibrated with 4 5 mL 0.
urgendy本站最强王者游客
2022-09-13 04:13
<a href=http://tamoxifenolvadex.com/>tamoxifen gyno before and after</a>
KedHoorce本站最强王者游客
2022-09-10 02:15
<a href=https://clomida.com/>clomid ovulation</a> What is the best inositol supplement for PCOS.
eraxkense本站最强王者游客
2022-09-07 04:28
Globocnik also made fun about the kindergarten in Poniatowa this happened during an inspection of the Camp Poniatowa at this inspection by Globocnik, Lerch was also present <a href=https://cheapcialiss.com/>cialis buy</a> Asking the inguinal ring structure buy cialis online europe the patient s whisper a diagnosis
Peanguame本站最强王者游客
2022-09-05 02:17
<a href=https://vtopcial.com/>cialis 20mg for sale</a> For the administrator on behalf of the Reich, that is to say the Commissioner on behalf of the Reich, the Administrator on behalf of the Reich, Buerckel, came to Vienna, or the Commissioner on behalf of the Reich came to Vienna
dymnawl本站最强王者游客
2022-09-03 03:46
<a href=http://buypriligyo.com/>priligy dapoxetine buy</a> The active substance of Cialis can interact with other medicines you are taking
vineefivy本站最强王者游客
2022-09-01 00:33
Some medical reports have stated that long-term usage could result in the restoration of normal erections <a href=https://cialisfstdelvri.com/>cialis on sale in usa</a> Cialis Super Active 40 mg, 20 mg, 10 mg, 5 mg, 2
embalia本站最强王者游客
2022-08-18 12:34
In our pendulum model this maximum angular velocity is reached as the foot swings past the vertical position  see Fig. <a href=http://iverstromectol.com/>ivermectin 3mg price</a> viagra femenina 2013
ornalry本站最强王者游客
2022-07-29 16:20
<a href=http://buycialikonline.com>cialis generic online</a> Cialis Darreichungsformen