By default the image will show full-size, or responsive to the topic width if it is larger. For most cases, that's preferable.
Recently (as of the last couple years, in any case), NodeBB will explicitly set the image size so content isn't shifted downwards as images are loaded, but there's still no functionality for a user to explicitly denote image size.
The reason why that is is simply that it is not part of the Markdown spec. It is possible to add, but it is not trivial, because you have to think about how you want to define that markdown code so it is readable to end-users too 😄
When creating a multilingual forum, I faced the problem of distributing content in different languages.
I liked how this problem was solved in invision power board.
To create a multilingual forum, I need to develop a plugin that disables unnecessary languages and adds additional fields to the platform settings for adding content in the required languages. To begin with, I need to have additional fields for the names and descriptions of categories, as is done in invision power board. Who can do it, send your suggestions in the chat
Additionally, if it is possible I think canned responses would be nice to use on "post queue rejections" as well. There are general reasons posts of users are rejected. Rather than explaining each time, it would be nice to pick a nice and long explanation with examples.
The question you need to ask yourself is why you would like to impersonate a user?
list itemIs it because you want to recreate an error the user has? Just ask him if you can logon to his account and temporarily change his password to do so. You don't need any additional plugins to do this and the user knows you are accessing his account.
Do you want to read his private messages? Why would you do this? Here (in Belgium) it's illegal. For two reasons :
** it's considered as private information and thus you're not allowed to read it. It's simply illegal.
**Another reason is GDPR : you only can access user information if it's relevant to do so and only for the duration that it's relevant. No way you can justify reading his private messages.
In case of abuse or more serious illegal activity by the user, let's say he/she's trolling other members, you'll get this information from other concerned users and can act according to this information. It's your perogative as administrator to ban users based on their behaviour on your website.
And if the user really does illegal stuff like insinuating or distributing child pornography (I know heavy example), you're legally obliged to report this to the authorities. Not doing so makes you an accomplice, at least here in Belgium.
So in my book, there's no reason at all to impersonate a user. And if anybody reports abuse and provides the necessary proof, I'll act according to the forum's rules and if needed according to the Belgian law.
Not sure if that's the right category, but here goes.
I want to implement a plugin which makes it so the email addresses of registered users are stored hashed for privacy reasons.
I think I can use action:user.email.confirmed to overwrite the email with its hashed version.
I want to still support password reset and to that end I want to use the hashed provided email to get the uid of the user.
Would it be possible to add a hook for filtering the email provided to getUidByEmail here?
Additionally, in order to use the non-hashed email as the address, it would also require passing the user provided email in params here.