This page contains an archive of all the comments prior to version 2.0 of Bad Behavior Stats.

Read more and download the Bad Behavior Stats>>

Text Link Ads

Post Details

Post Date :
Tuesday, May 31st, 2005 at 12:36 pm
Category :
General
Tags :
Do More :
Both comments and pings are currently closed.

Related Posts

Some posts related to the post you have just read:

Search this site for Related Posts

Google
 

Comments:

  1. pamG says:

    GoodGookamooga Man, this thing is astounding! Your handywork has spared me some serious spam-related aggravation. Many many thanks!!

  2. Ajay says:

    Actually Pam, it is not my plugin that stops the spam, it is Bad Behavior that does the job.

    This plugin only provides the stats for Bad Behavior.

  3. Ray says:

    Have installed bad behavior Stats in plugins, changed $add_footer to true but nothing shows in the footer on my test blog. Have tried 3 different skons/templates. Where have I gone wrong?

  4. Ajay says:

    Please check if the footer.php of your theme contains <?php wp_footer(); ?>

    Alternatively, and a more preferable method would be to use the code above.

  5. Ray says:

    Yes, it does. Where exactly would I put the alternative code?

  6. Ajay says:

    Anywhere you want to display it.

    e.g. you could put it in the footer.php file like I have here on my website.

  7. Ray says:

    Thanks. It’s working now.

  8. Rori says:

    I am getting the following error:

    WordPress database error: [Table 'cmblog.bad_behavior_log' doesn't exist]
    SELECT COUNT(`id`) FROM `bad_behavior_log` WHERE `http_response` = ‘403′

    Did I miss a step?

  9. Ajay says:

    Did you install Bad Behavior?

  10. Rori says:

    No, Ajay, and thank you. Sorry for being so dumb.

  11. Ajay says:

    Your welcome.

    And I do hope you installed it, because Bad Behavior is simply one of the best spam blocking plugins you will find :)

  12. Turk says:

    I’m having a problem with your plugin (it could just be me). I have in my footer. The text that is displayed is this:

    Bad Behavior has blocked access attempts in the last 7 days.

    I have checked in myphpadmin and Bad Behavior has blocked over 14 spambots so far. I was wondering what I’m doing wrong?

  13. Ajay says:

    What is the PHP code that you are adding in the footer of your page?

  14. Turk says:

    Let me try that again. I’m just using bb_block_count().

  15. Ajay says:

    The code above works fine here on my blog.

    Try using this:
    <?php if (function_exists('bb_block_count')) bb_block_count(3,false,false); ?>

    Check your error_log if your site is reporting any errors.

  16. Code says:

    Ajay,

    I am getting this error:

    WordPress database error: [Table 'spid3r_wp.bad_behavior_log' doesn't exist]
    SELECT COUNT(`id`) FROM `bad_behavior_log` WHERE `http_response` = ‘403′

    Bad Behavior has blocked access attempts in the last 7 days.

    The BB plugin IS installed and ACTIVATED. I can go into phpmyadmin and see the table is there. Any thoughts?

  17. Ajay says:

    Code,

    I have responded to you via email.

  18. Fr. Daniel says:

    I’ve installed the plugin and inserted the code but I’m getting the following message where the output should be:

    WordPress database error: [Table 'username_wordpress.WP_BB_LOG' doesn't exist]
    SELECT COUNT(`id`) FROM `WP_BB_LOG` WHERE `http_reponse` = ‘403′

    Bad Behavior has blocked access attempts in the last 7 days.

    I’m a bit ignorant when it comes to SQL; it appears this might be a table problem related to the BB plugin instead of the stats plugin. (”Username” has my real username.) Any ideas?

    Thanks for your help!

  19. Ajay says:

    Hello Fr. Daniel,

    Do you have the latest version (1.1.2) of Bad Behavior installed.
    If not, then you will receive this error, as my plugin is not able to recognize the database.

  20. Fr. Daniel says:

    Ajay, thanks. I didn’t realize I was using an old version of BB. Everything is working fine now. :D

  21. Ajay says:

    Your welcome. Glad to be of help :)

  22. Anja says:

    Hi Ajay,

    I downloaded the bb-stats plugin as you suggested and it works fine. Thanx, good idea.
    Anja :-)

  23. Ajay says:

    You’re welcome. Glad you like it :)

  24. Allen says:

    Handy plugin, thanks! :)

  25. Luis says:

    I get this on the page where the info is supposed to be displayed on the site. http://www.luisandcarla.com

    Please install / activate Bad Behavior.

    yes it is activated and I’m even able to see the options–>BBStats page.

    Any Idea?

  26. Ajay says:

    What you have installed in Bad Behavior Stats. You need to install Bad Behavior as well.

  27. GaryP says:

    Well, I must be doing something wrong. Just updated the BB to 1.1.72 and your stats to 1.5 - but I get nothing. I have both lines in my footer:

    and lower:

    All worked fine before I updated. Wondering if I have done something wrong with either BB or the stats.

    Thanks!

  28. GaryP says:

    Oops, and I forgot - and this may be the key - The BBStats shows up in the menu under Options but nothing displays. No options are displayed for me to change - very weird.

  29. Ajay says:

    BBStats works fine with 1.1.4

    I’ve just installed BB 1.1.72 and it works fine here.

    I am still unaware of why the options are not being displayed in your admin panel as this is the first time I have received this feedback.

    Is it possible for you to try out BB 1.1.4 and let me know if the problem still exists with BBStats?

  30. GaryP says:

  31. Ajay says:

    Thank you Gary for pointing this out.
    I will add this under Known Bugs.

  32. marco garcia says:

    hi again ajay. the site i’m building for a client is coming along pretty decent. i’m happy with the way i was able to integrate macromedia flashpaper using Kimili Flash Embed WP Plug-In. I’m gonna take a more business approach to the site and decided on installing your BB plug in for showing the stats. It worked great and installed like a breeze. I wanted to know how i could center it and have the text style match the size and font in my footer. could you give me pointer on how to get this done?

  33. Ajay says:

    What you will need to do is style your text using CSS. Just put in the following code into your theme’s style.css

    #bbstats { text-align:center; font-size:0.8em }

    0.8em means 80% the default text size. Modify it as you wish.

    Then in the footer.php or whereever you are adding the BBStats code use the following:

    <div id="bbstats"><?php if (function_exists('bb_block_count')) bb_block_count(); ?></div>

  34. marco garcia says:

    ajay, thank you for the little tutorial. i actually learned a little about how the function works with css. that was very informative. i’m really happy to see that work. my stats are showing perfectly and centered. another question if you don’t mind? how do i bring that line up flush under my other statement in the header? it seems to be about 3-4 lines below where i would actually like it to be. i wasn’t able to figure out how to get it up a few lines so that it can fit flush.

  35. thesuperstar says:

    thanks. i just uploaded the plugin, looks good.

  36. sfong says:

    Ajay,

    Is it this plugin which gives the “some stats” on the sidebar of this theme? What I’m really after is a plugin to show number of unique visitors. Thanks.

  37. Ajay says:

    No this is not. This is a plugin to show number of blocked stats by Bad Behavior, you see it in the footer of this theme.

    I use many different plugins to display some stats.

    For unique visitors I use http://www.statcounter.com

  38. Jenny says:

    wee i got it working. i likey it.

  39. Paul says:

    Hi,

    I’ve installed the plug in and everything seems fine, but i’m not clear what code to put where. What I want to do is to be able to view these stats myself but not allow anyone else to see them (for noe at least). Is there a way to do that?

    Thanks.

  40. Ajay says:

    Read this.

  41. Dave says:

    Thanks for writing this plugin…makes it a bit easier to monitor Bad Behavior. One modification I made to the plugin admin panel was to include the stats output right there, so I didn’t have to actually display it on my webpage.

  42. Will says:

    Hello,

    My problem is that it always reports:

    Bad Behavior has blocked 0 access attempts in the last 7 days.

    :( Though BB has blocked more like 200 in the last 7 days.

    I movied my web site from one domain to another so maybe that’s the problem? Even though I did a new install and new mysql datbase. After all I am not getting any errors or anything.

    Any ideas?

    Thanks,

    Will

  43. Ajay says:

    Will please post your query in the support forum.

    Additionally provide more information like the version of BB and BB Stats you are using.

  44. Will says:

    Hey,

    Well today I checked this post and my site as I was about to as you asked and what do you know it’s working now all of a sudden. I changed nothing.

    So have no idea what happened.

    Well, just glad it works now. :)

    Thanks again and sorry for wasting your time to asset me, though I do appreciate it, a lot at that.

    Take Care,

    Will

  45. Ajay says:

    Glad to know it work. I hope you do understand that I didn’t mean to be rude or anything. I just want to streamline the support I provide.

  46. sunny says:

    hey ajay lemme how can we know which ip caused the bad behaviour, is there any such kinda facility?

    Also which mod are you using for comments? ..it shows the preview to.. lemme know plz!

  47. Ajay says:

    sunny,

    Do not post support questions here. Redirect them to the support forum.

  48. Marcus says:

    I think my stats keep showing random numbers…
    ex: in the same day it can display 7, then after a while it changes to 6, etc.

    any idea?

  49. Andy says:

    Hi, thought you’d like to know the plugin doesn’t work with Bad Behaviour 2 beta, which I’ve switched to because of the benefits it provides even as a beta - notably it’s significantly better in not blocking incorrectly configured government servers, which the old version did.

  50. Ajay says:

    Yes I am aware. I too am using the beta on this site.

    I’m working on a better stats program for several 3rd party programs integrated.

    The BB Beta has inbuilt stats display.

  51. MHC says:

    Will be waiting for an update to your great BBStats plugin. I have just installed this morning BB 2.0.1 (official, not beta) and sad to say that BBStats doesn’t work anymore.

  52. Ajay says:

    Hi MHC,

    Am aware of the incompatibility of my plugin with Bad Behavior.

    Though, BB2.x has inbuilt stats display, it has not much customization.

    I will release a new version of BBStats which will be compatible with BB2.x

  53. MHC says:

    Super groovy! Thanks for all the work you put in this! :D

  54. Ajay says:

    Well it’s users like you that keep me going

  55. Ajay says:

    @MHC, have updated the code and tested it on this blog (see at the bottom).

    Will release the new version soon :)

  56. MHC says:

    Oh thank you thank you thank you! I kiss your feet. *smooch*

    This girl finds the lack of the BB plugin’s stats customization a bit frustrating. Especially my WP theme’s footer doesn’t take it too kindly. Bleh.

    Thanks again Ajay! You are a gem!

  57. MHC says:

    OMG!!! I just looked at your stats for the past 7 days, Ajay! Yikes!!! That’s a lot of bad behaviour all right! :shock:

    If I can I will put my stats in the sidebar. That’s where I had set it up the last time and that’s where it looks best.

  58. Ajay says:

    The lack of customization is one the main reasons why I am continuing with BBStats (had thought of discontinuing it)

    I’m also working to see if I can create a WordPress Widget as well. Not sure if I will do that with this release.

    Just need to test its functionality on WordPress 1.5.x and BB1.x before the release :)

  59. MHC says:

    Cool stuff, kind sir! Looking forward to that release! *thumbsup*

  60. war59312 says:

    Glad to hear it! :)

  61. P|xeL says:

    Does this plugin works with Bad Behavior 2.0.2?! It doesn’t seem so. :-(
    Thank you anyway,
    P|xeL



Trackbacks & Pingbacks:

  1. Pingback from Ajay - On the Road called Life! » Bad Behavior Stats Plugin

    [...] is using to retrieve the number of spams blocked by BB. And I decided to convert it into a plugin for WordPress. [...]

  2. Pingback from   WordPress Plugin: Bad Behavior Stats by Blogging Pro

    [...] May 30th, 2005 WordPress Plugin: Bad Behavior Stats The Bad Behavior Stats plugin is for those using Bad Behaviour which is a plug [...]

  3. Pingback from WordPress Italy » Blog Archive » Plugin WordPress: Bad Behavior Stats

    [...] s: Cookie Timeout Plugin WordPress: Bad Behavior Stats Il plugin Bad Behavior Stats è per coloro che usano Bad Behaviour che è un plugin [...]

  4. Pingback from Ajay - On the Road called Life! » Bad Behavior Stats v1.2

    [...] un 2005 Bad Behavior Stats v1.2 Posted by Ajay under Blogging  Released v1.2 of my Bad Behavior Stats plugin today. v1.2 has the following updates: Now, the [...]

  5. Pingback from Shangri-La :: Bad Behavior :: June :: 2005

    [...] abellenamen zu aendern - und drei davon sind unnuoetig Interessant koennte auch dass Statistikplugin dafue sein. Comments » Th [...]

  6. Pingback from Wordpress Plugin Competition Blog » Bad Behavior Stats

    [...] doesn’t mind if I do it for him. Ajay D’Souza has released version 1.2 of his Bad Behavior Stats plugin and entered it into the competition. Bad Behavi [...]

  7. Pingback from Bitacoras Pueblos de España » wordpres

    [...] s analizando las peticiones HTTP y comparándolas con los datos de varios spambots conocidos. * [[http://ajaydsouza.com/wordpress/plugins/bad-behavior-stats-plugin/|Bad Behavior Stats Plugin]]: Muestra estadísticas de accesos bloqueados por el [...]

  8. Pingback from Taking Your Camera on the Road » Bad Behavior Stats in the WordPress Admin Dashboard

    [...] t also got my curiousity up. What was it catching and how many? Another search turned up Bad Behavior Stats Plugin [...]

  9. Pingback from IO ERROR » Punishing Bad Behavior

    [...] t that I can’t even count them all in any reasonable manner. People are even writing plugins for it and porting it to other platforms. It now runs on WordPress [...]

  10. Pingback from WordPress » Blog Archive » Bad Behavior

    [...] cierta cantidad de dias. Lo pueden ver en el pie de pagina. Descargar: Bad Behavior 1.1.2 Bad Behavior Stats

    [...]

  11. Pingback from Ajay - On the Road called Life! » Bad Behavior Stats v1.3

    [...] un 2005 Bad Behavior Stats v1.3 Posted by Ajay under Blogging  Released v1.3 of my Bad Behavior Stats plugin today. v1.2 fixes the Cannot find database erro [...]

  12. Trackback from Chris Gonyea

    Bad Behavior

    I had seen lots of bloggers mentioning the Bad Behavior plugin for WordPress, which intends to stop blog spammers from ever reaching your site…nevermind being able to post comment spam.
    So I have installed it on this blog to check it out and se…

  13. Pingback from evilconservativeblog.com

    [...] pam blocker to block comment spam, called “Bad Behaviour“. I just installed a stats counter, which shows (at the bottom of the page) how much it has blo [...]

  14. Pingback from Ajay - On the Road called Life! » Bad Behavior Stats v1.4

    [...] Released v1.4 of my Bad Behavior Stats plugin today. [...]

  15. Pingback from WordPress.com.br » ESTATÃ?STICAS DO BAD BEHAVIOR

    [...] Mas o Bad Behavior Stats Plugin acabou com isso. Com ele você vai poder colocar à disposição para você e seus leitores, o que o BAD BEHAVIOR tem barrado. Ele inclusive tem a opção de, automaticamente, inserir o código no FOOTER.PHP, ou seja, ele insere automaticamente no rodapé do seu blog, veja o meu blog como exemplo. [...]

  16. Pingback from Neto Cury Blog » Blog Archive » ESTATÃ?STICAS DO BAD BEHAVIOR

    [...] [...]

  17. Pingback from MEX Blog » WP Plugin: Bad Behavior und BB Stats

    [...] kleiner Hinweis für die Nutzer von beiden Plugins Bad Behavior und Bad Behavior Stats: Es liegen neue Versionen seit einigen Tagen vor. BB 1.1.4 und BBStats 1.4 [...]

  18. Pingback from Meeciteewurkor:: This is your brain on Tulsa

    [...] I’ve got Bad Behavior logging spam attempts for the last seven days. There’s a cool little plug-in that will allow you to view and display this log in the form of stats. It’s call BBstats I look forward to the newest release of Bad Behavior, because there are a few bots getting through in the form of referral spam. I have to manually block those via their IP addresses in my control panel’s IP block feature. This will usually stop them. [...]

  19. Pingback from Ajay - On the Road called Life! » Bad Behavior Stats v1.5

    [...] Read more and download the plugin>>   [...]

  20. Pingback from Ajay - On the Road called Life! » Bad Behavior Stats v1.6

    [...] Read more and download the plugin>>   [...]

  21. Pingback from Lorelle on WordPress » A Day in the Life of a Paranoid Website Administrator

    [...] Again, things trickled down to a nothing and I got paranoid again. Comments were being bounced by Bad Behavior before they even got in the door. It was “too quiet”. I was paranoid. So I added Bad Behavior Stats so I could keep track of what it was doing. Bad Behavior was catching a LOT. On average, it nails 500 known comment spam spiders, robots, etc., every week. [...]

  22. Pingback from Woordenaar on WordPress » Plugins I use

    [...] Bad Behavior stats (statistics for Bad Behavior) [...]

  23. Pingback from Blogging according to Ajay » Protecting your Blog from Spam

    [...] This should be the first thing you do to prevent spam. I have found two very effective plugins which do the job very well. One is Bad Behavior and the other is Referrer Karma. I am currently using Bad Behavior on my blog. Optionally, you can add my Bad Behavior Stats Plugin to display the number of blocked attempts on your blog. [...]

  24. Pingback from Lunacy Unleashed » Wall Street Journal interview on blog spam

    [...] And, it doesn’t bother anybody with digest e-mails, or summaries, or even how many spammers it’s blocked. “I love how it is completely automated. No user involvement needed,” said Mark Jaquith. But some people want to know what it’s doing. This led one blogger to build a statistics plugin for Bad Behavior. [...]

  25. Pingback from Blogging according to Ajay » Put Bad Behavior 2 on the Road….

    [...] It also happens to be the plugin that sparked off my interest in WordPress plugin development when I released my Bad Behavior Stats plugin. [...]

  26. Pingback from Ajay - On the Road called Life! » Connections Reloaded 2.0 Roadmap

    [...] Bad Behavior Stats (in footer.php) [...]

  27. Pingback from Akismet, le nouvel outil anti-spam pour les blogs at Almaren

    [...] Concrètement, en ce qui nous concerne l’installation d’Akismet nous a permis de nous débarrasser d’un coup de Bad Behaviour, de Spam Karma 2 ( et des deux futilitaires annexes Bad Behaviour Stats et Spam Karma 2 Stats), ainsi que de CJD Spam Nuker. Trois plugins (ou même cinq) en échange d’un seul, un gain en simplicité appréciable! akismet , blogs , plugin wordpress , spam , wordpress // Used for showing and hiding user information in the comment form function ShowUtils() { document.getElementById(”authorinfo”).style.display = “”; document.getElementById(”showinfo”).style.display = “none”; document.getElementById(”hideinfo”).style.display = “”; } function HideUtils() { document.getElementById(”authorinfo”).style.display = “none”; document.getElementById(”showinfo”).style.display = “”; document.getElementById(”hideinfo”).style.display = “none”; } [...]

  28. Pingback from Caught in the World "Wild" Web » Bad Behavior 2 Alpha 1 Released

    [...] However, I still can’t release an update for BBStats. [...]

  29. Pingback from Kelly’s World- A View into the mind of Uber Geek, Kelly Adams » Blog Archive » Blog spam continues to pour in: Akismet starting to miss some…

    [...] UPDATE:  I may be optimistic, but I’m not stupid.  I’ve added the Bad Behavior plugin to my WordPress site, and BBStats so that I (and you!) can see it at work. Tags:akismet , blog spam , metablogging , stupid , Wordpress [...]