Current Mood
Plugin Name: Current Mood
Description: Adds a “Current Mood” icon to each post at end of post context. Unzip moods into wp-content/plugins/moods and activate plugin. Use the dropdown option to select a current mood.
Version: 1.2.2
Plugin URI: http://kouloumbris.com/plugins/current-mood/
Author: Constantinos Kouloumbris
Author URI: http://kouloumbris.com/
Adds a “Current Mood” text with a mood image you choose from a list and a either a custom message or the image name. Unzip or untar the contents of the archive placing the file named current-mood.php into the wp-content/plugins folder and either the included folder named moods or your own moods into a folder by the name moods under the wp-content/plugins folder.
Note: If you change the mood images from .gif to another extension go into the plug-in source code file (that’s the current-mood.php file) and change the variable $imgtype = '.gif'; to whatever the extension of your images is, but remember all your images must be the same extension. If an image doesn’t exist and you have an image named noicon then that will be shown instead.



















February 23rd, 2007
I’m getting the following error:
Warning: getimagesize(local/home/*********/*********/wp-content/plugins/moods/.jpg): failed to open stream: No such file or directory in local/home/*********/*********/wp-content/plugins/current-mood/current-mood.php on line 73
I’ve checked to make sure that the correct file extention is specified, and that the files are uploaded to the proper directories (current-mood.php plugin in plugins/current-mood/ directory and moods in the plugins/mood/ directory), but for some reason the plugin doesn’t seem to work.
I’ve also made sure there is a noicon image file as well, with the correct file extention.
I’ve tried uninstalling and reinstalling the plugin and for some reason it still doesn’t work. Any ideas?
March 6th, 2007
I do have the same error message which says:
I have tried to make the empty image solution but alas, nothing was there and the dropdown menu was empty too.
Jonathan, I tried your replacements and I had to reinstall the plugin again
Any Help???
July 30th, 2007
I encountered the same problem and I did the following modifications, which made my blog working.
1. The root folder is not being read. So include the root folder in the directory path.
2. we need to have an image with no name. so that we don’t get this error.
Then I got this plugin working well.
December 20th, 2007
How can we have an image with no name? I just cant leave the space before .gif blank!
March 27th, 2008
[quote comment="29136"]How can we have an image with no name? I just cant leave the space before .gif blank![/quote]
You should name the image blank.jpg
March 30th, 2008
Thank you for this
I was just wondering how can I put the “Current mood” in the top part of my post?
June 1st, 2010
Okay, I am getting this error
Warning: getimagesize(/wp-admin/post-new.php/wp-content/plugins/moods/.gif) [function.getimagesize]: failed to open stream: No such file or directory in /home/randi/public_html/nerdiva/wp-content/plugins/current-mood.php on line 73
Something is telling me that if I can just get it to stop trying to go through “/wp-admin/post-new.php/” that it will work. If it just goes to “/wp-content/plugins/moods/.gif” it will work.
How can I take “/wp-admin/post-new.php/” out?
June 1st, 2010
Hi,
Basically you will have to change the following line around like 73 like the error says.
If you go to current-mood.php at approximately line 66 you should see the following code.
$curpath = rtrim($_SERVER['PHP_SELF'], "wp-admin/post.php");and you should change it to the following.
$curpath = rtrim($_SERVER['PHP_SELF'], "wp-admin/post-new.php");After you do that everything should sort it self out.
If you have more problems, let me know.