• Extensions
  • FriendsOfFlarum Byōbu, well integrated, advanced private discussions

8 days later

rafaucau aaronlbpeterman

Sounds like another extension that isn't really compatible. Can you both list your enabled extensions using PHP flarum info?

    luceos Can you both list your enabled extensions using PHP flarum info?

    Flarum core 1.0.4
    PHP version: 7.4.1-dh30
    Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, SPL, iconv, session, intl, json, ldap, mbstring, standard, odbc, PDO, mysqlnd, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, imap, shmop, SimpleXML, snmp, soap, sockets, pdo_mysql, exif, sysvmsg, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, mysqli, apcu, dba, imagick, mailparse, memcached, redis, yaml, Zend OPcache
    +-----------------------------------+--------------+--------+
    | Flarum Extensions                 |              |        |
    +-----------------------------------+--------------+--------+
    | ID                                | Version      | Commit |
    +-----------------------------------+--------------+--------+
    | flarum-flags                      | v1.0.0       |        |
    | flarum-approval                   | v1.0.0       |        |
    | flarum-tags                       | v1.0.3       |        |
    | v17development-support            | v2.3.2       |        |
    | flarum-suspend                    | v1.0.0       |        |
    | flarum-subscriptions              | v1.0.0       |        |
    | aberit-communities                | dev-master   |        |
    | fof-user-directory                | dev-master   |        |
    | fof-follow-tags                   | 1.0.1        |        |
    | fof-pages                         | 1.0.1        |        |
    | fof-best-answer                   | 1.0.1        |        |
    | fof-masquerade                    | 1.0.0        |        |
    | fof-oauth                         | 1.0.1        |        |
    | rob006-lang-polish                | v0.5.9       |        |
    | aberit-gamification               | dev-master   |        |
    | fof-nightmode                     | 1.0.0        |        |
    | flarumite-simple-discussion-views | 1.0.3        |        |
    | flarum-markdown                   | v1.0.1       |        |
    | fof-byobu                         | 1.0.0-beta.9 |        |
    | sycho-move-posts                  | v0.1.5       |        |
    | ianm-follow-users                 | 1.0.3        |        |
    | flarum-emoji                      | v1.0.0       |        |
    | aberit-ads                        | dev-master   |        |
    | fof-terms                         | 1.0.0        |        |
    | flarum-akismet                    | v1.0.0       |        |
    | flarum-pusher                     | v1.0.0       |        |
    | aberit-moderation-tools           | dev-master   |        |
    | fof-merge-discussions             | 1.0.0        |        |
    | aberit-forum                      | dev-master   |        |
    | fof-socialprofile                 | 1.1.0        |        |
    | fof-spamblock                     | 1.0.0        |        |
    | fof-upload                        | 1.0.2        |        |
    | flarum-lock                       | v1.0.0       |        |
    | fof-formatting                    | 1.0.0        |        |
    | flarum-statistics                 | v1.0.0       |        |
    | askvortsov-rich-text              | v2.1.0       |        |
    | clarkwinkelmann-author-change     | 1.0.1        |        |
    | v17development-seo                | v1.8.0       |        |
    | flarum-mentions                   | v1.0.0       |        |
    | fof-user-bio                      | 1.0.0        |        |
    | flarum-bbcode                     | v1.0.0       |        |
    | aberit-follow-communities         | dev-master   |        |
    | askvortsov-pwa                    | v3.0.5       |        |
    | fof-polls                         | 1.0.3        |        |
    | fof-sitemap                       | 1.0.1        |        |
    | the-turk-diff                     | 1.1.1        |        |
    | blomstra-cache-assets             | 0.5          |        |
    | fof-analytics                     | 1.0.0        |        |
    | askvortsov-moderator-warnings     | v0.6.1       |        |
    +-----------------------------------+--------------+--------+
    Base URL: https://forum.android.com.pl
    Installation path: /home/klient.dhosting.pl/*****/forum.android.com.pl
    Debug mode: off

    1.0.0

    • Remove fof/components dependency

    Due to the confusion regarding * vs *@beta, and the general availability of this extension, I've now tagged 1.0.0, which can be installed normally, just like any other extension.

    Whilst byobu is not quite at the stage I'd like it to be, it's close. Further improvements/updates will follow as time allows me to do so. PR's are also welcome, if you'd like to assist 😉

    Installation/Upgrading
    composer require fof/byobu:"*"
    php flarum migrate
    php flarum cache:clear
    php flarum assets:publish

      IanM

      So I need to change composer.json from "fof/byobu": "@beta" to "fof/byobu": "" before updating?

      • IanM replied to this.
        24 days later

        Hi, just a quick question: if I enable this for my forum, are the private discussions visible only between the members that created the private discussion? As an admin I want to guarantee to the users that their PM-s are not readable by me or the mods.

          CyberGene As an admin I want to guarantee to the users that their PM-s are not readable by me or the mods.

          Private Discussions are only visible to staff able to see flagged posts if one of the posts is flagged by one of the participants. This to prevent spam and other abuse.

            FriendsOfFlarum How can I change the 10 seconds vote rate limit to another value? I searched on the code with no luck.

            8 days later

            1.0.1

            Updating
            composer require fof/byobu:"*"
            php flarum cache:clear
            5 days later

            Hello! Would it be possible to use it without a recipient? For example, to take notes that only I can see.

              jsystems73 in previous versions this was possible. Not sure when it changed but it's no longer possible.

                luceos Thank you. And is there an extension that allows you to make your own note that no one sees?

                  jsystems73 not that I know of. You can create a tag that is available on to a permission group you are part of. I'm a bit disappointed that Byobu has lost this functionality over time, maybe I'll reintroduce this in the future.

                  I have a few questions regarding the permissions. I installed this plugin recently and when reviewing the permissions, I allowed all users the following Moderate permissions:

                  "Edit users partaking in private discussions"
                  "Edit groups partaking in private discussions"

                  My assumption at the time was that this will apply only to users who created a private discussion and will allow them to add more participants.

                  However I recently realized that any user on the forum can turn a public discussion into a private one 😃

                  • Isn't that a bug? Why would anyone be able to turn a public discussion into a private one?
                  • If that happens, who can restore the private discussion to public again and how? I believe as an admin/mod I won't be able to see the private discussion anymore and thus this is a bit unexpected. What would the solution be?
                  • I have already limited those permissions only to admins/mods. However is it possible for private discussion owners to add new participant at a later time if those permissions are disabled for users?
                  • If I assign those permissions to admin/mods but since these are private discussions, i.e. invisible to admins/mods, what's the point if the admin/mod cannot see the discussion to edit the participants?

                    I'm not sure if it's related to the Flarum 1.1 update but I noticed that when on mobile (iPhone) and I click on a private discussion, some weird things happen, I don't exactly what but it seems some other view (?) is open instead of the private discussion, like some random thread, I can't describe it. I think maybe the participant names are links and would open something like a filtered list with that user discussions or something like that. Which should not happen on mobile because the discussion list is too small to be able to discern where you click. The entire area should be a single link to the private discussion.

                      CyberGene Isn't that a bug? Why would anyone be able to turn a public discussion into a private one?

                      Maybe the discussion derailed to contain sensitive information. Honestly, it should also be possible to make private discussions public again. Not sure that's still possible after all the rewrites.

                      CyberGene If that happens, who can restore the private discussion to public again and how? I believe as an admin/mod I won't be able to see the private discussion anymore and thus this is a bit unexpected. What would the solution be?

                      I don't think that's possible again. Well from a code perspective it is, but right now if each participant leaves (or is removed) the discussion is deleted. We can and I'd love to add more functionality with a button that says "Make Public" so that the discussions is again public by asking for tags etc.

                      CyberGene have already limited those permissions only to admins/mods. However is it possible for private discussion owners to add new participant at a later time if those permissions are disabled for users?

                      Unless the current "Create private discussions with users" and the groups one allows for editing by the current participants, I think it might need a change in the code or a new permission. Understand that this is a grey area, people participating might not want more participants added without their approval..

                      CyberGene If I assign those permissions to admin/mods but since these are private discussions, i.e. invisible to admins/mods, what's the point if the admin/mod cannot see the discussion to edit the participants?

                      Good point. Private discussions do become visible to Mods if they are flagged for instance. And in discussions where these elevated groups are participating, they are able to modify the participants. But I agree that this system is pretty vague. I think we're not using Byobu this way and so I have never run into these problems.

                      CyberGene can you maybe create a video capture of this behavior? I'm not seeing anything wrong here on discuss which also runs v1.1.