• Resolved jobfinder

    (@jobfinder)


    Hi,
    i’ve got a problem with the import of Jobs in wpjobmanager (over wpall import pro).

    1. is there a max-number of published jobs?

    2. i import jobs via xml-feed (wpall import pro). after a successful import i view the list of jobs and there are many jobs that have an expire-date although there ist no expire-date in the feed or the template (in the overview it shows the date 1970-01-01, and in the details it shows the date of the import).

    I hope one of you can help me.
    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Brandon Kraft

    (@kraftbj)

    Code Wrangler

    You may want to reach out to WP All Import Pro support as I’m not familiar with the inner workings of that plugin.

    From WPJM’s perspective, there is not a limit of published jobs. For the date issue, I would guess that, lacking a date in the feed, they’re replacing it with the time 0 (on Unix-based systems is 1970-01-01). The importer may have a way to set a default date if one isn’t provided, but would need to check with them.

    i am having the same problem

    so annoying

    Having same issue but wondering if it’s because I’m importing date formate as dd-mmm-yyyy? Converting to 01/01/1970 after import.

    Thread Starter jobfinder

    (@jobfinder)

    the solution to this problem was to add an future-date (31/12/2017) as expire-date.

    Thanks for the response. I have specific expiration dates that I need to display, as they are coupons. Any other suggestions? I am using WP All Import plugin to import CJ Affiliate .csv files.

    This is not a Problem with WP All Import Pro. The Problem is with strtotime Function in WPJM.
    You can Clear the Date using the Date Picker and it will return the Field Value to NULL.

    If you Import NULL or 0 or ” You will get 1970-01-01
    If you import 0000-00-00 You Get a very INteresting Date
    Future Dating Available On Date is not a Solution

    What Value can you give WP All Import Pro that WPJM wont translate?
    or
    Where in the WPJM functions is the strtotime PHP Function used where an appropriate exception…. something like
    IF AvailbleDate Value is NULL THEN Clear Field Value ELSE use set value using strtotime

    === NULL could be inserted?

    Brandon Kraft,

    I Have temporarily solved my own issue but not in a way that would break on your next update.

    The Actual Issue with Importing NULL for listing expiry date is in the add-in: wp-job-manager-xml-csv-listings-import
    Added Temporary Solution in file wp-job-manager-add-on.php at line 144:
    144 // Update listing expiry data correctly when NULL
    145 if ( $wpjm_addon->can_update_meta( $field, $import_options ) && empty( $date ) ) {
    146 update_post_meta( $post_id, $field, null);
    147 }

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Job import problem’ is closed to new replies.