Skip to content

Nodebb 3.2.0

Bugs

Related Topics
  • Page control arrows for PWA

    Solved Customisation
    27
    25 Votes
    27 Posts
    2k Views

    @crazycells it is, yes - I think Iโ€™ll leave it as there is no specific PWA CSS classes I know of. Well, you could use something like the below, but this means multiple CSS files for different operating systems.

    /** * Determine the mobile operating system. * This function returns one of 'iOS', 'Android', 'Windows Phone', or 'unknown'. * * @returns {String} */ function getMobileOperatingSystem() { var userAgent = navigator.userAgent || navigator.vendor || window.opera; // Windows Phone must come first because its UA also contains "Android" if (/windows phone/i.test(userAgent)) { return "Windows Phone"; } if (/android/i.test(userAgent)) { return "Android"; } if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) { return "iOS"; } return "unknown"; // return โ€œAndroidโ€ - one should either handle the unknown or fallback to a specific platform, letโ€™s say Android }

    Once youโ€™re in that rabbit hole, itโ€™s impossible to get out of it.

  • Custom html in nodebb to prevent cache

    Unsolved Configure
    18
    2 Votes
    18 Posts
    771 Views

    @Panda Youโ€™ll need to do that with js. With some quick CSS changes, it looks like this

    d619844f-fbfe-4cf1-a283-6b7364f6bf18-image.png

    The colour choice is still really hard on the eye, but at least you can now read the text

  • Nodebb 3.2.2

    Bugs
    27
    11 Votes
    27 Posts
    2k Views

    @crazycells yes, Iโ€™ve just seen that and modified the post. It seems to only happen if you have a space between the โ€œgreater thanโ€ symbol and the actual text.

    Clearly a markdown thing.

  • Unable to change icon in NodeBB navigation

    Tips
    1
    1 Votes
    1 Posts
    214 Views
    No one has replied
  • Why CSS acts different in Desktop?

    Bugs
    11
    4 Votes
    11 Posts
    599 Views

    @DownPW Iโ€™d have to agree with that.

  • Can you adjust Admin settings on your NodeBB?

    Bugs
    5
    0 Votes
    5 Posts
    402 Views

    @Panda as, yes, now I understand and that makes 100% sense. It means those who get down voted can still have an opinion and use common services.

    And yes, youโ€™re right. Rather than down vote, just ignore if you donโ€™t agree.

  • NodeBB upgrade now cant post

    Solved Bugs
    5
    2 Votes
    5 Posts
    406 Views

    @Panda yes, for some reason, that is the case. If you need an urgent response, itโ€™s probably better to post here because of the time difference.

  • Detect if user is admin

    General
    2
    0 Votes
    2 Posts
    497 Views

    @pwsincd I think you can use userData.isAdmin = isAdmin; if Iโ€™m not mistaken - see
    https://community.nodebb.org/topic/15128/how-to-hide-whitelist-user-field-only-to-owner-or-admin?_=1648802303112 for an example