WordPress.org

Support

Support » Plugins and Hacks » Popularity Contest 1.0

Popularity Contest 1.0

Viewing 15 replies - 1 through 15 (of 39 total)
  • Nice – I may install this when I get my new design up…

    Alex, quite possibly one of the coolest plugins i’ve used since i started with WP

    (Found in archives)

    The plugin is awesome – truely amazing, but I have yet to get it to work with the ShortStat Plugin… I have to disable the ShortState plugin for now…

    I would love to get them to both work in tandem…

    Has anyone else had this problem?

    Thanks

    Hello,

    I found a bug in release 1.0. Function recalculate_popularity() did not include the score from feed view.

    Add (feed_views * $this->feed_value) and it should read as

    function recalculate_popularity() {
    global $wpdb;
    $result = mysql_query("
    UPDATE $wpdb->ak_popularity
    SET total = (feed_views * $this->feed_value)
    + (home_views * $this->home_value)
    + (archive_views * $this->archive_value)
    + (category_views * $this->category_value)
    + (single_views * $this->single_value)
    + (comments * $this->comment_value)
    + (pingbacks * $this->pingback_value)
    + (trackbacks * $this->trackback_value)
    ") or die(mysql_error());
    }

    pigizen – previous incompatibilities with other plugins were fixed by the other plugin author fixing a bug. Perhaps you could ask the short-stat author to take a look. No idea what short-stat does, but I can’t see why any of the Popularity Contest code should cause conflicts.

    I have ShortStat and Popularity Contest both running on my site.

    They both seem to be working just fine.

    Are you using the latest versions of both plugins?

    I am using WP-ShortStat 1.2 and Popularity Contest 1.0

    It appears to be the latest version.

    I tried reuploading them too… But when using both, Popularity Contest doesnt seem to propagate. ShortStat seems to be fine.

    FYI, The ShortStat plugin I am talking about it this one:
    http://dev.wp-plugins.org/wiki/wp-shortstat

    Should I be using another one?

    In my plugins page, this is what it shows for the 2 plugins.

    WP-ShortStat 1.2 Jeff Minard
    Popularity Contest 1.0 Alex King

    Maybe its another plugin you are using causing the problem? Not sure what is going on in your case. Or if I just got lucky and have both plugins working on my site.
    I have a ton of other plugins as well activated.

    Those are the two plugins I have as well…

    I also have a ton of other plugins, like you…

    I contacted Jeff Minard but he has yet to respond… not sure if he even has support…

    Thanks!

    I see a weird problem: the database doesn’t update after post # 249. Or after entry # 232 in the database…

    So current posts (250 and over) are shown as “Popularity: unranked”. I’m using WP 1.5 with pop-contest 1.0.

    Weird weird weird.

    Somehow I am unable to change the weight of my feed views.

    I was initially excited over the plugin. However I couldn’t get useful information from its stats. Finally I uninstalled it. Your mileage may vary.

    hetta – anything you did around that time? New plugins perhaps?

    Alex: No new plugins, just an upgrade to the newest pop-contest earlier in the week.

    Adding things manually to the database (INSERT INTO 'wp_ak_popularity' ...) started up the counting for the missing posts.

    I just added a new post, published it, and clicked it a few times – it’s being counted. On localhost, though.

    Hmm. I write posts off-line, and mysqldump the lot over to the online blog. Is adding posts to wp_ak_popularity linked to pressing “save” or “publish” in the blog? If so it’s a minor thing that I can easily work around.

    Angsuman: it’s possible that putting the .php script into the /plugins/ folder, not into a directory under that, might fix things.

Viewing 15 replies - 1 through 15 (of 39 total)
  • The topic ‘Popularity Contest 1.0’ is closed to new replies.
Skip to toolbar