{"id":3652,"date":"2008-11-10T00:41:18","date_gmt":"2008-11-10T00:41:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/poker-cards\/"},"modified":"2011-05-20T01:55:38","modified_gmt":"2011-05-20T01:55:38","slug":"poker-cards","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/poker-cards\/","author":33415,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.6","stable_tag":"trunk","tested":"3.x","requires":"","requires_php":"","requires_plugins":"","header_name":"wrp-cards","header_author":"Fumseck","header_description":"","assets_banners_color":"","last_updated":"2011-05-20 01:55:38","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.WarRoomPoker.com\/donate.php","header_plugin_uri":"http:\/\/www.WarRoomPoker.com\/wrpcards.php","header_author_uri":"http:\/\/www.WarRoomPoker.com\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":6270,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["wrp-cards-screenshot.jpg"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[14240,6304,133,49784,12176],"plugin_category":[50],"plugin_contributors":[92192],"plugin_business_model":[],"class_list":["post-3652","plugin","type-plugin","status-closed","hentry","plugin_tags-cards","plugin_tags-graphic","plugin_tags-image","plugin_tags-playing","plugin_tags-poker","plugin_category-media","plugin_contributors-fumseck","plugin_committers-fumseck"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/poker-cards.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This is a simple plug-in to display playing cards in a more visual fashion.\nIt is looseley based on Chris Halverson's \"pokerhand\".<\/p>\n\n<p>Many people will describe poker hands by writing something like \"AsKh\". Using \nthe wrp-cards plug-in, you can easily display the playing cards in a graphical way\nby prefixing the cards by a ':'. Ex. :As :Kh.<\/p>\n\n<p>To view wrp-cards in action go to:\nhttp:\/\/www.WarRoomPoker.com\/wrpcards.php<\/p>\n\n<p>As an option, you can use the \"normal\" card color (red and black) or you can use\n4 color cards:\nDiamond : Blue\nHeart   : Red\nSpade   : Black\nClub    : Green<\/p>\n\n<h3>DOWNLOAD<\/h3>\n\n<p>Download the file wrp-cards.zip here:\nhttp:\/\/www.WarRoomPoker.com\/wrpcards.php<\/p>\n\n<h3>USAGE<\/h3>\n\n<p>Just prefix the card that you want with a \":\".\nExamples:\n:Ad - Ace of Diamonds\n:Kc - King of Clubs\n:Qs - Queen of Spades\n:Jh - Jack of Hearts\n:Th - Ten of Hearts\n:9h - 9 of Hearts\n:8h - 8 of Hearts\n:7h - 7 of Hearts\n:6h - 6 of Hearts\n:5h - 5 of Hearts\n:4h - 4 of Hearts\n:3h - 3 of Hearts\n:2h - 2 of Hearts\n:00 - display the backcard<\/p>\n\n<p>By default, the plug-in uses 4 color cards (blue for diamond and green for clubs).<\/p>\n\n<p>If you do not wish to use 4 color cards you must modify the function replace_card located in the wrp-cards.php file:\n$use_4_color = 'n';<\/p>\n\n<h3>GNU LICENSE<\/h3>\n\n<p>Copyright 2005  Fumseck  (email : Fumseck [insert.at.here] WarRoomPoker.com)<\/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\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Optional, modify $use_4_color = 'n'; if you want to use normal cards.<\/li>\n<li>Copy the wrp-cards folder to your wp-content\/plugins directory. <\/li>\n<li>Make sure that the \"cards\" folder is in the wrp-cards folder. <\/li>\n<li>Log into the administration area of WordPress and activate the plugin.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>Version 1.0 \nBeta testing<\/p>\n\n<p>Version 1.1\nInitial release version<\/p>\n\n<p>Version 1.2\nCreated the 4 color deck<\/p>\n\n<p>Version 1.3\nAdded class=\"wrp-cards\" to the images. With this you can easily control the way the cards are displayed within your CSS stylesheet.\nFor example, if you wanted to display the cards 35% lower on the line this is what you would use\nimg.wrp-cards { vertical-align: -35%; }<\/p>\n\n<p>Version 1.4\nAdded the possibility to display a \"backcard\". You just have to use the code :00 to display it. This was suggested by Tomas from www.blogaloo.com.\nThanks Tomas!<\/p>\n\n<p>Version 1.5\nModified the Ad.gif and Ad_e.gif. Some spam filter where filtering this image out. I guess it's because the filter reads Ad.gif and Ad_e.gif as an ad and it's being filtered out.\nI patched it non elegantly, I changed the Ad.gif and Ad_e.gif to xyz.gif and xyz_e.gif. It's not pretty, but it works...\nI should have rolled out that patch a while ago...\nThanks Nside for tinkering with it and letting me know what was happening.<\/p>\n\n<p>Version 1.6\nThe path to the cards directory was hard coded in the plug-in and this caused problems with people who had their wordpress located somewhere else than the root dir.\nVersion 1.6 now uses WP_PLUGIN_URL to determine the location of the cards.<\/p>","raw_excerpt":"This is a simple plug-in to display playing cards in a more visual fashion.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=3652"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fumseck"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3652"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3652"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3652"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3652"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3652"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}