Skip to content

NodeBB socket with CloudFlare

Unsolved Performance

Related Topics
  • Interesting Widget code, but can't fetch API

    Solved Customisation
    26
    2 Votes
    26 Posts
    2k Views

    @Panda said in Interesting Widget code, but canā€™t fetch API:

    How did you drop that widget into the post there?
    I hadnt seen this BSgenerator anywhere on sudonix site, do you use it somewhere already?

    Yes, here

    https://sudonix.org/topic/414/corporate-bullshit-generator?_=1687774393044

    Itā€™s not a ā€œpostā€ or ā€œtopicā€ in the common sense. It is actually a page in itā€™s own right and leverages nodebb-plugin-custom-pages. This in turn creates a new ā€œrouteā€ which behaves like a page, meaning it is then exposed for widgets.

    @Panda said in Interesting Widget code, but canā€™t fetch API:

    Also can you explain more what you mean by calling the code externally. In my API call example, how would I go about doing that?

    By this, I mean create all the required code in an external JS file that is reachable by the NodeBB instance - so, in ā€œpublicā€ for example - or in my case /public/js. The widget then ā€œcallsā€ that file and because it runs outside of the scope of NodeBB, you just need to return the values to the widget.

    Hope this makes sense?

  • Email validation NodeBB

    Bugs
    21
    3 Votes
    21 Posts
    1k Views

    @Panda said in Email validation NodeBB:

    Did you configure that as a custom change to the usual quote icon. How do you do that?
    I notice on NodeBB site its a solid blue quotes

    Yes, I changed it. NodeBB by default users the free font awesome library whereas I use the pro (paid) version SDK have access to a wider set of icons, and at different thicknesses etc. The change of colour is just simple CSS.

  • NodeBB v3 Chat Very Slow

    Moved Performance
    47
    11 Votes
    47 Posts
    4k Views

    @DownPW Seems fine.

  • NodeBB: Creating pages

    Solved Configure
    9
    0 Votes
    9 Posts
    481 Views

    OK, I think I have figured out how to place a link in the footer which will click to a new page.

  • NodeBB v3.0.0-rc.1

    Performance
    1
    1 Votes
    1 Posts
    130 Views
    No one has replied
  • NODEBB: Nginx error performance & High CPU

    Solved Performance
    69
    14 Votes
    69 Posts
    6k Views

    @phenomlab

    Seems to be better with some scaling fix for redis on redis.conf. I havenā€™t seen the message yet since the changes I made

    # I increase it to the value of /proc/sys/net/core/somaxconn tcp-backlog 4096 # I'm uncommenting because it can slow down Redis. Uncommented by default !!!!!!!!!!!!!!!!!!! #save 900 1 #save 300 10 #save 60 10000

    If you have other Redis optimizations. I take all your advice

    https://severalnines.com/blog/performance-tuning-redis/

  • NodeBB slow after DB recovery

    Solved Performance
    1
    5 Votes
    1 Posts
    293 Views
    No one has replied
  • WordPress & NodeBB

    Solved WordPress
    6
    0 Votes
    6 Posts
    651 Views

    @jac That wonā€™t matter. You just redirect at nginx or apache level and itā€™ll work. The generally accepted standard though is to use a subdomain.