{"id":15766,"date":"2011-11-21T11:15:06","date_gmt":"2011-11-21T11:15:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/hacklog-remote-attachment\/"},"modified":"2018-04-23T18:55:52","modified_gmt":"2018-04-23T18:55:52","slug":"hacklog-remote-attachment","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/hacklog-remote-attachment\/","author":8344435,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.2","stable_tag":"1.3.2","tested":"4.9.29","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Hacklog Remote Attachment","header_author":"<a href=\"http:\/\/80x86.io\/\">\u8352\u91ce\u65e0\u706f<\/a>","header_description":"","assets_banners_color":"","last_updated":"2018-04-23 18:55:52","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/80x86.io\/donate","header_plugin_uri":"http:\/\/80x86.io\/?p=5001","header_author_uri":"http:\/\/80x86.io\/","rating":4.8,"author_block_rating":0,"active_installs":700,"downloads":28778,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"4"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.1.2","1.1.3","1.1.5","1.1.6","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.3.0","1.3.1","1.3.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1863153","resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1863153","resolution":"2","location":"plugin"}},"screenshots":{"1":"screenshot-1.png","2":"screenshot-2.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,2264,163,652,1326],"plugin_category":[50],"plugin_contributors":[81087],"plugin_business_model":[],"class_list":["post-15766","plugin","type-plugin","status-closed","hentry","plugin_tags-admin","plugin_tags-attachment","plugin_tags-images","plugin_tags-manager","plugin_tags-thumbnail","plugin_category-media","plugin_contributors-ihacklog","plugin_committers-ihacklog"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/hacklog-remote-attachment.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/hacklog-remote-attachment\/trunk\/screenshot-1.png?rev=1863153","caption":"screenshot-1.png"},{"src":"https:\/\/ps.w.org\/hacklog-remote-attachment\/trunk\/screenshot-2.png?rev=1863153","caption":"screenshot-2.png"}],"raw_content":"<!--section=description-->\n<p>Features: Adds remote attachments support for your WordPress blog.<\/p>\n\n<p>use this plugin, you can upload any files to remote ftp servers(be aware that your FTP server must has Apache or other HTTP server daemon) in WordPress.<\/p>\n\n<ul>\n<li>Support both single user site AND multisite.<\/li>\n<li>support upload files to remote FTP server.<\/li>\n<li>support delete files on remote FTP server.<\/li>\n<li>works just like the files are saved on your local server-_-.<\/li>\n<li>with this plugin,you can move all your local server files to remote server.<\/li>\n<li>after you've uninstall this plugin,you can move remote server files to local server if you'd like to do so.<\/li>\n<\/ul>\n\n<p>For MORE information,please visit the <a href=\"http:\/\/80x86.io\/?p=5001\" title=\"plugin homepage\">plugin homepage<\/a> for any questions about the plugin.<\/p>\n\n<p><a href=\"http:\/\/80x86.io\/?p=4993\" title=\"installation guide\">installation guide<\/a><\/p>\n\n<ul>\n<li>version 1.3.1 fixup thumbnail srcset url with WP 4.5+<\/li>\n<li>version 1.3.0 edit or crop image is working correctly now.<\/li>\n<li>version 1.2.1 fixed the bug when uploading new theme or plugin this plugin may cause it to fail.<\/li>\n<li>version 1.2.0 added duplicated file checking,so that the existed remote files will not be overwrote.<\/li>\n<li><p>version 1.1.0 added compatibility with watermark plugins<\/p><\/li>\n<li><p>1.0.2 \u589e\u52a0\u81ea\u52a8\u521b\u5efa\u8fdc\u7a0b\u76ee\u5f55\u529f\u80fd\u3002\u89e3\u51b3\u5728\u67d0\u4e9bFTP\u670d\u52a1\u5668\u51fa\u73b0\u201c\u5728\u8fdc\u7a0b\u670d\u52a1\u5668\u521b\u5efa\u76ee\u5f55\u5931\u8d25\u201d\u7684\u95ee\u9898\u3002<\/p><\/li>\n<li>1.1.0 \u589e\u52a0\u4e0e\u6c34\u5370\u63d2\u4ef6\u7684\u517c\u5bb9\u6027\uff0c\u4f7f\u4e0a\u4f20\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\u7684\u56fe\u7247\u540c\u6837\u53ef\u4ee5\u52a0\u4e0a\u6c34\u5370<\/li>\n<li>1.2.0 \u589e\u52a0\u91cd\u590d\u6587\u4ef6\u68c0\u6d4b\uff0c\u907f\u514d\u540c\u540d\u6587\u4ef6\u88ab\u8986\u76d6\u3002\u66f4\u65b0\u548c\u5b8c\u5584\u4e86\u5e2e\u52a9\u4fe1\u606f\u3002<\/li>\n<li>1.2.1 \u4fee\u6b63\u5728\u540e\u53f0\u4e0a\u4f20\u4e3b\u9898\u6216\u63d2\u4ef6\u65f6\u7684bug.<\/li>\n<li>1.2.3 \u52a0\u5bc6\u4fdd\u5b58FTP\u5bc6\u7801,\u589e\u52a0\u63d2\u4ef6\u517c\u5bb9\u6027\uff08\u540c\u65f6\u652f\u6301ftp\u6269\u5c55\u65b9\u5f0f\u548csocket\u65b9\u5f0f\u8fde\u63a5\u8fdc\u7a0bFTP\u670d\u52a1\u5668\uff09<\/li>\n<li>1.2.4 \u589e\u52a0\u91cd\u590d\u7f29\u7565\u56fe\u5b57\u6bb5\u68c0\u6d4b<\/li>\n<li>1.2.6 \u589e\u52a0\u5bf9xmlrpc\u652f\u6301(\u652f\u6301\u901a\u8fc7Windows Live Writer \u4e0a\u4f20\u56fe\u7247\u65f6\u81ea\u52a8\u4e0a\u4f20\u5230\u8fdc\u7a0bftp\u670d\u52a1\u5668)<\/li>\n<li>1.2.7 \u4fee\u590dWindows Live Writer \u4e0a\u4f20\u56fe\u7247\u65f6url\u4e0d\u6b63\u786e\u7684bug<\/li>\n<li>1.2.8 \u4fee\u590d\u5728PHP 5.3.x\u4ee5\u540e\u7248\u672c\u4e2d\u62a5\u201cFatal error: Call-time pass-by-reference has been removed in hacklogra.class.php on line 539\u201d\u9519\u8bef\u7684\u517c\u5bb9\u6027bug.<\/li>\n<li>1.3.0 \u4fee\u6539\u56fe\u7247\u540e\u5df2\u7ecf\u53ef\u4ee5\u6b63\u5e38\u91cd\u65b0\u56de\u4f20\u81f3\u8fdc\u7a0bftp\u670d\u52a1\u5668\u4e86\u3002<\/li>\n<\/ul>\n\n<p>\u66f4\u591a\u4fe1\u606f\u8bf7\u8bbf\u95ee<a href=\"http:\/\/80x86.io\/?p=5001\" title=\"plugin homepage\">\u63d2\u4ef6\u4e3b\u9875<\/a> \u83b7\u53d6\u5173\u4e8e\u63d2\u4ef6\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u4f7f\u7528\u6280\u5de7\u7b49.\n<a href=\"http:\/\/80x86.io\/?p=4993\" title=\"\u5b89\u88c5\u6307\u5bfc\">\u5b89\u88c5\u6307\u5bfc<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the whole fold <code>hacklog-remote-attachment<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Configure the plugin via <code>Settings<\/code> -&gt; <code>Hacklog Remote Attachment<\/code> menu and it's OK now,you can upload attachments(iamges,videos,audio,etc.) to the remote FTP server.<\/li>\n<li>If your have moved all your local server files to remote server,then you can <code>UPDATE THE DATABASE<\/code> so that all your attachments URLs will be OK.\nYou can visit <a href=\"http:\/\/80x86.io\/?p=5001\" title=\"plugin homepage\">plugin homepage<\/a> for detailed installation guide.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p><a href=\"http:\/\/80x86.io\/?p=5001\" title=\"FAQ\">FAQ<\/a><\/p>\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the whole fold <code>hacklog-remote-attachment<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Configure the plugin via <code>Settings<\/code> -&gt; <code>Hacklog Remote Attachment<\/code> menu and it's OK now,you can upload attachments(iamges,videos,audio,etc.) to the remote FTP server.<\/li>\n<li>If your have moved all your local server files to remote server,then you can <code>UPDATE THE DATABASE<\/code> so that all your attachments URLs will be OK.\nYou can visit <a href=\"http:\/\/80x86.io\/?p=5001\" title=\"plugin homepage\">plugin homepage<\/a> for detailed installation guide.<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>fixed: thumbnail srcset url with WP 4.5+<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>fixed: edit or crop image is working correctly now.<\/li>\n<\/ul>\n\n<h4>1.2.8<\/h4>\n\n<ul>\n<li>fixed: compatibility with PHP version above 5.3.x ,to avoid PHP complains \u201cFatal error: Call-time pass-by-reference has been removed in hacklogra.class.php on line 539\u201d.<\/li>\n<\/ul>\n\n<h4>1.2.7<\/h4>\n\n<ul>\n<li>fixed: Windows Live Writer file uploading bug(url incorrect).<\/li>\n<\/ul>\n\n<h4>1.2.6<\/h4>\n\n<ul>\n<li>added: xmlrpc support (when use Windows Live Writer or other client via xmlrpc upload attahcment,the attachment will auto uploaded to remote FTP server )<\/li>\n<\/ul>\n\n<h4>1.2.5<\/h4>\n\n<ul>\n<li>fixed: tools-- \"You do not have permission to do this\" error.<\/li>\n<li>fixed: wp_delete_file HOOK should return a value (string)<\/li>\n<\/ul>\n\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>added: duplicated thumbnail filename (this things may happen when crop is TRUE)<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>improved: encrypt FTP password and then store it to the DB<\/li>\n<li>improved: support connect with both php FTP module and php socket API<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>fixed: DO NOT delete the options when the plugin is deactivating.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>fixed the bug when uploading new theme or plugin this plugin may cause it to fail.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>fixed: use new WP_Screen API to display help information<\/li>\n<li>improved: check FTP connection in the <code>Plugins<\/code> page<\/li>\n<li>fixed: added duplicated file checking,so that the existed remote files will not be overwrote.<\/li>\n<\/ul>\n\n<h4>1.1.6<\/h4>\n\n<ul>\n<li>fixed: changed upload file permission to 0644 ,changed created directory permission to 0755<\/li>\n<li>fixed: get the right subdir when the post publish date was different from the media upload date.<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>fixed: when no thumbnails,do not run foreach in function upload_images<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>changed remote path to FTP remote path and added HTTP remote path to support the mapping relationship between FTP remote path and HTTP remote path<\/li>\n<li>fixed:when connection failed,delete the file on local server.<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>fixed a bug(when remote path is root directory of FTP server)<\/li>\n<li>added FTP connection timeout option<\/li>\n<li>added FTP connection error message returning<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>fixed a bug,when uploading a non-image file the image upload handler will handle the non-image file. (bug bring in version 1.1.0)<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>fixed a bug in public static function upload_images(bug bring in version 1.1.1)<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>handle image file in the later(in HOOK wp_generate_attachment_metadata) for compatibility with watermark plugins<\/li>\n<li>removed the scheduled hook,now delete the orig image file just after uploaded.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>added: remote direcotry auto-make functions.If the remote dir does not exists,the plugin will try to make it.<\/li>\n<li>added: put index.html to disable directory browsing<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>fixed a small bug(cron delete).<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>released the first version.<\/li>\n<\/ul>","raw_excerpt":"Adds remote attachments support for your WordPress blog.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/15766","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=15766"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ihacklog"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=15766"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=15766"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=15766"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=15766"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=15766"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=15766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}