Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Author Cindy Kendrick

    (@elusivelight)

    Private categories are meant to only be used on the admin side, and to be hidden on the front-end.

    There is a setting to show only a user their assigned items, but be sure that their user permission level under Settings > User Permissions is not set to allow them to view all items.

    Thread Starter jerome_france

    (@jerome_france)

    Thank you Cindy for your answer.

    In fact, the setting “show only a user their assigned items”=yes.
    So probably the problem come from “User Permissions” but here I do not Understand : The first line “View To-Do List” has the right “Edit articles” (in French “Editer des articles”).

    Do you have more details ?

    In fact, I can see the task of a user when I am not connected.

    Thread Starter jerome_france

    (@jerome_france)

    Ha! I did understand sorry.
    “Editer des articles” is the Contributors.

    But here I am not connected. So I suppose to see nothing. Do am I right ?
    The problem is I can see the the task of a user when I am not connected.

    Plugin Author Cindy Kendrick

    (@elusivelight)

    Make sure that “View To-Do Items Assigned to Other Users Capability” is not set to something that the user role who only want to see their assigned tasks can do. Note that there is no way to make it so that admin level users can only see their assigned tasks.

    Thread Starter jerome_france

    (@jerome_france)

    Assign To-Do Items to Users = “yes”
    Show a User Only the To-Do Items Assigned to Them = “yes”
    View To-Do List = “Edit Posts”
    User Roles to Show = Unverified is not selected
    “View To-Do Items Assigned to Other Users Capability” = Administrators: Manage Options

    I do not use the widget but only the script: “[todolist]”.

    To-Do Items is Assigned to an administrator role but when I am NOT connected (eg: contributor or administrator) I can see the To-Do Items.

    How can I do to not see To-Do Items?

    Plugin Author Cindy Kendrick

    (@elusivelight)

    I’m not sure what the solution is. With those settings, if a contributor logs in, they should not see items assigned to another contributor. If an administrator logs in, they will see all items even if they’re assigned to someone else.

    Thread Starter jerome_france

    (@jerome_france)

    But the problem is when I am not logged, I can see administrator’s items.
    Is it a bug ?

    Plugin Author Cindy Kendrick

    (@elusivelight)

    Sorry, I didn’t understand.

    You can fix this by modifying /includes/cleverness-to-do-list-frontend.class.php, line #659 from:

    $this->display();

    to:

    if ( is_user_logged_in() ) {
    			$this->display();
    		}
    Thread Starter jerome_france

    (@jerome_france)

    This fonction doesn’t work :

    else {$this->list .= esc_html__( 'You must be logged in to view', 'cleverness-to-do-list' );
    }

    I do not have the message : ‘You must be logged in to view’.
    I see only Items.

    The first line “View To-Do List” has the right “Edit articles” (in French “Editer des articles”).

    Salut Jerome ! ?a c’est “edit posts” Certains traducteurs/utilisateurs ne comprennent pas qu’on ne peut pas tout traduire en fran?ais, sinon aura des problèmes de communication avec le développeur.
    En cas de doute, tu peux toujours chercher ton fichier NomDuPlugin-fr_FR.mo (via ftp). Tu le renommes provisoirement. Ton plugin sur le site affichera tout en anglais et tu pourras voir le terme exacte.”edit posts” fait partie de la terminologie wordpress et correspond à une capability.

    Thread Starter jerome_france

    (@jerome_france)

    Salut George,

    Connais-tu ce plugin ? J’essaye d’exprimer le fait que lorsque je ne suis pas connecté, je vois la liste de choses à faire de l’administrateur (ou liste d’objets).

    Elle ne parait pas comprendre, du coups elle me donne le code avec un numéro de ligne qui ne correspond pas au code qu’elle écrit.

    Bon, Je vais faire les courses et je vais ré-exprimer cela.

    Well, I’ll write in english as the developper is concerned now.

    Jerome, I can’t verify because this part of my site is private and I see nothing from outside. It may be your cache. Clean the cache you use for your site and the cache of your browser and try again.

    I cannot find another explanation, except if there is a bug. The truth to be said, this plugin behaves with some instability in my site due maybe in conflicts with other plugins and you may experience a similar situation.
    (I am testing different plugins at this moment and if I finally keep it I will post my problems).

    Thread Starter jerome_france

    (@jerome_france)

    Ok, I’ve installed WordPress and this pluging again.
    There is no other plugin. I have WordPress 4.3

    When I am not logged I can see the Item list of people (eg : Administrator)
    but I should not. It seems that is a bug probably with wordpress 4.3.

    To be sure that the problem do not come from the cache, I did use another browser.

    Cindy seems to be not anymore on the projet. I hope it is not my faute ??

    Plugin Author Cindy Kendrick

    (@elusivelight)

    Here is a gist to the complete code replacement for /includes/cleverness-to-do-list-frontend.class.php:
    https://gist.github.com/cleverness/3da9ae31802948608bee

    I have tested it in 4.3 and if a person is not logged in, they do not see any todos using [todolist]. This will only happened with the modified code, the default plugin [todolist] does not account for the scenario you are trying to achieve.

    Thread Starter jerome_france

    (@jerome_france)

    I’ve download the plugin 3.4.2
    I do not have the same code in cleverness-to-do-list-frontend.class.php
    I test your file and I tell you if it works. Thank you!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Make a private list’ is closed to new replies.