datitisev

Updated but the problem remains the same (Ubuntu 18.04 LTS: Brave/Chrome/Firefox)
I didn't find any index.js in fof/formatting directory:

~/subdomains/latoilemysterieuse.a2co.org
$ find ./vendor/fof/formatting -type f
./vendor/fof/formatting/src/Listeners/FormatterConfigurator.php
./vendor/fof/formatting/src/Listeners/ClearCache.php
./vendor/fof/formatting/resources/less/admin.less
./vendor/fof/formatting/resources/locale/en.yml
./vendor/fof/formatting/LICENSE.md
./vendor/fof/formatting/composer.json
./vendor/fof/formatting/extend.php
./vendor/fof/formatting/js/package.json
./vendor/fof/formatting/js/webpack.config.js
./vendor/fof/formatting/js/dist/admin.js.map
./vendor/fof/formatting/js/dist/admin.js
./vendor/fof/formatting/js/admin.js
./vendor/fof/formatting/js/package-lock.json
./vendor/fof/formatting/README.md

Here the snapshot of the console in Brave:

Others FoF Extensions have index.js files:

$ find . -name index.js | grep fof
./vendor/fof/linguist/js/src/admin/index.js
./vendor/fof/byobu/js/src/admin/index.js
./vendor/fof/byobu/js/src/forum/index.js
./vendor/fof/byobu/js/src/common/index.js
./vendor/fof/ignore-users/js/src/admin/index.js
./vendor/fof/ignore-users/js/src/forum/index.js
./vendor/fof/user-bio/js/src/forum/index.js
./vendor/fof/user-directory/js/src/admin/index.js
./vendor/fof/user-directory/js/src/forum/index.js
./vendor/fof/masquerade/js/src/admin/index.js
./vendor/fof/masquerade/js/src/forum/index.js
./vendor/fof/drafts/js/src/admin/index.js
./vendor/fof/drafts/js/src/forum/index.js
./vendor/fof/split/js/src/admin/index.js
./vendor/fof/split/js/src/forum/index.js
./vendor/fof/stopforumspam/js/src/admin/index.js
./vendor/fof/subscribed/js/src/admin/index.js
./vendor/fof/subscribed/js/src/forum/index.js
./vendor/fof/username-request/js/src/admin/index.js
./vendor/fof/username-request/js/src/forum/index.js
./vendor/fof/nightmode/js/src/forum/index.js

[deleted]

Nope! Everything unlocked...

If it could helps ...
Flarum info:

Flarum core 0.1.0-beta.11.1
PHP version: 7.3.12
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, pcntl, readline, Reflection, session, standard, SimpleXML, sockets, mbstring, tokenizer, xml, mysqlnd, bcmath, curl, dba, dom, enchant, fileinfo, gd, imagick, imap, intl, json, ldap, exif, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, redis, soap, sodium, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, xmlreader, xmlrpc, xmlwriter, xsl, zip, ionCube Loader, Zend OPcache
+---------------------------------+-----------------+--------+
| Flarum Extensions               |                 |        |
+---------------------------------+-----------------+--------+
| ID                              | Version         | Commit |
+---------------------------------+-----------------+--------+
| flarum-lang-english             | v0.1.0-beta.11  |        |
| flarum-flags                    | v0.1.0-beta.10  |        |
| flarum-likes                    | v0.1.0-beta.9   |        |
| flarum-lock                     | v0.1.0-beta.9   |        |
| flarum-mentions                 | v0.1.0-beta.10  |        |
| flarum-statistics               | v0.1.0-beta.9   |        |
| flarum-sticky                   | v0.1.0-beta.9   |        |
| flarum-subscriptions            | v0.1.0-beta.9   |        |
| flarum-suspend                  | v0.1.0-beta.10  |        |
| flarum-tags                     | v0.1.0-beta.11  |        |
| fof-pages                       | 0.2.7           |        |
| fof-links                       | 0.2.1           |        |
| fof-follow-tags                 | 0.3.4           |        |
| fof-ban-ips                     | 0.1.5           |        |
| fof-stopforumspam               | 0.2.0           |        |
| fof-ignore-users                | 0.1.4           |        |
| fof-user-directory              | 0.3.3           |        |
| fof-disposable-emails           | 0.1.0           |        |
| fof-username-request            | 0.2.0           |        |
| fof-pretty-mail                 | 0.1.6           |        |
| fof-custom-footer               | 0.1.3           |        |
| fof-socialprofile               | 0.1.1           |        |
| michaelbelgium-discussion-views | v0.1.0-beta.8.3 |        |
| fof-byobu                       | 0.3.4           |        |
| fof-nightmode                   | 0.3.0           |        |
| fof-spamblock                   | 0.2.1           |        |
| fof-terms                       | 0.4.0           |        |
| fof-frontpage                   | 0.1.3           |        |
| fof-polls                       | 0.1.1           |        |
| reflar-doorman                  | 0.1.4           |        |
| fof-split                       | 0.4.3           |        |
| fof-merge-discussions           | 0.3.3           |        |
| fof-subscribed                  | 0.2.3           |        |
| fajuu-contactbutton             | v3.0            |        |
| flagrow-direct-links            | 0.2.0           |        |
| flagrow-ads                     | 0.2.4           |        |
| v17development-seo              | 1.0.2           |        |
| jordanjay29-summaries           | 0.3.1           |        |
| fof-drafts                      | 0.1.4           |        |
| fof-linguist                    | 0.4.1           |        |
| milescellar-lang-french         | v1.4.1          |        |
| flarum-markdown                 | v0.1.0-beta.10  |        |
| flarum-bbcode                   | v0.1.0-beta.8   |        |
| rooaaar-lang-french-extended    | v1.14.0         |        |
| fof-bbcode-details              | 0.1.0           |        |
| ericychu-bbcode-editor          | v0.1.0-beta.7.3 |        |
| kvothe-spoiler-bbcode           | 0.1.0           |        |
| flagrow-upload                  | 0.7.1           |        |
| antoinefr-online                | 0.4.0           |        |
| veroz1-users-list               | 0.1.3           |        |
| flagrow-sitemap                 | 0.2.0           |        |
| reflar-level-ranks              | 1.2.1           |        |
| kvothe-reply-to-see             | v0.1.2          |        |
| clarkwinkelmann-emojionearea    | 0.2.0           |        |
| matteocontrini-imgur-upload     | v3.3.0          |        |
| flarum-emoji                    | v0.1.0-beta.10  |        |
| fof-formatting                  | 0.1.3           |        |
+---------------------------------+-----------------+--------+
Base URL: https://latoilemysterieuse.a2co.org
Installation path: /var/www/vhosts/a2co.org/subdomains/latoilemysterieuse.a2co.org
Debug mode: off

Thank you for the help! 👍

    iwoow you may want to try php flarum cache:clear as I'm running beta 11.1 with formatting enabled without issues on the admin side at least.

    Pherinos I see, ok. Theres no index.js because the JS source files aren't downloaded with composer - this is to make downloads smaller and prevent false virus detection (which happened with a dev php script with a few reflar exts).

    I'll look into it.

      Flarum 0.1.0-beta.11
      FoF Formatting 0.1.3 has been breaking
      Administrator interface Crash, No interface, no operation,the configuration interface will not be opened, and the front-end code parsing function cannot run.
      datitisev Excuse me😅 😅 , can I buy some coffee for you? 😅 😅 😅 How? 😅 @luceos

        iwoow As luceos said,


        0.1.4

        • Fix issues with IE in admin area introduced in v0.1.3 🙈

        Updating

        composer require fof/formatting
          8 days later

          I have a problem...
          I set these settings in FoF Formatting:

          But the videos on YT still links:

          Is there another setting to authorize FoF Formatting to change these links in video thumbnails?

            Pherinos are these post previous the enabling the extension? If so the extension probably won't take effect until after you edit and save the post again.

              tankerkiller125 are these post previous the enabling the extension?

              No, the extension had been activated before.

              tankerkiller125 If so the extension probably won't take effect until after you edit and save the post again.

              I edited and saved the posts but it didn't change anything. Cache cleared too...

                Pherinos When I was creating this extension, I noticed some plugins wouldn't properly enable or work for some reason. It's not the extension's fault as far as I can tell. Try disabling MediaEmbed, loading the discussion, and re-enabling MediaEmbed. Loading the discussion should update the formatter cache without the plugin, and then add it back. It may be a bit trial and error until it works, I don't really have a good answer here.

                  datitisev I tried, no success.
                  Don't worry, I think the Upload extension, with the "Disable Hotlinks" option activated is may be at fault, but nothing certain, so don't waste your time with that.

                  TY!

                  4 days later

                  @datitisev it's possible to change width and height for mp4 files? I tried with MEDIA BBCODE but it doesn't work

                    PerioTV I'm not sure, it might not be possible. You could try it globally for the forum with CSS. I didn't make these formatting plugins, I just enable them 🤷.

                      My flarum also cannot transform links to video players. I tried to disable it, refresh the discussion and enable it and discussion again, then re-edit the link post and save again. Nothing works, also no error messages in browser's console.
                      I'm a developer, too, just not very familiar with these web things. I checked the source code, it seems like any link started with http/https and end with .mp4 should be transformed.
                      I understand if there's no answer of how to fix it. Just want to ask if you want me to provide any information to help debug.

                      post

                        [deleted] Yes, also tried to disable and re-enable the plugin again, nothing works. No error message in browser's console.