Can't increase maximum post length above 32767 characters

Technical Support

Suggested Topics


  • 0 Votes
    1 Posts
    45 Views

    Hi, I switched from docker install to normal install and I wonder if i can automate updates because I will 100% forget to apply them in the long term

    I tried to create a script to run once a month to do this:

    delete everything except config.json, packages.json and uploads

    get latest source for the 3.x branch from github

    run ./nodebb upgrade as node user, then start it

    but then I noticed that ./nodebb upgrade can ask "do you want to upgrade this plugin Y/N?", and so it can't be run attended in a script

    I checked in the help and I did not see a command to make it unattended, so I resorted to just run it as ./nodebb upgrade -mib && ./nodebb start, which looks like it does not ask questions

    What do you think?

  • 0 Votes
    11 Posts
    438 Views

    @josef
    far fa-pencil-ruler is a paid icon (the solid version is free). Free parts of the regular pack work just fine - see https://fontawesome.com/v5/search?m=free&s=regular for a list of them. It's much more limited than the solid free pack though (151 icons vs 1001), so that's probably why you ran into this problem so easily.

    The only issue that you might run into if you're using a version before v2.2.0 is that fab class conflicts with another class in Persona theme turning all brand icons into action buttons, but this is resolved in current versions of Persona.

    If you have a paid version of FA5 it should be fairly simple to use it instead - you'd need to replace the FA files in public/vendor/fontawesome with the new ones, set fa-font-path to vendor/fontawesome/webfonts in _variables.less and import the light and duotone less files in src/meta/css.js.

    Also, I wanted to add that FA6 is slated to be added in NodeBB 3.0 (it's waiting until a major release since icon style being changed is possibly breaking) https://github.com/NodeBB/NodeBB/pull/10701

  • 1 Votes
    1 Posts
    663 Views

    Hi, does it possible to delete selected messages posted by custom user? I saw - it possible to delete multiple post in selected topic, and in users profile there is no checkboxes for delete what I want - only view of user posts or topics. How can I do it softly - I don't want to delete user with content. I can do it only by DB query? thanks in advance!

  • 0 Votes
    6 Posts
    2k Views

    @psychobunny I guess it was happening because I changed the HTML structure, and Persona theme CSS uses > selectors, making the styles dependant on the HTML structure. Fixed now anyway thanks 🙂

  • 1 Votes
    9 Posts
    4k Views

    @Dim said:

    ".modal-backdrop {
    z-index: 0;
    } "

    .modal-backdrop { z-index: auto; }

    Would probably be preferable, since auto makes it behave like no z-index property has been specified (as is the case in the default Bootstrap theme used in lavender and persona) which makes the element inherit the z-index of its parent, whereas z-index: 0 forces the z-index to be, well, 0.