MagicStick
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Post Duplicator] does not associate posts to the authorHi Laszlo. If you want this functionality add the following code to your functions.php file:
function mpd_keep_post_author($mdp_post, $mpd_process_info){ $mdp_post['post_author'] = get_post_field( 'post_author', $mpd_process_info['source_post_id'] ); return $mdp_post; } add_filter('mpd_setup_destination_data', 'mpd_keep_post_author', 100, 2);Forum: Plugins
In reply to: [Multisite Post Duplicator] Restrict MPD to certain sites issueThis was resolved in another thread. π
Forum: Plugins
In reply to: [Multisite Post Duplicator] post duplicator in multilingual websiteExcellent! Glad you’re sorted!
- This reply was modified 9 years ago by MagicStick.
Forum: Plugins
In reply to: [Multisite Post Duplicator] ACF Image and Post Attachments not copying acrossJames I think your problem is another issue. If the files are their but are at 0kb the this is a server config issue. You need to ask your host to allow file_get_conents() and file_put_contents() in php.
Regarding the OP’s issue. Still working on it (when I get the chance). I really appreciate your patience.
Forum: Plugins
In reply to: [Multisite Post Duplicator] post duplicator in multilingual websiteHi mate. Unfortunately it depends on what plugin you are using if MPD will duplicate. It the plugin uses core wordpress tables in the database then it would work. I’m guessing in this plugin they have added custom tables that MPD can’t see. π
If you tell me the name of the plugin you are using I could have a look.
Forum: Plugins
In reply to: [Multisite Post Duplicator] ACF Image and Post Attachments not copying acrossHey guys. Thanks for the feedback. Sorry I can’t provide timescales I’m absolutely stoud with Dev work from my day job. James can you confirm if this is an issue just experienced on flexible fields? I’ll get to resolving this asap.
Forum: Plugins
In reply to: [Multisite Post Duplicator] ACF Image and Post Attachments not copying acrossNice. Thanks for that. Yeah mate use flexible fields in all my themes. There are the business. That kinda makes sence to me actually. Will get back to you asap. ππ»
Forum: Plugins
In reply to: [Multisite Post Duplicator] ACF Image and Post Attachments not copying acrossMan. Let me do some testing on this in the next few days. i defo had this working before. I’m wondering if something has happened in a recent release. Not in the office to check that it’s still working for me but I’ll report back (with a solution dammit!) very soon.
Forum: Plugins
In reply to: [Multisite Post Duplicator] Media library : images duplicatedAh yeah. We don’t check Media lib for exsisting ‘duplicate’ entities at the moment. I’ll add this to my todo list for the next release.
Sorry for the inconvenience sir. Thanks for bringing this to my attention.
Forum: Plugins
In reply to: [Multisite Post Duplicator] Image Gallery not copyHi. If you are talking about the ‘add media’ image gallery, then I am sorry, MPD does not support copying this. If not can you please elabroate on what you are trying to do?
Forum: Plugins
In reply to: [Multisite Post Duplicator] ACF Image and Post Attachments not copying acrossThanks for the kinds words Jason.
Please check your destination media library, have the files from your source site/post been copied over? Is there βsomethingβ there but with no images attached?
If this is the case then your host server is setup not to allow get_file_contents() function; and therefor may be worth speaking to your provider.
Forum: Plugins
In reply to: [Multisite Post Duplicator] Not Copying Post OrderHey Ben. Thanks for the kind words!
Unfortunately it’s not possible to copy over the post order without getting into some mind-numbing territory. Ha. If you think about it, copying the post order relies on you knowing order in relation to other posts on that site. If you just copy one or some of the posts (using the batch tool) to the destination site then we need to work out various relationships of the sites new destination posts and order based on MAYBE all or MAYBE some of the posts in the batch. Not to mention maintaining any parent/child relationships within these posts there may be. My head is hurting just typing this ha! Hope you understand mate.
Forum: Plugins
In reply to: [Multisite Post Duplicator] Issue with Restrict MDP settingsHi Valerio I have just updated to 1.6.4. This should resolve your issue π
Thanks
Forum: Plugins
In reply to: [Multisite Post Duplicator] Duplicated post not set to draftUnfortunately no. The only way you can get a post timestamp is if you publish the post, hence the functionality. Glad you are sorted gilles π
Forum: Plugins
In reply to: [Multisite Post Duplicator] Issue with Restrict MDP settingsAh this is actually a great point. I never thought about this scenario. I’ll release an update in due course to account for this. Thanks mate.