{"id":11859,"date":"2011-01-22T20:45:09","date_gmt":"2011-01-22T20:45:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/smugbuy\/"},"modified":"2012-01-12T01:28:03","modified_gmt":"2012-01-12T01:28:03","slug":"smugbuy","status":"publish","type":"plugin","link":"https:\/\/sk.wordpress.org\/plugins\/smugbuy\/","author":7530993,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.5","stable_tag":"1.1.5","tested":"3.3.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"SmugBuy","header_author":"Chris Martino","header_description":"","assets_banners_color":"","last_updated":"2012-01-12 01:28:03","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/chrismartino.com\/smugbuy","header_plugin_uri":"http:\/\/chrismartino.com\/smugbuy","header_author_uri":"http:\/\/chrismartino.com","rating":1,"author_block_rating":0,"active_installs":10,"downloads":4087,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1.5":"<p>Now compatible with earlier versions of PHP!<\/p>","1.1.4":"<p>Supports SmugMug&#039;s new SEO enhanced URLs.<\/p>","1.1.3":"<p>Support options now in the admin screen!<\/p>","1.1.2":"<p>Open your &quot;buy&quot; links in a new window!<\/p>","1.1.1":"<p>Customize the links using CSS!<\/p>","1.1":"<p>Display the photo above your &quot;buy&quot; link, and also insert gallery &quot;buy&quot; links!<\/p>","1.0.1":"<p>Simplifies the user definable options in the administration panel.<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566888","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1566888","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566888","resolution":"1","location":"plugin"}},"screenshots":{"1":"The administration panel.","2":"Example post.","3":"Post editor example."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[57848,10355,26179,2248,8191],"plugin_category":[43,45,50],"plugin_contributors":[93437],"plugin_business_model":[],"class_list":["post-11859","plugin","type-plugin","status-publish","hentry","plugin_tags-photograh","plugin_tags-photographer","plugin_tags-photographs","plugin_tags-photography","plugin_tags-smugmug","plugin_category-customization","plugin_category-ecommerce","plugin_category-media","plugin_contributors-chrismartino","plugin_committers-chrismartino"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/smugbuy.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/smugbuy\/trunk\/screenshot-1.png?rev=1566888","caption":"The administration panel."},{"src":"https:\/\/ps.w.org\/smugbuy\/trunk\/screenshot-2.png?rev=1566888","caption":"Example post."},{"src":"https:\/\/ps.w.org\/smugbuy\/trunk\/screenshot-3.png?rev=1566888","caption":"Post editor example."}],"raw_content":"<!--section=description-->\n<p>In January 2011 SmugMug introduced a new feature that enabled users to add a photo directly to the SmugMug shopping\ncart from external websites.  This plugin parses the standard SmugMug photo page and automatically creates a custom\ntailored \"buy\" link to add to your WordPress posts and pages via a shortcode.<\/p>\n\n<p>Visit the <a href=\"http:\/\/chrismartino.com\/smugbuy\/\">SmugBuy homepage<\/a> for more information on how to incorporate the plugin into your blog.<\/p>\n\n<p>For more information on SmugMug head to <a href=\"http:\/\/www.smugmug.com\">www.smugmug.com<\/a>.<\/p>\n\n<h3>Donations<\/h3>\n\n<p>To support this plugin and it's development, please consider <a href=\"http:\/\/prints.chrismartino.com\/buy\/12948111_n28si\">purchasing a fine art print<\/a> from me.  Prints start at $10 USD and will look great\ndisplayed on your wall or desk.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Make sure you have printing enabled in your gallery settings on SmugMug.<\/li>\n<li>Upload <code>smugbuy.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the <em>Plugins<\/em> menu in WordPress.<\/li>\n<li>Edit the SmugBuy options through the <em>Settings<\/em> menu in WordPress.<\/li>\n<li>Place <code>[smugbuy photo=\"&lt;smugmug photo url&gt;\"]<\/code> or <code>[smugbuy gallery=\"&lt;smugmug gallery url&gt;\"]<\/code> in the post or page where you'd like your \"buy\" link to show up.<\/li>\n<\/ol>\n\n<p>Example (Photo w\/o display):<\/p>\n\n<pre><code>[smugbuy photo=\"http:\/\/prints.chrismartino.com\/Galleries\/ForYourWall\/12948111_cLRpFG#!i=919177302&amp;k=auTM7\"]\n<\/code><\/pre>\n\n<p>Example (Photo w\/ display):<\/p>\n\n<pre><code>[smugbuy photo=\"http:\/\/prints.chrismartino.com\/Galleries\/ForYourWall\/12948111_cLRpFG#!i=919177302&amp;k=auTM7\" display=\"yes\"]\n<\/code><\/pre>\n\n<p>Example (Gallery):<\/p>\n\n<pre><code>[smugbuy gallery=\"http:\/\/prints.chrismartino.com\/Galleries\/ForYourWall\/12948111_cLRpFG\"]\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt>I recently upgraded my SmugBuy plugin, however some of the options are missing.  What do I do?<\/dt>\n<dd><p>Try deactivating and reactivating SmugBuy from the <em>Plugins<\/em> administration screen.<\/p><\/dd>\n<dt>How do I customize the SmugBuy links using CSS?<\/dt>\n<dd><p>First, you must enable the use of <code>smugbuy.css<\/code> in the SmugBuy settings screen.  Once enabled edit <code>smugbuy.css<\/code> in the <em>Plugins<\/em> editor screen.<\/p><\/dd>\n<dt>Why aren't my SmugBuy links generating properly?<\/dt>\n<dd><p>Sometimes using the visual editor can create problems with SmugBuy.  If you're using the visual editor make sure the SmugMug links don't get linkified.  If they do, click on the <code>unlink<\/code> icon on the toolbar, or press <code>alt-shift-a<\/code>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>1.1.4 used a PHP function that was only available in PHP 5.3 and above.  This version is compatible with PHP 5.0 and greater.  An upgrade isn't necessary if you're running PHP 5.3 or higher.<\/li>\n<li>Code cleanup.<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>SmugMug changed the URL structure to improve SEO.  This version of SmugBuy is compatible with the new URLs.  It is also backward compatible with the old style URLs.<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Added some support options in the admin screen.<\/li>\n<li>Verified compatibility with WordPress 3.3.1.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Added option to open the \"buy\" link in a new window.<\/li>\n<li>Verified compatibility with WordPress 3.1.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Added the ability to customize the links using a css file.  The feature is disabled by default and can be enabled in the SmugBuy options panel.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added gallery support.<\/li>\n<li>Added the ability to display the image along with the \"buy\" link.<\/li>\n<li>Added \"Settings\" link on the plugin page.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Changed method for obtaining the smugmug url, thus elimating the \"smugbuy_url\" option.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"A plugin to automatically insert SmugMug &quot;buy&quot; links into wordpress posts and pages using a shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11859"}],"author":[{"embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/chrismartino"}],"wp:attachment":[{"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11859"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11859"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11859"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11859"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11859"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}