Version 0.9 has been released.
Post in Clouds is Wordpress plugin that will display your blogs most popular posts in Tag Cloud anywhere on your blog. Plug-in in is inspired by Digg’s cloud view.
Most popular posts are found by number of unique views post has got.
Installation
To install Post in Clouds simply Download it and then upload to Wordpress Plugin directory. After you enable it in plugin section you are ready to go.
Edit header.php (in your templates dir) and paste fallowing lines at the very beginning of the file (must be on the first line, not even a blank space should be before it or you will get Output already started error).
session_start();
if (function_exists('countPostViewsX')) { countPostViewsX ();}
This will count all views your posts get.
Now place fallowing code anywhere where you wish to display Cloud with most popular posts:
if (function_exists('cloudOutput')) {
couldOutput($limitX=10,$min_font_size = 9,$max_font_size = 26);
}
You can change options how ever you want. $limitX is number of posts in cloud and font size is in pixels.
Simple right? :)
Demo can be found on this page just above comments section.
TODO
- Write decent readme.txt
- Make it possible to determine post popularity by number of comments it got
Well thats about it drop me a comment on how do you like it.
November 26th, 2006 at 1:11 pm
[...] Post in Clouds plugin just got better and went up one version :). [...]
December 19th, 2006 at 8:32 pm
In your second code box, you’ve typo’d the function call. It reads “couldOutput(…)”, but should read “cloudoutput(…)”. :)
February 3rd, 2007 at 6:10 pm
Hi,
I found your plugin and I would install it in my blog. Unfortunately, I can’t do it.
- I downloaded and uploaded it to Wordpress Plugin directory.
- I edited “header.php”
… and this error appears :
Warning: Cannot modify header information – headers already sent by
(output started at
/homepages/24/d180675309/htdocs/wp-content/plugins/clouds.php:132) in
/homepages/24/d180675309/htdocs/wp-includes/pluggable-functions.php on
line 270
Could you explain me very clearly what to do ? PHP is difficult for
me… Thanks a lot
Sorry for my english, I’m french !
Cordially
Stephanie
February 9th, 2007 at 8:46 am
would you be so kind to make a FAQ for dummy’s ? i uploaded the file.phps but nothing happens. then renamed the .phps to php and my site was all fucked up.
February 13th, 2007 at 1:05 pm
when i’m installing the plugin ( phps to php ) i see the code in the plugin list and not a activate code :(
February 20th, 2007 at 11:20 am
Activating the plugin
Problem might be in comments or in removed
Check to see if there is open
If that doesn’t work try removing comments from beginning of the postInClouds.php file.
PS
sorry for late reply but I have been very very busy lately, ah too much work to be done.
April 22nd, 2007 at 10:00 pm
Thank You