Skip to content

Want to use Sudonix themes ?

Chitchat

Related Topics
  • IMPORTANT: Theme / Swatch changes

    Announcements
    4
    6 Votes
    4 Posts
    263 Views

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

  • Interesting Widget code, but can't fetch API

    Solved Customisation
    26
    2 Votes
    26 Posts
    1k 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?

  • Smart Widgets

    Solved Configure
    9
    3 Votes
    9 Posts
    429 Views

    @Panda said in Smart Widgets:

    So why is that, or conversely why would the function to expose username ever be required, as it seems app.user is already an available global object?

    It is, yes, but not if you are using it outside of a widget. The function I wrote is also historical and comes from the 2.x train 🙂

  • NodeBB: Creating pages

    Solved Configure
    9
    0 Votes
    9 Posts
    424 Views

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

  • optional "snow falling" theme

    Solved Customisation
    6
    6 Votes
    6 Posts
    357 Views

    @Sala ok, but that’s still the same loop which is going to have an impact on the CPU.

  • Custom badges

    Solved Customisation
    103
    49 Votes
    103 Posts
    10k Views

    Perfect 😉

  • Error install plugin

    Solved Customisation
    8
    1 Votes
    8 Posts
    573 Views

    @pobojmoks

    Not WP plugin but nodeBB but it a known bug

  • [NodeBB] custom Gravatar image not showing

    Solved Customisation
    6
    1 Votes
    6 Posts
    1k Views

    @jac said in [NodeBB] custom Gravatar image not showing:

    @phenomlab said in [NodeBB] custom Gravatar image not showing:

    @jac are you using Custom ?

    Sure am mate 👍🏻

    Confirmed Fixed