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 ) :
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