FriendsOfFlarum Moderator Notes
Sorry, this one got missed for the beta 14 round, so...
0.3.0
- Flarum beta 14 compatibility
0.4.0
- Flarum beta 15 compatibility
0.4.1
- Prevent resizing note textarea beyond modal FriendsOfFlarum/moderator-notes16 thanks @davwheat
- Fix continuous spinner if a moderator note is saved with no content
Updating
composer require fof/moderator-notes:"*"
php flarum cache:clear
GitHenry what do you mean by message board? You mean other normal users can see or write moderator notes on other user's profiles?
Or did the update have an impact on a completely unrelated feature of Flarum?
clarkwinkelmann all users,everyone,cannot see or write moderator notes on other user's profiles,each user can only see or write moderator notes on their own profiles.I tried a fresh install of Flarum, but this problem still exists, I think this is a problem with this extension.
clarkwinkelmann message board has the same meaning as moderator notes, which is how it is translated in Chinese Flarum, thank you for your reply.
- Edited
GitHenry that's the intended behaviour. Only moderators on the forum should be able to leave notes on other users profiles, hence the name of the extension. Other moderators should be able to view the notes left by other moderators on any user profile.
Unless you're saying something other than that is happening.
clarkwinkelmann Simply put, it does not appear in the UserPage-nav of other users. Everyone can only find the moderator notes in their own UserPage.This will not appear in the previous version.
GitHenry I believe that what you describe is exactly how this extension is supposed to work.
clarkwinkelmann I'm not sure about that: moderators should be able to moderate other users.
GitHenry is your permission setup correct?
- Edited
I can also reproduce the same issue. Moderators can see the notes tab on their own profile, but not anyone else's.
Edit: appending /notes
to the end of the user's profile URL lets you view the notes, meaning that there's a check failing on the JS side of things.
Edit 2: I think that this line should be app.session.user.canViewModeratorNotes()
as we want to show the link if the signed in user is able to see mod notes, not if the user whose profile page it is can.
I'll take a look in a moment to see what's going on here...
0.4.2
- Fix regression introduced in
0.4.0
where moderator notes were only available to the session user (if they had view permission) FriendsOfFlarum/moderator-notes17 GitHenry
Upgrading
composer require fof/moderator-notes:"*"
php flarum cache:clear
0.4.4
- Fix a permissions bug where the api endpoint was accessible even without permission
0.5.0
- Beta 16 ready
Updating
composer require fof/moderator-notes:"*"
php flarum cache:clear
1.0.0
- Flarum 1.0 ready
Can users delete their own message boards? If they encounter malicious messages, they will not be able to delete them themselves.
Of course, the content that can be left to the administrator or authorized person can not be deleted?