Skip to content

RSS parser script [NodeBB]

Customisation

Related Topics
  • Planned sunset of NTFY plugin

    Pinned Announcements
    7
    8 Votes
    7 Posts
    183 Views

    Iโ€™ve noticed that Iโ€™m the only one subscribed to the push notifications on this site. If you were using NTFY previously, and have noticed that youโ€™ve not had any alerts for a while, itโ€™s because this feature has been disabled.

    Youโ€™ll now need to use the push notification to replace NTFY as mentioned in the first post.

  • Nodebb design

    Solved General
    2
    1 Votes
    2 Posts
    292 Views

    @Panda said in Nodebb design:

    One negative is not being so good for SEO as more Server side rendered forums, if web crawlers dont run the JS to read the forum.

    From recollection, Google and Bing have the capability to read and process JS, although itโ€™s not in the same manner as a physical person will consume content on a page. It will be seen as plain text, but will be indexed. However, itโ€™s important to note that Yandex and Baidu will not render JS, although seeing as Google has a 90% share of the content available on the web in terms of indexing, this isnโ€™t something youโ€™ll likely lose sleep over.

    @Panda said in Nodebb design:

    The โ€œwrite apiโ€ is preferred for server-to-server interactions.

    This is mostly based around overall security - you wonโ€™t typically want a client machine changing database elements or altering data. This is why you have โ€œclient-sideโ€ which could be DOM manipulation etc, and โ€œserver-sideโ€ which performs more complex operations as it can communicate directly with the database whereas the client cannot (and if it can, then you have a serious security flaw). Reading from the API is perfectly acceptable on the client-side, but not being able to write.

    A paradigm here would be something like SNMP. This protocol exists as a UDP (UDP is very efficient, as it is โ€œfire and forgetโ€ and does not wait for a response like TCP does) based service which reads performance data from a remote source, thus enabling an application to parse that data for use in a monitoring application. In all cases, SNMP access should be โ€œROโ€ (Read Only) and not RW (Read Write). It is completely feasible to assume complete control over a firewall for example by having RW access to SNMP and then exposing it to the entire internet with a weak passphrase.

    You wouldnโ€™t do it (at least, I hope you wouldnโ€™t) and the same ethic applies to server-side rendering and the execution of commands.

  • Composer options on nodebb

    Solved Configure
    8
    3 Votes
    8 Posts
    430 Views

    @Panda You should be able to expose the CSS for these using F12 to get into console

    3591518c-e3a3-4ada-a43c-6b32a5e0359c-image.png

    a2b8ed46-4157-4ff2-85f0-576543380107-image.png

    That should then expose the element once selected

    89d9c545-a47a-40d1-98f4-80cf3b958e8f-image.png

    Hereโ€™s the below CSS you need based on the screenshot provided.

    .composer .formatting-bar .formatting-group li[data-format="picture-o"], .composer .formatting-bar .formatting-group li[data-format="spoiler"] { display: none; }
  • NodeBB v3 Vote Icon

    Solved Customisation
    9
    2 Votes
    9 Posts
    735 Views

    @phenomlab forget it, look likes good with your codes.

  • [NodeBB] greeting message

    Solved Customisation
    2
    3 Votes
    2 Posts
    639 Views

    @pwsincd welcome to sudonix, and thanks for the comments. What your looking for is here

    https://sudonix.com/topic/195/nodebb-welcome-message/3?_=1648295651358

  • [NODEBB] Welcome Message

    Solved Customisation
    18
    13 Votes
    18 Posts
    2k Views

    For anyone reviewing this post, thereโ€™s an updated version here that also includes an sunrise / sun / moon icon depending on the time of day

    https://sudonix.com/topic/233/nodebb-welcome-message-with-logo-footer-change/3?_=1645445273209

  • NodeBB Design help

    Solved Customisation
    8
    2 Votes
    8 Posts
    965 Views

    @riekmedia Iโ€™ve applied some new CSS to your site. Can you reload the page and try again ?

    For the record, this is what I added

    #footer { background: #2d343e; border-top: 4px solid #2d343e; font-size: 0.9em; margin-top: 70px; padding: 80px 0 0; position: relative; clear: both; bottom: 0; left: 0; right: 0; z-index: 1000; margin-left: -15px; margin-right: -338px; }

    The /categories page seems a bit messed up, so looking at that currently

    EDIT - issued some override CSS in the CATEGORIES widget

    <!--- CSS fix for overspill on /categories page - DO NOT DELETE --> <style> #footer { margin-right: -45px; } </style>

    That should resolve the /categories issue.

  • NodeBB customisation

    Locked Customisation
    332
    27 Votes
    332 Posts
    78k Views

    @jac Given your departure away from your previous project, Iโ€™m going to close this threadโ€ฆ ๐Ÿ™‚