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