{"id":5821,"date":"2009-06-09T19:24:19","date_gmt":"2009-06-09T19:24:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/myc4-import\/"},"modified":"2009-07-20T16:58:32","modified_gmt":"2009-07-20T16:58:32","slug":"myc4-import","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/myc4-import\/","author":169508,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.6","stable_tag":"0.6","tested":"2.8","requires":"2.7","requires_php":"","requires_plugins":null,"header_name":"MYC4 importer","header_author":"Mihai Secasiu","header_description":"","assets_banners_color":"","last_updated":"2009-07-20 16:58:32","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/microfinance.fm\/myc4-importer","header_author_uri":"http:\/\/patchlog.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1387,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"0.1":{"tag":"0.1","author":"mihai","date":"2009-06-09 19:25:11"},"0.2":{"tag":"0.2","author":"mihai","date":"2009-07-07 14:24:12"},"0.3":{"tag":"0.3","author":"mihai","date":"2009-07-07 14:53:00"},"0.4":{"tag":"0.4","author":"mihai","date":"2009-07-08 18:52:00"},"0.5":{"tag":"0.5","author":"mihai","date":"2009-07-20 16:36:16"},"0.6":{"tag":"0.6","author":"mihai","date":"2009-07-20 16:58:32"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.4","0.5","0.6"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[262246],"plugin_tags":[44857],"plugin_category":[],"plugin_contributors":[92318],"plugin_business_model":[],"class_list":["post-5821","plugin","type-plugin","status-publish","hentry","plugin_section-dashboard-widgets","plugin_tags-myc4-microfinance","plugin_contributors-mihai","plugin_committers-mihai"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/myc4-import.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>\"MYC4 is an online marketplace that connects you directly with African\nentrepreneurs, who lack capital to develop their businesses\" - From MYC4 About \npage<\/p>\n\n<p>This plugin gives you the ability to show your blog readers the businesses \nin which you invested using the MYC4 platform.<\/p>\n\n<h3>Upgrade<\/h3>\n\n<p>If you want to upgrade from version 0.4 and bellow you will have to move the \nImages and Resources folders from the plugin directory to the wp-content\/myc4 \ndirectory before you upgrade. This way the images are saved.<\/p>\n\n<p>If you didn't read this before you upgraded you will have to delete the \nimported posts and reimport otherwise the images in those posts will not be \navailable anymore.<\/p>\n\n<!--section=installation-->\n<p>The \"MYC4 Import\" plugin can be installed by following this steps:<\/p>\n\n<pre><code>1. Unzip \"myc4-import\" archive and put all files into your \"plugins\"\nfolder (\/wp-content\/plugins\/) or to create a sub directory into the\nplugins folder (recommanded), like \/wp-content\/plugins\/myc4-import\/\n\n2. Make sure the webserver can write files and create folders inside\nthe folder wp-content\/myc4\n    on Unix this should do: \n    mkdir wp-content\/myc4 \n    chmod 777 wp-content\/myc4 \n\n3. Activate the plugin\n\n4. Inside the Wordpress admin, go to Settings &gt; MYC4 import, adjust the \nparameters according to your needs, and save them.\nThe format for your MYC4 feed link is: \nhttps:\/\/www.myc4.com\/RSS\/UserBidsRSS.ashx?c=&lt;UserID&gt;\nTo find your UserId view your investor profile from \nhttps:\/\/www.myc4.com\/Invest\/Investors and look at the last number in the \nurl, that's your MYC4 id\n\nThe templates for the post title and content use the values storred in the\n$b array. \nHere are the possible values you can use:\n&lt;?=$b['name']?&gt;  - name on Myc4 profile\n&lt;?=$b['smallimg']?&gt; - full link to the avatar image ( locally hosted ) \n&lt;?=$b['cimg']?&gt; - full link to country flag image ( locally hosted )\n&lt;?=$b['largeimg']?&gt; - full link to large image ( locally hosted )\n&lt;?=$b['cname']?&gt; - country name\n&lt;?=$b['shortDesc']?&gt; - short description, the one you can see on the loan \npage\n&lt;?=$b['longDesc']?&gt; - long description, this is the one from the \n\"Background\" \npage\n&lt;?=$b['largeimg']?&gt; - the first large image from the \"Background\" page. \n&lt;?=$b['amount']?&gt; - bid amount\n&lt;?=$b['irate']?&gt; - interest rate\n&lt;?=$b['link']?&gt; - link to profile page\n\n\n5. click Import and Publish Bids to fetch your active bids from myc4\nand import them as posts in your blog.\n<\/code><\/pre>\n\n<!--section=changelog-->\n<h4>0.5<\/h4>\n\n<ul>\n<li>changed the data dir to wp-content\/myc4 insead of the plugin dir so that \nplugin upgrades would not delete the data<\/li>\n<li>integrated with twitter tools so now you can chose to send the new myc4 \nprofiles to twitter or not.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>added dashboard widget with rss feeds from http:\/\/microfinance.fm<\/li>\n<li>bumped stable version number<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>removed some debugging text<\/li>\n<li>added some description about the variables that can be used in the post title\nand body templates<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>modified to work with the new myc4 site layout<\/li>\n<li>added details about the MYC4 rss link<\/li>\n<\/ul>","raw_excerpt":"MYC4 bid importer","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5821","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=5821"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mihai"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5821"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5821"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5821"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5821"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5821"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}