FTP Mass Import (notifications and multi-post)

    • # 1 year, 10 months ago

      Hi,

      I can’t make the option “Import all the selected files within the same private post” work properly. I usually want to make one post per file, but it seems that the checkbox is not working, as I always get all the files in a single post.

      Moreover I cannot customize the notifications of the FTP Mass Import. I always get only one notification for the whole import process, saying “Please find attached xxx files”. It should be possible to have one notification per single file and to customize the message with the same placeholders available for the other notifications.

    • Thomas
      Keymaster
      # 1 year, 10 months ago

      Hi,

      I can’t make the option “Import all the selected files within the same private post” work properly

      Do you have the Enhanced Files add-on activated?

      This option actually requires this add-on, if not, the option should be grayed out (last version only). If you have this add-on activated, there might be an issue we should check.

      Moreover I cannot customize the notifications of the FTP Mass Import. I always get only one notification for the whole import process, saying “Please find attached xxx files”.

      Well, that behavior seems correct if you selected “Import all the selected files within the same private post”. If only one post is created, only one notification should be sent about a post containing XXX files. However, there might be an issue with the option that allow importing within a same single post.

      Do not hesitate to answer my question and we’ll check that ASAP.

      Regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

      • # 1 year, 10 months ago

        Yes, I have “Enhanced files” enabled. Now, I’m going to check if the tweak you sent me and report to you. Thank you.

    • Thomas
      Keymaster
      # 1 year, 10 months ago

      Hi,

      I don’t have the time to fully test right now, but I took a look at the code and I might have an idea.

      Please, could you open the file customer-area-ftp-mass-import/src/php/ftp-mass-import-addon.class.php, line 192, replace this:

      $options['single_file_per_document'] = !($options['single_file_per_document'] === true && !class_exists('CUAR_EnhancedFilesAddOn'));

      by this:

      $options['single_file_per_document'] = !($options['single_file_per_document'] === true && class_exists('CUAR_EnhancedFilesAddOn')) && $options['single_file_per_document'];

      Tell me about the results.

      Regards.

       

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

      • # 1 year, 10 months ago

        It seems to work. In my opinion the notifications should be customizable. I will try to work around this with Loco Translate.

    • Thomas
      Keymaster
      # 1 year, 10 months ago

      Hi,

      You can customize notifications sent by the plugin in Settings > WP Customer Area > Notifications.

      I hope that helps.

      Best regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

    • Thomas
      Keymaster
      # 1 year, 10 months ago

      Hello,

      I’ve tested the modifications I gave and it doesn’t seem to work properly.

      Please replace the whole given line by this.

      if(!class_exists('CUAR_EnhancedFilesAddOn')) {
      	$options['single_file_per_document'] = false;
      }

      An update will be released, I would appreciate if you can try that out and confirm if it works on your side.

      Best regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

Viewing 4 reply threads

The topic ‘FTP Mass Import (notifications and multi-post)’ is closed to new replies.