BuddyDev

Search

[Resolved] Unable to create Project inside a Group

  • Participant
    Level: Master
    Posts: 496
    Daniel on #19533

    Hi,

    I have a problem with creating a project inside a Group. When trying to add a project then the following error message comes up:

    “There was an error trying to add project in this group.”

    Would it be possible to help me why this error message is occurring?

    Many thanks for your time.

    Regards,
    Daniel

  • Keymaster
    (BuddyDev Team)
    Posts: 24238
    Brajesh Singh on #19541

    Hi Daniel,
    I am sorry, I am not sure which plugin you are using. I will suggest asking in the plugin forum and if they do not respond in next few days, please link me to the plugin and I will assist.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 496
    Daniel on #19542

    Hi Brajesh,

    Thank you for your reply.

    I am using the Task Breaker plugin from Dunhakdis.

    https://wordpress.org/plugins/taskbreaker-project-management/

    The problem is that Dunhakhdis is not responding to tickets since 2months, and nobody knows what is happening.

    Might there be a solution to use a different plugin or do you think you could have a look to the problem by accessing our website?

    Thank you for your help.

    Regards,
    Daniel

    • This reply was modified 5 years, 4 months ago by Daniel.
  • Keymaster
    (BuddyDev Team)
    Posts: 24238
    Brajesh Singh on #19544

    Hi Daniel,
    I have checked the plugin now.
    Please put this in your bp-custom.php

    
    add_filter( 'taskbreaker/core/conditional-tags/can_add_project_to_group/is-group-member', '__return_true' );
    
    

    It will allow creating project for the members after that.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 496
    Daniel on #19545

    Hi Brajesh,

    OK will do and will let you know, that’s awesome!

    Thank you for your great help!

    Regards,
    Daniel

  • Participant
    Level: Master
    Posts: 496
    Daniel on #19546

    Hi Brajesh,

    I have applied the Code and it worked fantastically.

    Only the next problem occurring is now that it doesn’t allow me to add a task to a member of the project.

    It comes to the following error message when trying to assign a task to a member of the group:

    “There was an error trying to add this task. Title and Description fields are required or there was an unexpected error.”

    Might there also be an additional code to add in order that I can apply tasks to the Group Members inside the projects?

    Thank you for your great help!

    Regards,
    Daniel

  • Participant
    Level: Master
    Posts: 496
    Daniel on #19549

    Hi Brajesh,

    Or might you could give me a clue how you have found out this nice code to implement? Then I can try to investigate myself to find an adequate solution.

    Thank you for your master mind suggestions.

    Kind regards,
    Daniel

  • Keymaster
    (BuddyDev Team)
    Posts: 24238
    Brajesh Singh on #19556

    Hi Daniel,
    I had looked at their code quickly and found it. All the permission functions are in their plugin’s core/conditional-tags.php.

    The problem is for other permissions, they haven’t provided any filter. So you will need to edit this file and add a condition using the function “groups_is_user_member” to return true for group members.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 496
    Daniel on #19562

    Hi Brajesh,

    Thank you for having a look at it.

    I think that’s too complicated for me to solve this problem as I am not a real programmer. I also had a look on the WP Forum to find a solution but couldn’t find anything.

    Could I hire you to fix this problem and buy the necessary code from you?

    Thanks for your reply.

    Regards,
    Daniel

  • Keymaster
    (BuddyDev Team)
    Posts: 24238
    Brajesh Singh on #19567

    Hi Daniel,
    I am sorry, I can not sell code for other’s plugin.

    I can modify it for you but I see a lot of limitation for me.

    1. The permissions for editing/deleting tasks need to be more fine grained and I am not much familiar with this plugin, so doing it fine grained will not be feasible(I am unable to spend much time on the plugin).

    If you want to allow all members to edit/delete tasks(I don’t think it as a good idea), please do let me know and I can share the modified file quickly.

    Regards
    Brajesh

The topic ‘ [Resolved] Unable to create Project inside a Group’ is closed to new replies.

This topic is: resolved