Popularity Contest Plugin (beta 3) (101 posts)

  1. Alex King
    Posted 9 years ago #

    It looks like PHP Ads whatever it is creates a connection to a different database, then Popularity Contest tries to connect to the WP database and finds itself talking to the Ads database instead. This isn't something I'll make changes to work-around in PC, it appears the the Ads plugin isn't playing nicely with others.

  2. FunkyDung
    Posted 9 years ago #

    I've been using version 1.1 of popularity-contest for quite some time (on WP 2.0.0 to 2.0.4). I noticed recently that views weren't being tracked. I've since upgraded p-c to 1.2b (08-06-06 version). Now views are being tracked, but no popular posts show up in my sidebar. Any ideas?


    Nevermind. Apparently the version I downloaded had minor typos on a couple lines. Now that I'm using this version (08-08-06), things work great. Thanks for a fantastic plugin, Alex. :)

  3. FunkyDung
    Posted 9 years ago #

    BTW, I also notice that I get the "white screen of death" in WP after I click "Update Popularity Values".

  4. mdp8593
    Posted 9 years ago #

    Using latest version 1.2b of 08/08/06, I'm getting the following problems:

    1. On the write post page, in place of the image uploader, I get this:

    "Warning: Cannot modify header information - headers already sent by (output started at /homepages/30/d175633296/htdocs/wp-content/plugins/popularity-contest.php:2) in /homepages/30/d175633296/htdocs/wp-admin/inline-uploading.php on line 5

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/30/d175633296/htdocs/wp-content/plugins/popularity-contest.php:2) in /homepages/30/d175633296/htdocs/wp-includes/pluggable-functions.php on line 272"

    2. When I try to update the Popularity Contest Options, I get a blank screen with the following:

    "Warning: Cannot modify header information - headers already sent by (output started at /homepages/30/d175633296/htdocs/wp-content/plugins/popularity-contest.php:2) in /homepages/30/d175633296/htdocs/wp-content/plugins/popularity-contest.php on line 215"

    It does however, make the changes. It just doesn't return to the Options screen.

    I'm running WP 2.0.4 with the following plugins:

    Author Image(s)
    Auto-hyperlink URLs
    Category Icons
    Customizable Post Listings
    Posts by Author
    Enhanced Post List
    Get Author Profile
    Feedburner Feed Replacement
    Role Manager
    the_excerpt Reloaded

  5. fortyfoxes
    Posted 9 years ago #

    Even with the fixes by http://www.thunderguy.com/semicolon/2005/09/22/popularity-contest-for-pages/ I am gettig the following errors when I activate the plugin:

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/.goethe/fortyfoxes/cod.architex.tv/wp-content/plugins/popularity-contest.php on line 263
    Table 'cod_blog.wp_ak_popularity' doesn't exist

    Then when I look at the reports:

    WordPress database error: [Table 'cod_blog.wp_ak_popularity' doesn't exist]
    SELECT p.*, pop.* FROM wp_posts p LEFT JOIN wp_ak_popularity pop ON p.ID = pop.post_id WHERE p.post_status = 'publish' ORDER BY pop.total DESC LIMIT 50

  6. akiwitz
    Posted 9 years ago #

    Hi Alex,

    first of all: thank you for that great tool!!!

    I'm starting a new weblog with a team of five authors. I'd like to give them the role of a "Editor" as they are new to WordPress and I'd like to keep it simple for them tu use the wp-admin.

    When they login, they can see the "Most Popular Posts" Link in the submenu of the Dashboard. But when they click on that link the get the message, that they are not authorized to see the page.

    For authors and editors it would be great to see who their posts are doing...

    Do you see a chance, that they can also see the Data provided by your Plugin?

    Greetings from South America,


  7. Alex King
    Posted 9 years ago #

    Good suggestion, I'll see about making this change for the next release.

  8. noshackles
    Posted 9 years ago #

    Can someone tell me if the following is correct? I simply want to track the most popular post on my site in the sidebar. I have stared at the help file for awhile and can't figure out if what I have done is correct. I modified the last line of the code from the help file. It is working, but a couple of the posts that it is pulling up I find it strange that they would be in the top 10. Is there a way to check my stat file to make sure? thanks

  9. <h2>Most Popular Posts</h2>
    <ul >
    <?php akpc_most_popular(); ?>

  10. akpc_most_popular($limit = 10, $before =

  11. , $after =
  12. )

  • noshackles
    Posted 9 years ago #

    Here is the code again. For some reason it is dropped the li tags.

    <li><h2 >Most Popular Posts</h2>
    <ul >
    <?php akpc_most_popular(); ?>
    akpc_most_popular($limit = 10, $before =
    <li>, $after = </li>

  • akiwitz
    Posted 9 years ago #

    Hi Alex!

    Thanks for your quick answer and including this feature in the next version :-)

    Greetings from Colombia,


  • Alex King
    Posted 9 years ago #

    Turns out I'm not doing that in my code - it must be happening elsewhere. It's probably fixable, but would take some work.

  • 134

    Topic Closed

    This topic has been closed to new replies.

    About this Topic