Skip to content

Want to use Sudonix themes ?

Chitchat

Related Topics
  • Who uses Flarum?

    Chitchat
    22
    7 Votes
    22 Posts
    393 Views

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

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

  • NodeBB: updating Admin details not working

    Solved Configure
    17
    3 Votes
    17 Posts
    684 Views

    @mventures Ok. No issues

  • Rotating homepage icons, gifs?

    Solved Configure
    2
    3 Votes
    2 Posts
    245 Views

    @eveh Itโ€™s not a GIF, no. Itโ€™s actually a webp file so made much smaller, and uses keyframes to control the rotation on hover. You can easily make your own though ๐Ÿ™‚

    The CSS for that is as below

    @keyframes rotate180 { from { transform: rotate(0deg); } to { transform: rotate(180deg); } } @keyframes rotate0 { from { transform: rotate(180deg); } to { transform: rotate(0deg); } }

    Your milage may vary on the CSS below, as itโ€™s custom for Sudonix, but this is the class that is used to control the rotate

    .header .forum-logo, img.forum-logo.head { max-height: 50px; width: auto; height: 30px; margin-top: 9px; max-width: 150px; min-width: 32px; display: inline-block; animation-name: rotate180, rotate0; animation-duration: 1000ms; animation-delay: 0s, 1000ms; animation-iteration-count: 1; animation-timing-function: linear; transition: transform 1000ms ease-in-out; }
  • Link vs Refresh

    Solved Customisation
    20
    8 Votes
    20 Posts
    1k Views

    @pobojmoks Do you see any errors being reported in the console ? At first guess (without seeing the actual code or the site itself), Iโ€™d say that this is AJAX callback related

  • Recent Cards plugin customization

    Solved Customisation
    21
    13 Votes
    21 Posts
    3k Views

    @pobojmoks thatโ€™s easily done by modifying the code provided here so that it targets background rather than border

    In essence, the below should work

    $(document).ready(function() { $(window).on('action:ajaxify.end', function(data) { $('.recent-card-container').each(function(i) { var dataId = $(this).attr("data-cid"); var color = $('[role="presentation"]', this).css("background-color"); console.log("data-cid " + dataId + " is " + color); $('[data-cid="' + dataId + '"] .recent-card').attr("style", "background-color: " + color); }); }); });
  • [NodeBB] greeting message

    Solved Customisation
    2
    3 Votes
    2 Posts
    640 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

  • Iframely (Nodebb)

    Solved Configure
    40
    4 Votes
    40 Posts
    3k Views

    @DownPW This is now resolved. The issue was an incorrect URL specified in the Nodebb plugin. Iโ€™ve corrected this, and now it works as intended.