Title: Plugin Query
Last modified: August 22, 2016

---

# Plugin Query

 *  Resolved [Jamie Gill](https://wordpress.org/support/users/patchgill/)
 * (@patchgill)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/plugin-query/)
 * 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/](https://wordpress.org/plugins/wpbroadbean/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Mark Wilkinson](https://wordpress.org/support/users/wpmarkuk/)
 * (@wpmarkuk)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/plugin-query/#post-5499562)
 * 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](https://github.com/wpmark/wpbroadbean/tree/develop)
 *  Thread Starter [Jamie Gill](https://wordpress.org/support/users/patchgill/)
 * (@patchgill)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/plugin-query/#post-5499647)
 * 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
 *  Thread Starter [Jamie Gill](https://wordpress.org/support/users/patchgill/)
 * (@patchgill)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/plugin-query/#post-5499691)
 * 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.

 * ![](https://ps.w.org/wpbroadbean/assets/icon-256x256.png?rev=2046685)
 * [WP Broadbean](https://wordpress.org/plugins/wpbroadbean/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpbroadbean/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpbroadbean/)
 * [Active Topics](https://wordpress.org/support/plugin/wpbroadbean/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpbroadbean/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpbroadbean/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jamie Gill](https://wordpress.org/support/users/patchgill/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/plugin-query/#post-5499691)
 * Status: resolved