IanM temporally where i can comment, edit code to be able to post a private message without 1 recipient required?
FriendsOfFlarum Byōbu, well integrated, advanced private discussions
peopleinside I strongly don't recommend making even a temporary change like that. There's so much that can and will break in this extension if that's done..
If you want to test private discussions in some way, I suggest you create a new user for this purpose and spam that new account..
IanM thanks, I don't need test, just trying to be able to post a message sticky that can be seen from users.
Due to recent changes I cannot post anymore this to anyone maybe for the issue related to users group message that is not working. I'm just seeing if I can have a quick fix but I cannot understand in the code what changed.
I will have to wait to understand first if you are able to reproduce the issue that users group did not get the message so I cannot have a sticky post visible to all members.
peopleinside I will have to wait to understand first if you are able to reproduce the issue that users group did not get the message
Yes, I can reproduce this, and I'm still looking into the problem.
peopleinside I cannot have a sticky post visible to all members.
I'm not sure a stickied private discussion for all members is the way to go here actually. Could you not create an 'Announcements' or similar tag with members only visibility permission and sticky a regular discussion to that for all members to see?
Awesome! Glad it's working for you now. Do let me know if you discover anything else amiss and I'll try and address it for you
Yes, I can reproduce this, and I'm still looking into the problem.
If this get fixed maybe all will be fixed for me as I can post a message to members and stick it and done.
I will add a tag to hide from all discussion, I have already set this and is nice, works... also if I had to remove the block to edit tag in the code.
peopleinside Help me to understand what your end goal is with this sticky post?
You want a sticky post that does not appear to guests? Is that correct?
- Edited
IanM
I would love to see private discussions not listed in all discussion but currently there is no option that allow this.
This will also help to prevent sticky private discussion to be sticky also on all discussion.
Currently I cannot have a sticky private message visible to all members under private discussions because of the issue that if I post a message to members this is not visible to them and also not notified to any members.
- Issue: cannot decide with an option to hide private discussions from all discussions list
- Because of the issue on point 1 if i sticky a private message this will be sticky also on all discussion so I assigned a tag to hide from all discussion but still have all other private message without a tag listed in all discussion
- Currently I can create a private message to members but no one except admin will see it due to the issue you are able to reproduce.
I want allow community users to send private message so I want sticky a post in private discussion with rules.
What I can see here on discuss is that (maybe because of Websockets) if you remain on "Private Discussions" all discussions that are updated in the meantime get pushed to this category as well. So you can actually see normal discussions while browsing the Private Discussions Tab.
peopleinside I would love to see private discussions not listed in all discussion but currently there is no option that allow this.
This is not a feature of byobu
, as I said here IanM - if a discussion is visible to the user, then it will always be included in 'All discussions'.
peopleinside Currently I cannot have a sticky private message visible to all members
Think about this for a moment. A private message to all members is then by nature not a private message. This is why I asked you to help me understand what your end goal is IanM so I might be able to offer a better way to achieve what you're asking.
- Edited
Hi, I got an error
<br />
<b>Fatal error</b>: Uncaught Laminas\Diactoros\Exception\InvalidArgumentException: Unable to encode data to JSON in Laminas\Diactoros\Response\JsonResponse: Malformed UTF-8 characters, possibly incorrectly encoded in /www/forum/vendor/laminas/laminas-diactoros/src/Response/JsonResponse.php:144
Stack trace:
#0 /www/forum/vendor/laminas/laminas-diactoros/src/Response/JsonResponse.php(79): Laminas\Diactoros\Response\JsonResponse->jsonEncode()
#1 /www/forum/vendor/flarum/core/src/Api/JsonApiResponse.php(27): Laminas\Diactoros\Response\JsonResponse->__construct()
#2 /www/forum/vendor/flarum/core/src/Foundation/ErrorHandling/JsonApiFormatter.php(41): Flarum\Api\JsonApiResponse->__construct()
#3 /www/forum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(67): Flarum\Foundation\ErrorHandling\JsonApiFormatter->format()
#4 /www/forum/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\HandleErrors->process()
#5 /www/forum/vendor/flarum/core/src/Http/Mi in <b>/www/wwwroot/forum/vendor/laminas/laminas-diactoros/src/Response/JsonResponse.php</b> on line <b>144</b><br />
When I fresh my forum, it works well. However, continuing to post will still report an error.