• Hi,

    Regarding URL Redirects – is this something that can be sent via the feed – Broadbean are asking me for details (documentation) on this as they believe the Plugin doesn’t support that functionality.

    I also notice that when trying to add jobs manually the Application Email and Application URL are both greyed-out. Is there anyway to add in this information?

    J.

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

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

    (@wpmarkuk)

    In terms of URL redirect I am not entirely sure what you mean here please. Can you clarify?

    The application and email are greyed out because this is information from Broadbean and very specific for each job. Therefore editing it would break the applications being sent back through to Broadbean once a application is made.

    If you did want to alter this behaviour you could use the wpb_job_fields filter to alter the readonly parameters of those fields.

    Thread Starter jonathan7799

    (@jonathan7799)

    Hi,

    So, with URL Redirects I am referring to when instead of submitting an application via email you get sent to an ATS or some other URL to apply there. I kind of assumed that was what the “Application URL” field was for but Broadbean are asking for details.

    Can you help? Does the plugin accept external redirects instead of straight email applications?

    Many Thanks,

    J.

    Plugin Author Mark Wilkinson

    (@wpmarkuk)

    Yes you can use the Application URL to be an external URL but it will require a little dev. The Apply button’s url below the job is generated from the function `wpb_get_apply_url()’ and this has a filter to allow you to change this URL.

    Therefore you can use the filter here:

    https://github.com/wpmark/wpbroadbean/blob/master/functions/wpbb-functions.php#L198

    To modify the output of the wpb_get_apply_url() to use the application url. The filter gets passed the jobs post id which you can then use with get_post_meta() to get the application url.

    Broadbean should therefore send the application url in the XML inside the node <application_url>http://applyurl.com</application_url>

    Thread Starter jonathan7799

    (@jonathan7799)

    Hi,

    Might need some slightly more specific help here – Broadbean have now passed the URL into the “Application URL” field and the “Application Email” field is empty – so that is all working perfectly.

    I guess what I’m looking for now is some kind of IF clause that if the email field is filled then do the normal thing, if Application URL field is filled then change the Apply button to click through to that URL.

    J.

    Plugin Author Mark Wilkinson

    (@wpmarkuk)

    You would need to run a function on the wpb_get_apply_url that does the following logic:

    Get the application url post meta data
    If this is present then return it as the apply url
    otherwise return the normal url as it was in the first place.

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

The topic ‘URL Redirects’ is closed to new replies.