WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. MaxT
    Member
    Posted 8 years ago #

    Hey all =)

    A question to anyone familiar with Spam Karma 2. In WP's admin panel I see the following:
    http://img141.imageshack.us/img141/5293/untitled16wn.png

    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

    MaxT

  2. MattRead
    Member
    Posted 8 years ago #

    This plugin might help you figure out the query:

    http://mattread.com/projects/wp-plugins/spam-karma-2-stats/

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

  3. MaxT
    Member
    Posted 8 years ago #

    I will look into it, thanks a lot :)

  4. MaxT
    Member
    Posted 8 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
    Member
    Posted 8 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
    Member
    Posted 8 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