Knowledgering Post Popularity Graph Tool

We’ve developed a tool that shows you the popularity of a post in graphical format. You can see it in action on any post page on our website. Just look at the bottom of the post.

If you have a WordPress blog or WordPress powered website you can use our tool on your blog or website. If you’re using our tool please leave comments here to give us ideas on how to make this tool more interesting and useful. Feel free also to let us know if the tool is not working but please be detailed in letting us know what it’s not doing, what error messages you get etc. Thanks for checking out Knowledgering Post Popularity Graph Tool.

  1. admin says:

    We’re releasing Knowledgering Post Popularity Graph Tool sometime between today and Saturday. We hope people will find it useful and look forward to seeing it in use on some other websites.

  2. Hi.
    Great plugin!
    I got a problem, I dont think the plugin recognice the facebook likes on my posts.
    i tried a smaller number at the “Retweet/Likes Arbitrary high value”

  3. Any news about my issue?

  4. admin says:

    Version 1.4 should fix the facebook problem. If you still have trouble with it after updating please report back. Thanks again for bringing it to my attention.

  5. Hi and thank you for your fast respond!
    Now the plugin recognise facebook likes, but the widget has dissapered.

    • admin says:

      Hi Daniel, can you confirm if you are saying that the widget is in place in the dashboard but just not showing on the site?

  6. it is just not showing on the site

  7. Ed Stevens says:

    With KR plugin installed and activated my pages are loading very slow. I deactivated all plugins that use java and activated KR and no luck, still slow. With all the other plugins activated my site loads fine. Either I’m not finding the conflict or somethings up with the plugin. Any suggestions? Thanks.

  8. Ed Stevens says:

    Probably be helpful to know that I am using the plugin as a widget, no including calculations. The slow loading happens whether or not I use thumbnails.

    • admin says:

      Ed, if you have it set to include facebook likes and retweets turn those off and let me know if it’s still loading slow. If it’s still loading slow, remove the widget to see if the problem can be isolated to the widget. Thanks for the notice.

  9. grillermo says:

    Hey, i installed the plugin on my wordpress 3.1.3 and i’m getting this error
    The following was output (if any) from the cronjob Ranking that was run on 06/04/2011 12:06:49am

    Warning: include_once() [function.include-once]: URL file-access is disabled in the server configuration in /home/XXXXXXX/domains/XXXXXXXXX.com/public_html/XXXXXXX/wp-content/plugins/crony/crony.php on line 485

    Warning: include_once(http://XXXXXXXXX.com/XXXXXXX?krppcron=1) [function.include-once]: failed to open stream: no suitable wrapper could be found in /home/XXXXXXX/domains/XXXXXXXXX.com/public_html/XXXXXXX/wp-content/plugins/crony/crony.php on line 485

    Warning: include_once() [function.include]: Failed opening ‘http://XXXXXXXXX.com/XXXXXXX?krppcron=1′ for inclusion (include_path=’/home/XXXXXXX/domains/XXXXXXXXX.com/public_html/XXXXXXX/wp-content/plugins/official-google-site-verification-plugin/external/php-client::.:/usr/local/php5/lib/php’) in/home/XXXXXXX/domains/XXXXXXXXX.com/public_html/XXXXXXX/wp-content/plugins/crony/crony.php on on line 485

    With the plugin, any idea?

    • admin says:

      grillermo, sounds like maybe something in your server config prevents the cron file from running or else the popular posts plugin can’t run through the crony.php plugin assuming that’s what’s being attempted? Hard to say with just reading the error messages.

  10. Ovidiu says:

    sounds like this is finally a decent replacement for popularity contest :-)

    what plugin do you suggest for the post views?

  11. Ed Stevens says:

    Hi there – yes, it’s localized to the widget. I currently have the widget taken out but the plugin activated (I like that I can use your thumbnail sizing for my excerpts!). Using another popular posts widget but want to go back to yours. Any thoughts? Thanks.

    • admin says:

      Ed, did you have the cron setup when you were having the problem? The cron job is supposed to reduce the load on the server by running once an hour in the background to update the widget rather than having the widget doing the calculations on a constant basis. If you did have the cron setup and it was still slow I’ll need to check that out. Otherwise try setting up the cron job to see if that takes care of the problem.

  12. Ed Stevens says:

    Sorry for the multiple – I didn’t have the FB or Twitter enabled so it wasn’t that.

  13. Ovidiu says:

    oh, that old one by lesterchan. nice to see it is still working… his whole suit of plugins was nice but he stopped supporting them…
    will install postviews then give your plugin a try.

  14. Ed Stevens says:

    Thanks – that seemed to fix it. Only issue is now when I post something to Stumbleupon I get around 800 hits per post (lucky me) but it’s crashing my server. This is the main error – /wp-admin/admin-ajax.php – I’m trying to isolate the plugin that’s causing it and I read somewhere that WP Popular Posts encounters this – wanted to check if this could also be an error with KR. Thanks.

  15. Ed Stevens says:

    Turns out not to be KR – made adjustments and it’s working like a charm – great plugin! Thanks.

  16. Ovidiu says:

    just wanted to mention that there is a better alternative than wp-postviews available. its smaller and cooler if you are willing to edit your theme a little, check here: http://devpress.com/blog/entry-views-extension/

    Besides that I am giving your plugin the first try and I am missing one option: the widget lets me set up quite a lot of options but the inner part of the widget, I don’t have an option for? i.e. my theme displays widgets as ….
    your plugin only lets me set up the first two parts, the Widget container type and the widget header type – would you mind adding an option for the rest please?

    also, I am not in need of real-time stats so I don’t want to set up a real cron job. would you mind giving maybe an example on how to set this up with wp_cron maybe? that would be then dependent on visitors, and might to run if there are none but that is fine for me :-)

    oh, and how about an admin widget? I mean for the back end so the admin sees some stats? i.e. some detailed admin page with overall stats, i.e. freshness of results, etc…
    kinda like the popularity plugin did :-)

    otherwise: great plugin!

    • admin says:

      Ovidiu, thanks for the ideas for improvement of the plugin. I’ll take a look at the widget. I’m not sure if you’d put some code to show how your theme displays widgets. If so the code doesn’t show. Try posting it again. You’ll probably have to use the named character entity references in place of the tag indicators (the greater than and less than signs)

      As for the cron job, the wp scheduler did not work when its use was initially attempted, hence the need for the cron script. If you won’t set up the cron job it’s not advised that you use the KR widget because right now it is slowing down sites considerably without the cron job. Hope to figure out a more efficient way that makes the need for the cron job unnecessary altogether but in the mean time it’s needed to ensure the widget does not slow your site.

  17. Ovidiu says:

    my other comments is awaiting moderation and I forgot to add one more question: why create an extra admin link for your plugin if it has only one page? you could put it in the menu under the usual setting.

  18. Ovidiu says:

    a) yes, there was some code missing… what I was saying is that your widget allows me to define the widget container but not the structure inside. i.e. it creates div tags inside div tags and my theme and a lot of themes I came across use the div container to encapsulate the widget but then use ul and li tags…

    it would be great if we could chose the inner structure too. if your plugin would spit out ul li inside the div it would already be properly styled for my theme, instead of me having to go code some css to accommodate its output :-)

    b) oh and is there really a need for this plugin to have its own top-level menu?

  19. Ovidiu says:

    the widget seems to ignore the “Display popularity graph?” setting – is this just me or a bug? For me the widget is always showing the graph…

  20. Ovidiu says:

    hello, are there any news on the questions I raised above?

  21. admin says:

    Plugin update released. Should fix issues with widget style. Added options for widget before and after and title before and after.

    As for the graph being ignored in the widget, it doesn’t appear to be a problem this side. Changes you make in the dashboard options won’t show immediately because the widget is being stored in the wp options table to speed things up. So only when the cron runs and updates the widget will you be able to see your changes. If this isn’t the problem let me know and I’ll check again to see if I’m missing something.

  22. says:

    Awesome, thanks!

  23. angus says:

    hi there, i get this message:

    For the KR popular posts sidebar widget to work efficiently and also for the sidebar widget to count retweets and facebook likes you must set up a cron job and enter: wget -O /dev/null http://www.xxxxxxxxx.xx?krppcron=1 into the command field. You should set it to run hourly for more up-to-date results.

    and i’ve got no idea about how to go fixing it, any help would be much appreciated!
    thanks.

  24. Imran says:

    Hi,

    Getting this error on the site… Warning: array_unique() [function.array-unique]: The argument should be an array in /xxxx/XXXXXX/public_html/wp-content/plugins/knowledgering-post-popularity-graph-tool/knowledgeringppgt-functions.php on line 24

    Would required you assistance…

    Thanks and regards
    imran

  25. Imran says:

    Hi Getting this error while upload the picture..

    Fatal error: Call to undefined function get_post_thumbnail_id() in /home/blog/public_html/wp-admin/includes/media.php on line 1336

    Requried your assistance in solving the issues..

    Thanks and regards

    • admin says:

      Imram, this error is not related to the popularity graph tool. You should try posting on the WordPress support site for that one.

  26. Imran says:

    I am able to upload the image only if I disable the plugin, once I activate the plugin I get this error on uploading to the image to the blog post…

    I have looked around every where but could not find the answer to this issue. However I am using the Thesis Theme in all my blogs but did not face any problems till date..

    • admin says:

      Thanks for the additional information. Don’t really know what could be going on off the top of my head but will be updating the plugin shortly to fix the particular error message you reported.

  27. Marco says:

    Hi,
    I followed all the instructions, but I think there are some problems, because it always displays “retweets 0%” and “Facebook Likes 0%”. Can you tell me what could be the problem? I use AddThis and Qtranslate plugin, might be the cause of their problem?
    I also tried to manually run “$facebookEndpoint” (‘”.$url.”‘)&format=json) replacing the variable $url with the page url, this way, if I do it manually, is working and gives the correct count of Facebook Likes.

    Thanks

    • admin says:

      Hi, do you get any messages in email from the cron job? It might contain information that helps identify if the facebook and retweet part of the jobs are getting completed or if they are timing out.

  28. Marco says:

    Thank you for your quick reply.
    The message is :
    –2011-10-29 11:30:01– http://www.*****.it/?krppcron=1
    Resolving www.*****.it… 2**.1**.1**.1**
    Connecting to www.*****.it|2**.1**.1**.1**|:80… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: unspecified [text/html]
    Saving to: `/dev/null’

    0K ………. ………. ………. …….. 337M=0s

    2011-10-29 11:32:27 (337 MB/s) – `/dev/null’ saved [39266]

  29. Marco says:

    Thanks again for your reply.
    I clarify that everything works properly, except for the display of Facebook Likes and Retweet.
    I analyzed the code page “knowledgeringppgt-functions.php” and I think I understood the problem. I noticed that “$kppgmostfbls” is searching for value “meta_key=’krppfacebooklikes’” which, checking in my database and
    in the table “wp_postmeta”, does not exist. I’m having the same problem with “$kppgmostretweets” and the value “meta_key=’krppretweets’”.
    What can I do, can I manually create them in my database?

    • admin says:

      That would be task consuming if you have a lot of posts. If the values aren’t there then it means the cron completed but without actually processing the retweets and facebook likes. Probably it timed out but you still got the message “Ok” as if everything ran through. Usually if the cron breaks because it times out trying to get the facebook and retweet counts you get a message from cron that shows it didn’t actually complete. So I’m thinking it never executes those two processes or else something else is out of order possibly in the script functions themselves. You should probably just turn off the facebook likes an retweets for now until I’ve had a chance to check or if you want to keep checking yourself let me know if you find anything.

  30. Henry says:

    Hi!

    Was wondering is it possible to use your plugin in a page?

    I made a page template and pasted this code in it

    But nothing shows on the page. Anything more to add in the code?

    Or is the plugin just for use in sidebars?

    Thanks in advance!

    • admin says:

      You can use it in a page. All the pages on this site are using if you want to see an example. Did you also try using the option to let the plugin automatically show the post popularity data in the page. You can try that if the code is not working for you but it should be working. Make sure you’ve copied it exactly.

  31. Henry says:

    Thanks for the quick answer. In the settings I had “I will manually insert function code where I want post popularity graph to display ” option checked and then the code in the page temp.

    Tried changing to “Use content filtering to append popularity graph” but still nothing showing.

    Is it so that you can use the plugin either in the sidebar widget or in a page.not both?
    Because at the moment there´s also a sidebar widget active.

    I do have the code in the temp correctly.

    I´m still learning wp and php and might be missing something really simple..
    Here´s the code i have in the temp at the moment.

    Hope you can help! Great plugin you have made.

    • admin says:

      Hi, you can use it both in the sidebar and in the posts. It looks like I have it restricted to showing in post pages only, not in static pages.

  32. Henry says:

    Ok. Thanks! That settles it then. :) There´s an idea for you if it´s not a huge modification.
    That you could use the plugin in static page showing the populars post from 1-xxx for example top 10 posts. Still a great plugin! :)

    • admin says:

      Yes, I’ll definitely make this optional. You should see it in next update. At least I will make it optional to include it in pages, but probably will be in the same format as the posts for now.

      Update: I’m not sure why I had restricted it to post pages so once I go in to try to update it, if it turns out there was a reason for restricting it in the first place that will affect above statement. There might have been a reason for restricting it to posts. Can’t remember right now so don’t hold me to above promise.

  33. alex says:

    Hi, I have a problem with the widget. I use it on my WP 3.3.1 blog and the widget won’t display, but breaks the code so that the the following widgets and footer won’t be loaded. Displaying the popularity on posts works though. We have quite a lot posts on our blog, maybe too many for the widget?

  34. mehtab says:

    Hi
    Great plugin and i love it..really what i look for..I have one question i used version 3.3.1 and i have checked the option “Show itemized popularity graphs under main graph” but only showing the popularity result…….I want to display individual result like rating, tweet,comment etc……..plz give me suggestion.

  35. mehtab says:

    this can be viewed in a page under the post thumbnails….all posts displaying perfectly also the popularity result is shown but not individually….

    • admin says:

      Hi, I meant if you can provide a link so I can take a look at the page. You can note in your reply comment if you want the comment deleted so the link is not published.

  36. mehtab says:

    http://creativedemos.net/2012/tattvote_wp/?page_id=68
    sorry check this one instead of first link

    • admin says:

      Not sure what would cause the failure on pages. Looks like it’s working just fine with posts, which is really what it was built around. Looks like it has some shortcomings when used on pages. I’ll try to see if I can take a look at the code some time in the next couple weeks or so. Sorry I can’t look into it sooner.

  37. mehtab says:

    ok thanks for the co-operation…but please this warnnig appear in every post..

    Warning: array_unique() [function.array-unique]: The argument should be an array in D:\wamp\www\tattvote_wp\wp-content\plugins\knowledgering-post-popularity-graph-tool\knowledgeringppgt-functions.php on line 24

    Warning: Wrong parameter count for max() in D:\wamp\www\tattvote_wp\wp-content\plugins\knowledgering-post-popularity-graph-tool\knowledgeringppgt-functions.php on line 25

  38. mehtab says:

    just check this syntax in ” knowledgeringppgt-functions.php” file for while…I really need this bugs to fixed now…will be waiting your response…

    • admin says:

      I cannot go into the code to fix that today. I’m sorry, but the plugin has not been on the priority list for quite some time as you can see by the last updated date. I can make every effort to look at this in the next couple of weeks as time allows. In the meantime there are many other popular posts plugins that are far more widely used that this one. I would recommend you to try one of those in the meantime then check back in a couple of weeks for an update that at least addresses the array_unique() warning.

  39. mehtab says:

    Its ok…..I have already checked more plugins but they have’nt those features. they only shows the popular links on sidebar not showing the results of rated popularity and comments result…. if you know any plugin such kinds of features please inform me about that…..bye the way good work on such features….

    • admin says:

      Thank you mehtab. Unfortunately I don’t know of any other plugin that does exactly what I aimed to do with this one when I developed it. With the plugin being so little used it’s been hard to justify trying to upkeep it and the focus right now is on other things; but I will make every effort to get the array_unique issue resolved as soon as possible. It might take longer to sort out the problem you’re having using it on pages. The plugin was really built to use with posts and not pages.

      Some things you should consider:

      Some people who tried the plugin had problems with the facebook and retweets features and also with the sidebar widget. The sidebar widget in particular was taking a toll on their server resources. So if your site is very big you might want to keep an eye on whether the plugin is slowing it down or not. It has been known to slow down sites with numerous posts because of the toll that the facebook and twitter processes were taking. If you’re on inexpensive/shared hosting and your site is very big, it is recommended that you turn the twitter and facebook features off if you notice your site is slowing down significantly.

  40. mehtab says:

    Thanks admin…..For now i have comment out those two line in ” knowledgeringppgt-functions.php” file and it disappear now..but the plugin is still working well…Actually I want two features rating and comment popularity that it…i think the array_unique() issue with views popularity…….So keep it up to date when you have time….

  41. Rahim says:

    i changed wp_gdsr_rating_article into wp_gdsr_rating_multi in order to get the the multi-set rating form gdstar rating but that doesn’t seem to work?
    Help? Can you please tell me what I did wrong?

Voice your thoughts

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree