MagicStick
Forum Replies Created
-
Forum: Plugins
In reply to: [Multisite Post Duplicator] Duplicated post not set to draftHey gilles. Off the top of my head, do you have the ‘retain published date’ option checked? I ask because if this is checked it always copies the post status with it!
Forum: Plugins
In reply to: [Multisite Post Duplicator] Some images created at 0KBHi Jason. Yeah this is an issue with your hosts setup. Came across this before a few times. To copy images we use php functions:
Get_file_contents(); File_put_contents();You need to ask your host to allow these functions to run.
Good luck man thanks for using the plugin. Hope you get sorted.
Forum: Plugins
In reply to: [Multisite Post Duplicator] Image url incorrectThanks for the kinds words man and I’m really happy it was an isolated incident! Phew! Let me know if there is anything I can do.
Forum: Plugins
In reply to: [Multisite Post Duplicator] Image url incorrectHey mate. Hmmmm. What you are describing is the desired behaviour of our plugin. It SHOULD be copying the original version of the image and all wordpress processed Versions. I don’t really have an answer for you if you have tried regenerating the thumbnails.
Daft question, but have to ask, are you sure your desired image sizes are registered in the destination site?
Forum: Plugins
In reply to: [Multisite Post Duplicator] need to post subsite content to main blogHey Guenscher. I suggest taking the time to set your configuration by going through the plugin settings page ‘Settings > Multisite Post Duplicator Settings’. After which I’m sure you will be able to configure to your needs.
Forum: Plugins
In reply to: [Multisite Post Duplicator] need to post subsite content to main blogSounds like you’ve picked the right plugin for the job! 🙂 Is there anything I can help you with in particular?
Forum: Plugins
In reply to: [Multisite Post Duplicator] Save Button missing in the settingsGlad you’re sorted mate!
Forum: Plugins
In reply to: [Multisite Post Duplicator] PermissionsHi mate. If you stick this into your functions.php you can limit to only super admin. 🙂
function mpd_check_for_super_admin(){ $is_super_admin = current_user_can('manage_sites'); return $is_super_admin; } add_filter('mpd_show_settings_page', 'mpd_check_for_super_admin'); add_filter('mpd_is_active', 'mpd_check_for_super_admin');Forum: Plugins
In reply to: [Multisite Post Duplicator] ACF gallery and featured image doesnt duplicateFew things to troubleshoot here:
1. Is your plugin up to date? (1.6.3 as of today)
2. Check the settings page to ensure you have ‘copy featured image’ enabled.
3. 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 number 3 is the case (i.e, ‘blank files’ which i suspect it might be) 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] Create post link with batch dupicationHey ElwoodP add the following code to your functions.php in your theme and any post duplicated in batch mode will be linked:
if(function_exists('mpd_duplicate_over_multisite')){ function mpd_auto_link_on_batch($batched = null){ if($batched){ $batched_ids = get_option('mpd_batch_ids'); $index = 0; foreach($batched as $duped_post_details){ $args = array( 'source_id' => get_current_blog_id(), 'destination_id' => $batched_ids[$index][1], 'source_post_id' => $batched_ids[$index][0], 'destination_post_id' => $duped_post_details['id'], ); mpd_add_persist($args); $index++; } } delete_option('mpd_batch_ids'); } add_action('mpd_batch_after', 'mpd_auto_link_on_batch', 100); function mpd_record_batch_source_id($post_id, $blog_id){ $batched_ids = get_option('mpd_batch_ids'); if($batched_ids){ $batched_ids[] = array($post_id, $blog_id); }else{ $batched_ids = array(array($post_id,$blog_id)); } update_option('mpd_batch_ids', $batched_ids); } add_action('mpd_single_batch_before', 'mpd_record_batch_source_id', 20, 2); }Forum: Plugins
In reply to: [Multisite Post Duplicator] Fatal Error on activationCommitted fix now ElwoodP. Best to get the update from WordPress mate as there are a few more fixes there too! thanks! 😉
Forum: Plugins
In reply to: [Multisite Post Duplicator] Create post link with batch dupicationNot out the box. Gimme an hour to get home and I’ll shoot over some code for you to implement.
Forum: Plugins
In reply to: [Multisite Post Duplicator] Fatal Error on activationPS The fix is available to download here already. Will push it to wordpress tonight…
https://github.com/magicstickuk/multisite-post-duplicator/archive/v1.6.zip
Forum: Plugins
In reply to: [Multisite Post Duplicator] Fatal Error on activationThink I know whats going on here ElwoodP. Will push out a fix tonight. Thank you for your patience!
Forum: Plugins
In reply to: [Multisite Post Duplicator] Error on debugRemoved the chance of getting this message in v1.6.