Okay
  Public Ticket #2144132
Alkaweb Calendar issues
Open

Comments

  •  4
    Petro started the conversation

    Hello dear Alkaweb team,

    I tried Dr Pro Event Calendar and your Woffice Calendar and I made my decision.

    I will use your Woffice Calendar. It is not ideal at this point of time, but you work on this every day and I see the changes that you've made, and understand that all the issues that I probably can have will be fixed, and pretty fast.
    So, I decided to use your calendar. Hope you're glad to hear that)

    However, calendar still has some issues.  And heres the issues that I would be glad to see fixed:

    1. I can see ToDO task from Project in a Project Calendar now. But the issue is that 1-day task is displayed for 2 days in a Calendar. Look at the screenshot:

    https://prnt.sc/p3niez

    All the tasks there are 1-day tasks. But each of them is displayed for 2 days.

    2. Second issue are the reminders.  There is a setting in Woffice which allows to send an Email to user when the task is created. 
    But there is no reminders to remind user about the task deadline 12, 6, or at least 1 hour before the task expires.

    Is it possible to add this option?

    3. ToDo Task in Project can be marked as solved by Admin and also by User.
    But I would like to have such Task type, where only Admin can mark the Task as solved.

    I hope this issues can and will be solved soon.

    Thank you for your hard work!

    Best regards,
    Petro Kozak

  •  626
    François replied

    Hello Petro, 

    It'll indeed get better and at a much faster pace than these plugins. 

    Let me go through your issues here:

    1. Are you using version 2.8.6.1? We pushed an update on this yesterday. Not necessarily that issue but mostly the calendar generally. I did test that on my side and it has the correct day. 

    2. The problem is to get a CRON running on your server. WordPress is not so good at that and it's not in the "theme territory". But, yes, be sure it's on our roadmap and will be done when have some time to get into itsmile.png

    3. That's more of a customization and it's entirely possible through your child theme with a filter like: 

    add_filter('woffice_allowed_check_project_task', function() {
        if (current_user_can('administrator')) {
            return true;
        }
        return false;
    });

    You're of course free to add your own logic inside. The source is here: 

    plugins/woffice-core/extensions/woffice-projects/helpers.php

    Have a nice day

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/

  •  4
    Petro replied

    Hello Francois,

    1. I updated Woffice Core plugin. The issue dissappeared. Thank you!

    2. Can you probably tell me the approximate date when we can expect this issue to be solved? Because reminders are a very  useful feature for an Intranet.

    3. I tried to entr the code your wrote in the right file. It worked, but not exactly as I described. 

    Now only Admin can mark Task as solved, and user can not. 

    But I wanted to have 2 types of tasks.

    First type, where only Admin can mark task as solved.
    Second type, where both Admin and User can mark task as solved.

    Is it possible?

    Best regards,
    Petro Kozak

  •  4
    Petro replied

    Hello, I have a question to this code. What should I write additionally to this code, so that marking task as solved is allowed not only for administrator, but for the Staff?

    So that 2 Roles can mark tasks as solved and the others not.

    Best regards,
    Petro Kozak

    add_filter('woffice_allowed_check_project_task', function() {
        if (current_user_can('administrator')) {
            return true;
        }
        return false;
    });
    
  •  626
    François replied

    Hello Petro, 

    2. Well the point is that it's not an issue, it's a missing feature that'd be great to add, as many other features. So, we prefer to fix issues first. I'd say in 1-2 months not before, we already have full sprints planned on our end.

    3. Regarding the 2 types, you need a developer to do that customization. We can't do that at the theme level it's way too specific and the theme already has all the filter/actions to make that possible from any developer. 

    To get two role you can just add it to the condition:

    add_filter('woffice_allowed_check_project_task', function() {
        if (current_user_can('administrator') || current_user_can('staff')) {
            return true;
        }
        return false;
    });

    See the WordPress documentation on that function or capabilities in general to get more details, but it's easily changeable with anything elsesmile.png 

    Have a nice day

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/