Skip to content

Threaded post support for NodeBB

Let's Build It

Related Topics
  • NodeBB Twitter / X embeds

    Let's Build It
    31
    19 Votes
    31 Posts
    884 Views

    @OT I honestly am not able to replicate this. Can you PM me a link to a post on your forum with the specific issue so I can have a look?

  • 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.

  • Material View Support for Stock NodeBB

    Unsolved Let's Build It
    51
    15 Votes
    51 Posts
    3k Views

    Oh yes, thatā€™s whatā€™s super cool, I learn something every day. Afterwards I start from so low in JS

  • Following the API docs but its not clear ...

    Solved Customisation
    8
    2 Votes
    8 Posts
    522 Views

    @Panda youā€™d be surprised. If you consider that youā€™d need to use the API to be able to populate a WordPress widget for example (which in turn would of course be PHP), taking this route is still immensely popular.

  • Further Widgets question

    Solved Configure
    4
    1 Votes
    4 Posts
    235 Views

    @Panda category is for a category in its own, so for example, ā€œfruitā€ whereas categories is the page that contains all categories as a list.

  • Upgrade Problem from 2.8.3 to 2.8.4

    Solved Configure
    35
    8 Votes
    35 Posts
    2k Views

    @cagatay No, you can ignore that.

  • 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

  • [NodeBB] username cards

    Solved Customisation
    8
    5 Votes
    8 Posts
    950 Views

    @phenomlab

    Ahaā€¦nice to know. As always thank you for the reply and information.