fakruzaruret I think someone else had this problem or something similar, but then they solved that problem. I'm not sure what they did. Maybe try removing the extension and then re-add it?

Your Flarum installation should have an assets folder in your public directory. Some extensions, like this one, will add files there upon activation within an extensions folder (as you can see from that error message). It should not matter that your Flarum is installed in a subdirectory.

As a first troubleshooting step, go to your public folder and make sure you do have an assets folder. If you don't then there is possibly something wrong with your installation.

    010101
    Asset folder is in main directory not in public. I removed public folder and modified nginx file according to this. I have two flarum in subdirectories: domain.com/tr/ domain.com/en/ . Other extensions works well but bbbbcode does not work as them.

      fakruzaruret Your other extensions probably do not need the assets folder. Only some extensions add files to the public assets folder. I'm not sure what the issue is, I'm sorry. Maybe someone with a similar set up to yours will come along and help. At the end of the day, you have to point to files in: /assets/extensions/zerosonesfun-bbbbcode/

        010101 Thank you. I will try it. I guess I need to change bbbbcode's codes.

        010101 I have solved my problem. I have added subdirectory's path to css and javascript href and src at extend.php in vendor/zerosonesfun/bbbbcode.

        Before
        $document->head[] = '<link rel="stylesheet" type="text/css" href="/assets/extensions/zerosonesfun-bbbbcode/styles.css"><script src="/assets/extensions/zerosonesfun-bbbbcode/index.js"></script>';
        After
        $document->head[] = '<link rel="stylesheet" type="text/css" href="/tr/assets/extensions/zerosonesfun-bbbbcode/styles.css"><script src="/tr/assets/extensions/zerosonesfun-bbbbcode/index.js"></script>';

        Screenshot

        @010101 Does accordion feature work properly? In the begining accordions hide collapsed content (this is normal). They expands contents when I click to headers but It does not hide again when I click to header. I think clicking to same header should can hide and show the content. I click to another header to hide pointed content.

        Accordion Feature as I mentioned https://getbootstrap.com/docs/4.0/components/collapse/

          How can we use numbered list like this (nested or something.):

          1. Title
            ___1.1. Title
            ___1.2 Title

            fakruzaruret

            You can manually space out titles, if you mean this:

            1. Title
              1. Title
              2. Title

            (I used 4 spaces). You could probably just use tabs too, not sure.

            Copy paste:

            1. **Title**
                1. **Title**
                2. **Title**

            Maybe there is more proper way to do this, I don't know.

            fakruzaruret Are you talking about how to use markdown lists inside of the accordion BBcode? It doesn't like markdown lists. I'm not 100% sure why. Other markdown works fine inside of the accordion. For example, you can make text bold with no issues.

            You can still create a list inside of the accordion though. You just need to trick the markdown extension so that it does not convert your list.

            In other words, if you do the following, Flarum's markdown extension will think you want a markdown list, which will not work with the accordion:

            - one
            - two 
            - three

            But, if you do something like this, the markdown extension will ignore it, but you'll still have a list and it will work inside of the accordion:

            1)
            2)
            3)

            Or use something other than a dash:

            ~ one
            ~ two
            ~ three

            Full example with BBcode:

            [accordion header="Step 1"]
            1) Do this
            2) Then this
            3) And this
            [/accordion]
            [accordion header="Step 2"]
            ~ Don't forget this
            ~ And this!
            [/accordion]

              010101
              I mention about method at image. I could not do it without using accordion(I can use accordion but I have wondered that can I do it by listing). Thank you very much for your help and ideas.

              • And I want to ask question. Will the background feature for text come to next releases? There is highlight at the moment.

              Nested number

                fakruzaruret Sorry, I’m still not sure if you are trying to add lists inside of the accordion or if you are just trying to make lists in general.

                If you are trying to create a markdown list inside the accordion it won’t work.

                If you just need help with lists in general, outside of the accordion, please create a new topic.

                  010101 If you just need help with lists in general, outside of the accordion, please create a new topic.

                  Ok I will create new topic. Thank you for your interest.

                  Edit:
                  I have done it.

                  Example ( it support 2 layer as much but I have added "-" to bottom line):

                  1. Program Countries
                    1.1 EU
                    1.2 Non-EU
                  2. Partner Countries
                    2.1 Eastern Countries
                    2.2 North America
                    -2.2.1 The USA
                    -2.2.2 Canada
                    2.3 South America
                    -2.3.1 Bolivia
                    -2.3.2 Argentine
                  3. Other Countries

                    010101 I deactivated bbbbcode to update and the website give me error and I cant open anymore. Now I have updated but I cant load website.

                    There was an error loading the page.

                      fakruzaruret I saw in the other thread you started that you resolved this. But, it wasn’t clear if you reverted back to 2.5.1 or if the latest version, 2.6, is working for you. I’m just curious... did you get version 2.6 installed?

                        14 days later

                        fakruzaruret

                        Flarum already supports this. It is part of the standard/core bbcode extension.

                        Code:
                        [IMG src=http://clipart-library.com/images/Lcdooan6i.png height=50 width=50]

                        You can even add a title and alt:
                        [IMG src=http://clipart-library.com/images/Lcdooan6i.png title=An apple alt=An apple height=50 width=50]