• Resolved pingram

    (@pingram3541)


    Not sure what happened but both dev server and live server lost 1 of 4 admin dashboard notes that I had. Both sites lost the same note with important information immediately after the plugin updates. I did the updates at the same time not noticing in between the loss of one note but I do have db backups for good measure.

    Wanted to let you know so you can test this. The note style was not a checklist but a regular note.

    https://www.ads-software.com/plugins/wp-dashboard-notes/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pingram

    (@pingram3541)

    I didn’t lose it. Checking db table for post type “note” revealed it was built under a different user id so I couldn’t see it. I think I forgot that maybe I had modified the plugin to allow all admins to see each others notes and I probably wiped that when I updated, woops. Here’s to making another admin note about that, lol.

    Thread Starter pingram

    (@pingram3541)

    FYI, anyone else that needs this functionality, when marking a note “private” but you have multiple admins that must see each others notes, edit them, etc.

    In wp-dashboard-notes.php:

    1) comment out line 222
    //$user = wp_get_current_user();

    2) comment out line 225
    //if ( 'private' == $note_meta['visibility'] && $user->ID != $note->post_author ) :

    3) Add new line just below commented out line 225
    if ( 'private' == $note_meta['visibility'] && current_user_can( 'manage_options' ) == 0 ) :

    Plugin Author Jeroen Sormani

    (@sormano)

    Hi Philip,

    Glad you already found out whats going on ??

    FYI, I am planning a bigger update with more user capabilities, but that may be a while out though ??

    Happy holidays!
    Jeroen

    Hi guys,

    @philip… thanks for sharing your code modifications as I was looking for some way to display/modify notes between 2 admins or admin and editor. I’ll give it a try.

    @jeroen I like your dashboard notes plugin and I am looking forward to an update that will bring us more user capabilities. DO you plan to add this kind of options to your plugin? For example: share notes with different roles like I mentioned above. I am an admin but I have an editor to share notes with but I don’t want any other roles to see that except, Admins and Editors in this scenario. Well, the best would be to be able to pick a specific user or role to share your notes with ( See only / Can edit ) like we can do in OneNotes or Google Notes… which by the way, your plugin reminds me a bit. Hope my ideas help a little. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Lost note after update’ is closed to new replies.