Các bài đăng được tạo bởi Howard Miller

Hình của Core developers Hình của Documentation writers Hình của Particularly helpful Moodlers Hình của Peer reviewers Hình của Plugin developers
I'm struggling to understand what part of this makes you think you have to type it on the end of a URL? Anyway, to answer the question you asked (which may not be the answer to your problem)

* Go to Site administration > Users > Define roles
* To the right of 'Authenticated users' (role) click the edit cog
* Find the Filter box and type 'sendmessage' in there
* Make sure the capability moodle/site:sendmessage is enabled / ticked

As it's on by default, I would be surprised if it is not.
Hình của Core developers Hình của Documentation writers Hình của Particularly helpful Moodlers Hình của Peer reviewers Hình của Plugin developers
It's a capability. It's part of the roles system.

I'm going to encourage you to read Roles_and_permissions, rather than "spoon feeding" the answer. It's a powerful system and worth understanding how it works.
Hình của Core developers Hình của Documentation writers Hình của Particularly helpful Moodlers Hình của Peer reviewers Hình của Plugin developers
You might want to look at Custom_reports. Unfortunately, on 4.1 it's quite limited - much improved by 4.4.

Failing that, if a (mostly) one-off I would probably get this directly from the database. That rather hinges on your SQL skills, knowledge of the database and/or how much you'd like to learn that stuff.