WordPress.org

Ready to get started?Download WordPress

Forums

WP Job Manager
Buddypress integration - issue deleting jobs (28 posts)

  1. mlovelock
    Member
    Posted 6 months ago #

    Hi,

    Great plugin - I'm attempting to integrate WP Job Manager with Buddypress, and I've managed to successfully integrate the dashboard and job submission form into the Buddypress member profile through a small plugin, to allow members to manage jobs directly from their profile.

    However, the profile sections don't use pages, so I'm encountering the same problem as this thread in that using do_shortcode('[job_dashboard]') fails to call the 'delete' and 'mark filled' actions - http://wordpress.org/support/topic/removingfilling-job-from-employer-dashboard?replies=6

    Any thoughts as to how I can call the actions with having to use the shortcode within the_content ?

    If I can get this final part of the main plugin playing nicely with BP I was thinking of trying to integrate the Resume Manager with BP too :)

    https://wordpress.org/plugins/wp-job-manager/

  2. mlovelock
    Member
    Posted 6 months ago #

    A quick update:

    Currently using a workaround (hack) by adding the following to the shortcode_action_handler() function in shortcodes class:

    if ( bp_is_active( 'jobmanager' ) ){
    			$this->job_dashboard_handler();
    		}

    .. where 'jobmanager' is my custom buddypress plugin. This works of course, but would love to find a tidier way to do this in the end. Once I've tidied up my plugin would you be interested in seeing it, or perhaps adding Buddypress support?

    Marking as resolved for now as I've at least got it working.

    Thanks.

  3. mikejolley
    Member
    Plugin Author

    Posted 6 months ago #

    Would be curious to see it when done, but I'm not much of a BP user.

  4. defoli
    Member
    Posted 6 months ago #

    @mlovelock
    Hi. That is Great. I want this too.
    Can you help me?

  5. mlovelock
    Member
    Posted 5 months ago #

    Hi @defoli / @mikejolley,

    Glad to share it - once I've got the site in question up and running and the code tidied up a little, I'll let you both know.

  6. solhuebner
    Member
    Posted 5 months ago #

    @mlovelock Please also consider me :)

    Maybe you should make your own PlugIn?

    I would pay for it to get WP Job Manager integrated with BuddyPress!

    And I would really love to see it responsive for mobile usage ;)

  7. Matt Edminster
    Member
    Posted 5 months ago #

    Kudos for taking this on. I've been on the hunt for this integration for years. Curious to know if your integration extends group functionality as well. The non-profit whose site I run posts listings based on countries, each of which has a dedicated bp group. Would sure be sweet to have each country be able to submit and display their listings along with a global listings page. In any case, more power to you!

  8. solhuebner
    Member
    Posted 4 months ago #

    Hi @mlovelock,

    so you have a rough idea when you can share the code?

    Is till end of may realistic?

    And will you merge the code into WO Job Manager or release a plugin...?

    Sorry for all the questions ;-)

    Kind regards

  9. bradrh070
    Member
    Posted 4 months ago #

    Hi @mlovelock - I too am greatly interested in this plugin if you choose to release it. I would be willing to pay.

  10. solhuebner
    Member
    Posted 4 months ago #

    Hi @mlovelock,

    I hope you are fine and as it looks like quite busy with your project. If you think it will take a while also no problem but even a rough timeframe would be great :) Maybe we can help if something is not working or does need work?

    Kind regards

  11. olafnekeman
    Member
    Posted 3 months ago #

    +1 from me
    really like the idea!

  12. s_robby
    Member
    Posted 1 month ago #

    Hi @mlovelock,

    Were you able to successfully integrate BuddyPress with WP Job Manager? I'm keen to do the same thing and was wondering if you had figured this out!

    Thank you,
    Sarah

  13. Scotm
    Member
    Posted 1 month ago #

    Folks

    Have any of you tried this plugin: http://sensibleplugins.com

    I'm testing it to add pages to the BP profile area whereby I allow candidates/employers to manage their bookmarks, resumes, jobs. Seems to work fine so far.

    I'm also using a roles plugin to make various menu items/pages visible based on whether the user is a candidate or employer. See: http://wordpress.org/plugins/nav-menu-roles/

    Might work for some of you.

    Thx

  14. danymaxwell
    Member
    Posted 2 weeks ago #

    Hi @mlovelock

    I am also interested in your (hack), because I also use BuddyPress tab to set the appearance of the job dashboard. I would be willing to pay to have the hack that allows me to resolve this conflict.

    Thank you very much in advance.

  15. solhuebner
    Member
    Posted 2 weeks ago #

    @mikejolley maybe this is a good time to release an addon for BuddyPress integration?

    Kind regards

  16. gustavors
    Member
    Posted 1 week ago #

    Hello mlovelock!

    I'm also on the list to access the code that allows some integration between WP Job manager with BuddyPress!

    Please consider putting on github or even sell it!

  17. danbp
    Member
    Posted 1 week ago #

    Hi all,

    we're actually discussing about job manager integration on the buddypress support forum. Guess we have already some good hints to get a job page on bp groups....

    Work in progress...

  18. solhuebner
    Member
    Posted 4 days ago #

    Thank you for posting but the link is not working :(

  19. danbp
    Member
    Posted 4 days ago #

  20. danymaxwell
    Member
    Posted 3 days ago #

    @danbp - Thank you so much for finding the solution to this problem! you are great !! During the day I'll try to implement the whole thing and see if it works. Thanks again !!

  21. danymaxwell
    Member
    Posted 3 days ago #

    @danbp - I tried to insert the last snippet you posted, in the file "bp-custom.php" as you said.
    I have shown in the tab "Job Center" inside the page with the shortcode "[job_dashboard]", in order to show the dashboard of my work. Everything is displayed correctly, but there is always the problem discussed in this topic.
    That is when I try to click on the "delete" or "mark-filled", nothing happens. Click on "delete" and the job is not canceled, I click on "mark filled" and is not marked. I know it's a silly question, but have you tried to do these things? If so, do they work?

    Also 2 more things.
    1) the snippet you posted, insert the tab "" only in a specific group. You may only enter this tab in the "BuddyPress profile"?
    2) The snippet shows the tab to moderators. You can set it to show it to others "roles"?
    That's it.
    I am at your disposal for questions and help.

  22. danbp
    Member
    Posted 3 days ago #

    Hi,

    for 1) The snippet is to be used to add a page to a group, not a profile. And no, I haven't tried everything. See also the suggestion of @shanebp, by adding the value control in the template file.

    for 2) It is possible but you have do this yourself.

    If you want to discuss around BP settings here, it's not the right place, as it is the WP Job Manager support. Suggest that you do that on the mentionned topic on the bp forum. ;-)

  23. danymaxwell
    Member
    Posted 3 days ago #

    Hi @danbp
    I created a new topic on BuddyPress about the problem at hand. This link
    I sincerely hope that someone will help us to solve this problem of integration

  24. danymaxwell
    Member
    Posted 2 days ago #

    @mikejolley
    Rightly, the community of BuddyPress will not find the solution to the problem at hand.
    You have way to search and solve the problem? Please let us know if it will work or not. Thank you

  25. mikejolley
    Member
    Plugin Author

    Posted 2 days ago #

    If you're not using pages for the shortcode, its likely this will be the line that fails:

    https://github.com/mikejolley/WP-Job-Manager/blob/master/includes/class-wp-job-manager-shortcodes.php#L34

    Open to contributions from BP devs if they have an idea of a workaround.

  26. danbp
    Member
    Posted 1 day ago #

    @mikejolley,
    thank you for the reply. Work is still on progress with now BP 2.1-beta1

    The code i use for my test is here.

    It works to 98% on a page added to a BP group.
    Obviously, the line you mention contains (i guess) a little error, a missing closing bracket on the job_dashboard shortcode.

    i have a little issue with marl/unmark filled, due to some js fired to late or a nonce who isn't considered at time...

    Checking for user id's is a bit tricky to get job views.
    $user_id = bp_get_member_user_id() and the_author_meta('user_email', $user_id) working better on such bp loops as the common WP
    get_current_user_id and $current_user->user_email

    Adding a check for buddypress is active would be a good improvement.

    http://codex.buddypress.org/plugindev/checking-buddypress-is-active/
    (function content is an example)
    More here http://codex.buddypress.org/plugindev/
    http://wordpress.stackexchange.com/questions/86976/how-to-get-user-meta-buddypress

  27. mikejolley
    Member
    Plugin Author

    Posted 19 hours ago #

    Adding buddypress dependent functions probably isn't a good solution, but I could make the code which processes dashboard events filterable. Then a plugin (for BP) could trigger it to load if the 'dashboard' is showing.

  28. danymaxwell
    Member
    Posted 19 hours ago #

    @mikejolley & @danbp thank you very much for your interest in solving this implementation. We look forward to future developments. If you need overwhelming support, are at your disposal.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags