WordPress.org

Ready to get started?Download WordPress

Forums

Popularity Contest Plugin (beta 3) (101 posts)

  1. Alex King
    Member
    Posted 9 years ago #

    Perhaps, try using the default template and see what happens.

  2. pauloribeiro
    Member
    Posted 9 years ago #

    I tried your suggestion and it still didn't work. :/ When I have the time I'll examine your code and try to discover what's the problem.

  3. Alex King
    Member
    Posted 9 years ago #

    Can you provide some of the information requested in the first post of this thread?

  4. pauloribeiro
    Member
    Posted 9 years ago #

    Sure:

    - WordPress 1.5.1.2
    - Original theme was Kubrik, which I modified
    - Active plugins:

    From all of these plugins, the only one which may somehow affect (only) the archives and category pages is the_excerpt Reloaded. I use it instead of the standard the_excerpt WordPress function to show post excerpts on those pages.

  5. Alex King
    Member
    Posted 9 years ago #

    Yep, there's your answer - the views are recorded in the_excerpt hook.

  6. SarahHunt
    Member
    Posted 9 years ago #

    I really wanted this plug-in to work for me as it sounds wicked but as the other poster mentions it does not work with Event Calender 2 and WP-short stat.

    As mentioned before, when those 2 plug-ins are disabled popularity plug-in works.

    Anyone?

  7. Alex King
    Member
    Posted 9 years ago #

    Sorry, no idea here.

  8. Silvetti
    Member
    Posted 9 years ago #

    'the views are recorded in the_excerpt hook'

    What do youactually mean by that?

    Just wondered :)

    S

  9. B
    Member
    Posted 9 years ago #

    WordPress detected a link to one of my posts, but the Linkback field in the popularity statistics does not reflect the link (it’s still 0).

    I'm using WP 1.5.1.1-beta with the Steam theme.

  10. B
    Member
    Posted 9 years ago #

    p.s. I installed the Beta 4 version of the plugin but the problem persists.

  11. alex_tingle
    Member
    Posted 9 years ago #

    Hi, I'm the author of the EventCalendar2
    plugin. I've fixed the bug that was breaking the Popularity Contest plugin. The new version is EC2.3.3. Thanks to 'elyonline' for reporting the problem.

    -Alex Tingle

  12. elyonline
    Member
    Posted 9 years ago #

    Appreciate that Alex T as I just love your plug-in :)

    Have you entered it in the contest?

  13. elyonline
    Member
    Posted 9 years ago #

    Hi,

    Still getting the:
    'The requested URL /wp-admin/options-general.php was not found on this server.'

    as mentioned before it does not appear to be redirecting back to the folder I have WP in/

    my set up is domain.com/wp/ and popularity directs to domain.com/ when I update option values.

    Thanks

  14. Alex King
    Member
    Posted 9 years ago #

    "elyonline - What is the value for WordPress address in your Options?"

  15. elyonline
    Member
    Posted 9 years ago #

  16. Alex King
    Member
    Posted 9 years ago #

    What is the "action" value in the FORM tag on the editing screen?

  17. elyonline
    Member
    Posted 9 years ago #

    <form name="ak_popularity" action="http://www.elyonline.co.uk/news/wp-content/plugins/popularity-contest.php" method="post">

  18. Alex King
    Member
    Posted 9 years ago #

    So the data is posted to the proper URL and sucessfully changed - however the resulting redirect is failing.

    I'm guessing the wpurl isn't available when I'm trying to do the redirect.

  19. Sandman
    Member
    Posted 9 years ago #


  20. Sandman
    Member
    Posted 9 years ago #

    When using Beta 3 -- my RSS Feed is reduced to one post, despite any settings I have under the options > reading...

  21. Alex King
    Member
    Posted 9 years ago #

    So have you upgraded to beta 4?

  22. chiangww
    Member
    Posted 9 years ago #

    alexking,
    I found "Last 30 days" list in report is quite useful, but it can only show in report. Can you make a tag for Last_n_days ?

  23. chiangww
    Member
    Posted 9 years ago #

    I have just hacked the plugin to include the last n days...
    Hope Alexking don't mind.


    // -- TEMPLATE FUNCTIONS
    function akpc_last_n_days($limit = 10, $n = 30) {
    global $akpc, $post, $wpdb;
    $items = $wpdb->get_results("
    SELECT p.ID AS ID, p.post_title AS post_title, pop.total AS total
    FROM $wpdb->posts p
    LEFT JOIN $wpdb->ak_popularity pop
    ON p.ID = pop.post_id
    WHERE DATE_ADD(p.post_date, INTERVAL $n DAY) > DATE_ADD(NOW(), INTERVAL 0 DAY)
    AND p.post_status = 'publish'
    ORDER BY pop.total DESC
    LIMIT $limit
    ");
    $list = '';
    if (count($items) > 0) {
    foreach ($items as $item) {
    $list .= '<li><a href="'.get_permalink($item->ID).'">'.$item->post_title.'</a> ('.$akpc->get_post_rank(-1, $item->total).')</li>'."\n";
    }
    }
    if (!empty($list)) {
    print($list);
    }
    }

  24. Vryce
    Member
    Posted 9 years ago #

    Great plugin and easy to setup and use.

    I see the text in Admin->Options->Popularity

    And going to the Popularity Rankings link brings you the Dashboard->Most Popular Posts showing lots of data.

    Nice job!

  25. Alex King
    Member
    Posted 9 years ago #

    Popularity Contest is now at 1.0:

    http://wordpress.org/support/topic/36437

  26. HighOctane
    Member
    Posted 9 years ago #

    Alex,
    Love the plugin, Works great on my Default theme. However I have found a nice theme I would like to use instead "journalized-blue".
    The side bars are set up different, causing the most popular listing to lose format, no bullets ans its all bunched together "www.wagnertech.net/blog"
    I've tried several different ways and this is the best I can do, and I Was wondering if you have any suggestions to fix it. I know its not your coding, Just asking for a bump in the right direction.

    Thanks for your time @ the plugin
    WP-1.5.1.2

  27. Alex King
    Member
    Posted 9 years ago #

    You'll want to change the CSS then.

  28. konzept
    Member
    Posted 9 years ago #

    The popularity contest works great, I love it, but one little problem. When I activated the plugin it now has messed up the navigation in my sidebar. I have different days of the week for each category. For some reason when I click on monday for one category it goes to a different category. Not sure why, I am loading a different sidebar for each category, maybe that is the problem. Can anyone help... I want to get this to work without messing up my navigation. I was looking over the code for the plugin and couldn't figure out what to change.

  29. montisci
    Member
    Posted 8 years ago #

    I was wondering if it would be possible to add some code so that along with the post title it will also show post author?

    Or show popularity by post author? (much like the category view)

  30. cogdog
    Member
    Posted 8 years ago #

    I seem to have toasted my Popularity plugin (1.0) by playing around with the wp-cache plugin. Your site mentions thia is a bad thing. I have deactivated/deleted wp-cache, re-installed the Popularity Contest 1.1, but it does not seem to be analyzing any posts since I installed wp-cache. How do I clean up?

Topic Closed

This topic has been closed to new replies.

About this Topic