{"id":1484,"date":"2005-05-02T02:12:54","date_gmt":"2005-05-02T02:12:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/cricket-moods\/"},"modified":"2008-12-11T05:41:30","modified_gmt":"2008-12-11T05:41:30","slug":"cricket-moods","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/cricket-moods\/","author":5993,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.7.2","stable_tag":"3.7.2","tested":"2.7","requires":"2.6","requires_php":"","requires_plugins":"","header_name":"Cricket Moods","header_author":"Keith \"kccricket\" Constable","header_description":"","assets_banners_color":"","last_updated":"2008-12-11 05:41:30","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/kccricket.net\/projects\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/cricket-moods\/","header_author_uri":"http:\/\/kccricket.net\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":14716,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.1.0","1.1.1","2.0","3.0","3.1","3.2","3.3","3.4","3.5","3.6","3.7","3.7.1","3.7.2"],"block_files":[],"assets_screenshots":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1566825","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566825","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1566825","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566825","resolution":"1","location":"plugin"}},"screenshots":{"1":"An example of a blog post with moods as the reader sees it.","2":"A view of the \"Write Post\" screen with the selectable moods.","3":"The options panel for administrators.","4":"The Mood management panel."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[683,19063,86],"plugin_category":[],"plugin_contributors":[90266],"plugin_business_model":[],"class_list":["post-1484","plugin","type-plugin","status-publish","hentry","plugin_tags-meta","plugin_tags-mood","plugin_tags-post","plugin_contributors-kccricket","plugin_committers-kccricket"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cricket-moods.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/cricket-moods\/trunk\/screenshot-1.png?rev=1566825","caption":"An example of a blog post with moods as the reader sees it."},{"src":"https:\/\/ps.w.org\/cricket-moods\/trunk\/screenshot-2.png?rev=1566825","caption":"A view of the \"Write Post\" screen with the selectable moods."},{"src":"https:\/\/ps.w.org\/cricket-moods\/trunk\/screenshot-3.png?rev=1566825","caption":"The options panel for administrators."},{"src":"https:\/\/ps.w.org\/cricket-moods\/trunk\/screenshot-4.png?rev=1566825","caption":"The Mood management panel."}],"raw_content":"<!--section=description-->\n<p>Cricket Moods is a flexible \"mood tag\" WordPress plugin.  It allows an author to\nadd one or more \"moods\" to every post.  Each mood can be associated with an\nimage file.  The result would be that the author could have an animated happy\nsmiley face next to the words <em>I'm Happy!<\/em> for every post she wishes.<\/p>\n\n<p>Cricket Moods presents you with a list of available moods when you go to create\nor edit a post.  There is no need for you to remember your list of moods.  Using\nan option panel in WordPress' administrative menus, you can rename your moods or\neven change a mood's graphic without modifying every post that uses that mood.<\/p>\n\n<p>Despite this plugin's name and my continual references to \"moods\", this plugin\ncan be used for more than just moods.  For example, instead of displaying your\ncurrent mood, you could give your readers the current weather where you are.\nYou could rename the mood tags to things like \"Sunny\", \"Overcast\", and \"Raining\nCats and Dogs.\"  You could then upload little cloud and sun images and use those\nwith the tags instead of the pre-defined mood smilies.  You could even leave the\ntag text or the tag images blank to have either just text or just images.<\/p>\n\n<p><em>Please note that Cricket Moods will only be receiving critical bug fixes from\nthis point forth (if we're lucky).  I am working on a complete rewrite of the\nplugin called PostBits.  The code for it isn't complete and needs a lot of\nwork.  If you'd like to help, let me know.  Check it out at:<\/em>\nhttp:\/\/code.google.com\/p\/postbits\/<\/p>\n\n<h3>Usage<\/h3>\n\n<p>By default, Cricket Moods will automatically print each post's moods just above\neach post's content.  You may also have it automatically print the mood just\nbelow the post content by changing the appropriate option in the Cricket Moods\noptions panel.<\/p>\n\n<p>Using the \"Moods\" panel under \"Manage\" in the WordPress administrative area, you\ncan add, modify, and delete moods as you see fit.  Leaving the \"Mood Name\" blank\nwill cause Cricket Moods not to display any text with that mood's image for a\npurely pictorial representation of your mood.  Conversely, you can leave the\n\"Image File\" blank and no smilie or other image will be shown with that mood.\nDeleting a mood will also remove any references to that mood from your blog\nposts.<\/p>\n\n<h4>`cm_the_moods()`<\/h4>\n\n<p>If you want your moods to be displayed somewhere other than directly above or\nbelow the content, you must place <code>cm_the_moods()<\/code> somewhere inside The Loop and\ndisable AutoPrint in the Cricket Moods options.  When called with no parameters,\n    cm_the_moods() only prints the mood image followed by the mood name, an\nampersand, and any more moods followed by ampersands.  For example, on a post\nwith the moods \"Happy\" and \"Bored\" it will print:<\/p>\n\n<pre><code>  &lt;img src=\"\/wp-images\/smilies\/icon_happy.gif\" alt=\"Happy emoticon\" \/&gt; Happy\n      &amp;amp; &lt;img src=\"\/wp-images\/smilies\/icon_neutral.gif\" alt=\"Bored emoticon\" \/&gt;\n      Bored\n<\/code><\/pre>\n\n<p>If there are no moods for the current post, it will print nothing.<\/p>\n\n<pre><code>cm_the_moods() can take three parameters:\n\n    &lt;?php cm_the_moods('separator', 'before', 'after'); ?&gt;\n<\/code><\/pre>\n\n<ul>\n<li><code>separator<\/code> (string) Text to place in between multiple moods. Default is <code>' &amp;amp; '<\/code>.<\/li>\n<li><code>before<\/code> (string) Text to place before the first mood. Default is nothing.<\/li>\n<li><code>after<\/code> (string) Text to place after the last mood. Default is nothing.<\/li>\n<\/ul>\n\n<p>A good way to implement this would be:<\/p>\n\n<pre><code>    &lt;?php cm_the_moods(' and ', '&lt;p&gt;My mood is: ', '.&lt;\/p&gt;'); ?&gt;\n<\/code><\/pre>\n\n<h4>`cm_has_moods()`<\/h4>\n\n<p>You can also use <code>cm_has_moods()<\/code> to determine if the current post or a specific\npost has moods associated with it.  It will return true or false accordingly.<\/p>\n\n<pre><code>cm_has_moods() can take one parameter:\n\n    &lt;?php cm_has_moods(post_id); ?&gt;\n<\/code><\/pre>\n\n<ul>\n<li><p><code>post_id<\/code> (integer) The ID of the post you are inquiring about.  Default is the ID of the current post.<\/p>\n\n<p>cm_has_moods() must be used inside The Loop if <code>post_id<\/code> is not provided.<\/p>\n\n<h3>Known Issues<\/h3><\/li>\n<li>Things get a little fuzzy when you change the author of an existing post with\nmood tags.  If the two authors do not have the exact same mood list, the\nassociated moods may seem to unexpectedly change or not show at all.  It is\nrecommended that you disassociate all the moods from a post before changing the\npost's author.<\/li>\n<li>Editing the post of another user will cause <em>that<\/em> user's moods to be\ndisplayed, not yours.  This is an unavoidable feature.<\/li>\n<\/ul>\n\n<h3>Copying<\/h3>\n\n<p>Cricket Moods: A flexible mood tag plugin for the WordPress publishing platform.\nCopyright (c) 2008 Keith Constable<\/p>\n\n<p>This program is free software; you can redistribute it and\/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.<\/p>\n\n<p>This program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.<\/p>\n\n<p>You should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Place <code>cricket-moods.php<\/code> into <code>\/wp-content\/plugins<\/code>.<\/li>\n<li>Activate the Cricket Moods plugin from the \"Plugin Management\" panel of\nWordPress.<\/li>\n<\/ol>\n\n<h4>Upgrading<\/h4>\n\n<p>This version of Cricket Moods does not support upgrading from Cricket Moods 1.x.\nUpgrades from Cricket Moods 2.x are automagic.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Can each user have their own list of moods?<\/dt>\n<dd><p>Yes!  This is a new feature of version 3.0.<\/p><\/dd>\n<dt>Is there a limit to the number of moods I can have?<\/dt>\n<dd><p>Not that I know of.  I certainly didn't program one in.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Cricket Moods is a flexible &quot;mood tag&quot; WordPress plugin.  It allows an author to add one or more &quot;moods&quot; to every post.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=1484"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kccricket"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1484"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1484"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1484"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1484"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1484"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}