Spam Karma 2 > fetching # of spam from DB (6 posts)

  1. MaxT
    Posted 10 years ago #

    Hey all =)

    A question to anyone familiar with Spam Karma 2. In WP's admin panel I see the following:

    What I need is to get that number (in this case 2805) to be shown on the sidebar. I know that you can do it at the bottom of the blog via SK2's settings, but it's not what I need. All I need is to know how to fetch that number, that's all.

    I've tried with different queries, but couldn't succeed. Could anyone please help?

    Thanks in advance


  2. MattRead
    Posted 10 years ago #

    This plugin might help you figure out the query:


    The plugin hasn't been updated cause the stats are now built in, but it should help.

  3. MaxT
    Posted 10 years ago #

    I will look into it, thanks a lot :)

  4. MaxT
    Posted 10 years ago #

    Got it to work =)

    You can see an example at http://maxt.dk/ (look at the right side (sidebar) under Stats)

    Thanks again =)

  5. ladydelaluna
    Posted 10 years ago #

    ack! from now on, please put "not suitable for viewing at work", will ya? i don't think many people's bosses would like to see that they downloaded a pic/text "jenna jameson"

  6. masey
    Posted 10 years ago #

    I understand that Matt's plugin is obsolete now that Spam Karma 2 has the footer stats thing built in. But the SK2 automatic addition to footer option hasn't worked for me so I need to know how to code it manually...

    Can anyone help me out?

Topic Closed

This topic has been closed to new replies.

About this Topic