Support » Plugin: WP Broadbean » Remove the attachment button from applications

  • Hello Mark

    I know i created a ticket a few weeks about redirecting after the application was submitted.

    I am not going to do that now… i would like to just remove the attachment button and code that checks a file is attached.

    As my knowledge is not too good on PHP, could you tell me which lines i need to comment out to remove it altogether ?

    I have tried but keep running into syntax errors or the application not sending at all.

    Thanks

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

    (@wpmarkuk)

    Are you suggesting that you want to allow people to apply for the job without attaching their CV at all?

    Hello mark

    They upload their CV by another form, which sends it by email so bypasses being stored on the server.

    Regards

    Plugin Author Mark Wilkinson

    (@wpmarkuk)

    If you are using the latest version of the plugin the attachments to the form are not permanently stored on the server – they are removed once the application is processed.

    If you still want to remove the application attachment/upload field you will need to unhook (remove filter) on the wpbb_application_form() function which is hooked into the_content here:

    https://github.com/highrisedigital/wpbroadbean/blob/master/functions/application-form.php#L155

    However, attaching the CV in another form would mean it is detached from the rest of the application and therefore I think there will be issues in Broadbean with this approach.

    Hi Mark

    Ok, we have the latest code installed for the plugin, and when the application has been filled out, file attached for the CV then the user then submits, there’s a email sent to the admin email, with the application details etc. But there’s no attachment or link or anything for the CV. It’s like it’s just removed completed.

    This is why we’ve been tasked with getting the cv sent another way.

    I was under the impression that the upload CV function was changed so that no file was ever uploaded and stored as a media file anymore ?

    Cheers

    Plugin Author Mark Wilkinson

    (@wpmarkuk)

    Can you confirm that you are running an un-edited latest version of the plugin please which is currently version 2.2.2

    Hi Mark

    Yes i can confirm in the plugin panel it’s using version Version 2.2.2

    The files are the originals and are unedited.

    Regards

    Plugin Author Mark Wilkinson

    (@wpmarkuk)

    Thanks for confirming. This is the behaviour that should be expected from the plugin.

    When the application form is completed and a CV attached, the plugin should send an email with the CV attached as the email attachment. The recipients of this email are the values of the email addresses in the contact email and applicant tracking email address fields on the job edit screen.

    The applicant tracking email address is the one which sends the application over to Broadbean again with the CV attached.

    Once this email is sent the attachment (file upload) is removed from the media library.

    If the above is not happening then I would suggest trying it with a default install of WordPress, using the default theme and no other plugins.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.