Spam counter
-
Hi,
Please, where to insert exactly the code for “Spam counter on the dashboard “?
On your documentation your specify the WordPress template, but with no more details.
Can you please provide an axample on how to insert this code?
Thanks
-
If you mean this:
https://github.com/pluginkollektiv/antispam-bee/wiki/en-Documentation#spam-counter-on-the-dashboardthis depends on what you are trying to achieve.
If you want to display the spam count in your “at a glance” dashboard widget, then you just need to check this option in the settings.
If you want to display a whole chart with it, there is an option for it too in the settings.
If you want to display posts based on views, there is another plugin:
https://ww.wp.xz.cn/plugins/statify-widget/If you want to show the count in one of your templates, it is your decision in which template you want to insert it. The code can be found here:
https://github.com/pluginkollektiv/antispam-bee/wiki/en-Documentation#spam-counter-on-the-dashboard
You just need to insert this line in the place of template in which you want to display the count.To do this you sure want to know how to do this in a child theme to be able to still update the parent theme:
https://developer.ww.wp.xz.cn/themes/advanced-topics/child-themes/Hope this helps! If you have further questions down the road, please ask again with more details.
All the best,
TorstenHi Torsten,
Thank you for your detailed replay. I appreciate.
Effectively, the code is as in your first link.
I need the counter be shown in “at a glance” beside of ‘Statistics’ diagram on WP dashboard.
Only, the Antispam Bee statics.I would like to specify that my site is not live yet. There’s no data yet.
I already checked the toggle in the settings, but there’s no counter displayed. I expect that the counter be displayed below or above the ‘Statistics on the dashboard’ but there isn’t.
If I understand, probably the statics (graphic + counter) are shown only when the data is available. There’re no empty graphic + empty counter? Can you confirm?
Subsidiary question, can we install the plugin beside other anti-spam plugins without conflicts?
Have a great day.
-
This reply was modified 6 years, 5 months ago by
davidovic123.
-
This reply was modified 6 years, 5 months ago by
davidovic123.
I would like to specify that my site is not live yet. There’s no data yet.
If I understand, probably the statics (graphic + counter) are shown only when the data is available.
Yes, I think so.
You can try this: Enable BBCode is spam:
https://github.com/pluginkollektiv/antispam-bee/wiki/en-Documentation#bbcode-is-spamAnd then use some BBcode in a comment. Maybe you need to disable some of the “trust” options:
https://github.com/pluginkollektiv/antispam-bee/wiki/en-Documentation#trust-approved-commenters
https://github.com/pluginkollektiv/antispam-bee/wiki/en-Documentation#trust-commenters-with-a-gravatarThen you should have at least one spam comment.
Subsidiary question, can we install the plugin beside other anti-spam plugins without conflicts?
It depends. Our honeypot is changing the comment form. If the other plugin is doing the same, things can break. But there are other ways to detect spam (blocklists for example) which could be used together with our plugin.
I wouldn’t recommend it, but it can work.
Hope this helps!
All the best
TorstenThank you.
-
This reply was modified 6 years, 5 months ago by
The topic ‘Spam counter’ is closed to new replies.