Support » Plugin: WP Broadbean » Plugin Query

  • Resolved Jamie Gill

    (@patchgill)



    Hi Mark,

    Firstly thanks alot for sharing this plugin it is a great help. Just a quick query I am testing the plugin with the sample XML data. How does the plugin deal with a job post that has already been put into broadbean and passed to the website, then for example I update the salary and the XML is passed the day after but has the same ID would this fail or would it update the post_meta?

    Thanks in advance,
    Jamie

    https://wordpress.org/plugins/wpbroadbean/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mark Wilkinson

    (@wpmarkuk)

    At the moment it would fail as two jobs cant have the same id. Updating jobs is not included – only add/delete.

    Feel free to make a fix and submit a pull request to develop branch here:

    https://github.com/wpmark/wpbroadbean/tree/develop

    Hi Mark,

    Thankyou for your quick response. I am not 100% sure how the Broadbean backend works but as you said they only offer Add/Delete on the command line.

    However using there test feed and building a custom XML feed and tieing it in with your plugin got me through the test process flawlessly. So we are waiting on the custom feed build now.

    Many thanks for sharing this plugin it has been a great help should I find any improvements that can be made I will certainly submit a request to the repo.

    Cheers
    J

    Hi Mark,

    I am not familiar with git and had no idea how to do a pull request (been on my to do list for months sorry). However I managed to get the Uploaded CV’s to attach to the actual email rather than a link. Added in shortcodes.php around line 300 after $wpbb_email_content :-

    $wpbb_attachments = array(WP_CONTENT_DIR . '/uploads' . $pxjn_wp_upload_dir['subdir'] . '/' . $pxjn_uploaded_file['name']);

    Then added the variable within the wp_mail function :-

    $wpbb_send_email = wp_mail( $wpbb_mail_recipients, $wpbb_mail_subject, $wpbb_mail_content, $wpbb_email_headers,$wpbb_attachments);

    Not sure if it is handy but thought it was worth putting on for anyone else.

    Cheers
    J

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin Query’ is closed to new replies.