Skip to content

Want to use Sudonix themes ?

Chitchat

Related Topics
  • Who uses Flarum?

    Chitchat
    22
    7 Votes
    22 Posts
    394 Views

    @Madchatthew I use it here. It is faster, but not sure if that extends to build times.

  • NodeBB recent cards customisation

    Solved Customisation
    3
    2 Votes
    3 Posts
    114 Views

    @phenomlab thank you very much for the assistance Mark, massively appreciated as always.

    The great thing about this is itā€™s all documented for other NodeBB users that come looking for solutions šŸ˜ƒ.

    Looks far better šŸ¤šŸ‘šŸ».

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

  • IMPORTANT: Theme / Swatch changes

    Announcements
    4
    6 Votes
    4 Posts
    287 Views

    @cagatay these changes arenā€™t published anywhere presently, so nothing for you to do.

  • What is this bar called?

    Solved Customisation
    92
    36 Votes
    92 Posts
    8k Views

    This is good šŸ‘

  • adding some console.log to Nodebb

    Solved Customisation
    4
    1 Votes
    4 Posts
    577 Views

    @eeeee if youā€™re using the console, you could try

    node app.js > app.log 2>&1

    This would redirect stdout to a file named app.log and redirect stderr to stdout.

    Iā€™m not sure about standard logging under NodeBB, but there is an error log located at logs/error.log.

    Failing that, you could always stop the NodeBB service then use ./nodebb dev from the console which would then provide debug output.

  • Adding fileWrite to nodebb code

    Solved Configure
    16
    5 Votes
    16 Posts
    782 Views

    @eveh this might be a question for the NodeBB Devs themselves. In all honesty, Iā€™m not entirely sure without having to research this myself.

  • unable to upvote on forum

    Solved Performance
    10
    3 Votes
    10 Posts
    727 Views

    @phenomlab yes, i can understand. it is working now šŸ™‚