Akismet blog

Check out what we've been up to

Subscribe

Archives

Browse our older posts

Tired of comment spam? Let Akismet take care of it for you.

Adiós flash charts

January 18, 2011 by Dave Martin

Since the Akismet stats were first introduced (back in Oct 2008, the hint Joseph mentioned) they have required flash. Nowadays, there are several disadvantages to using flash for charts:

  1. None of the iOS devices support it
  2. There’s often a delay before chart data can be displayed
  3. We are forced to rely on a third-party .swf file which can’t be modified

We’ve redesigned the Akismet stats page to bring it in line visually with the rest of the WordPress admin. There are new view options: the last two months, the last six months, the last year, or all time.

Not only does the page look better, it also loads faster thanks to flot.js.  Flot is a great little open source chart library for jQuery.  Flot give us complete flexibility over how we display stats, and it allows you to view stats on any device that supports JS.

We hope you enjoy this update!

10 Responses to Adiós flash charts

  1. Pingback: WordPress: Akismet Ditches Flash For Something Better | The Blog Herald

  2. Jyri Väätäinen says:

    Thank you. Looks great!!!

  3. Theo says:

    Very nice!

    Hopefully you will give the WordPress.com Stats plugin the same treatment so we can enjoy our stats charts on our iOS devices too.

    • Joseph Scott says:

      For sites hosted on WordPress.com the stats have already been converted over to not use Flash. At some point the same will happen for users of the stats plugin.

  4. John Lizotte says:

    very nice change. thank you :)

  5. Pingback: Akismet Is That Much Prettier « Weblog Tools Collection

  6. Rene Kriest says:

    Akismet is pure awesomeness.

    What about moving over to some fancy JavaScript(~jQuery)/HTML(5) animations instead? ;)

  7. Michael Nordmeyer says:

    Nicely done. Can’t wait to be totally flash free.

  8. Hikari says:

    I see that akismet_comment_nonce input name is hardcoded. That’s not good, because since it’s always the same on all WP sites, spammers just need to search for that string in the HTML document and get the nonce near it to bypass this security measure.

    I suggest passing the string by a filter, so that we can change it to whatever we want, even develop some random string to make it change from time to time. Doing so and trying to obfuscate the nonce input, making it different in each site, spammers will have a hard time finding it.

    • Joseph Scott says:

      The nonce is just one data point we use.

      Randomizing the nonce name may be something we consider in a future version of the plugin.

Follow

Get every new post delivered to your Inbox.

Join 891 other followers

%d bloggers like this: