Sudonix

    Sudonix

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Solved
    • More
      • Contact
      • Donate
      • FAQ
      • Founder's Journey
      • Terms and Policies
    1. Home
    2. Recent
    1. Technology Consultancy and Advisory
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • phenomlab

      Theming support in Sudonix
      Announcements • themes • • phenomlab

      20
      3
      Votes
      20
      Posts
      400
      Views

      phenomlab

      I spent some more time this afternoon / evening reviewing the overall structure of the themes, and had a lightbulb moment in the sense that it could (and should) be leaner / quicker. The big mistake here is duplicating the CSS in each Swatch (note I’m using the word “Swatch” here because the “theme” is undergoing major refactoring) makes the initial loading slower than it really should be as the entire page has to be reloaded to remove the previous CSS classes.

      From a design perspective, this didn’t make any sense the more I thought about it. So, off to Dev I went and began refactoring. The end result (in Dev at least) is that there is now one “common” CSS file that gets loaded once, and the “swatches” are just CSS variables (rather like mixins) where the existing ones are replaced with a new set on selection.

      Instead of adding another large CSS file, and effectively increasing the load time, we now simply call around 15 mixins and inject these into the head with an Ajax request. This means the Swatch changes instantly, and the site no longer needs to be reloaded to clear out any odd looking artefacts.

      Admittedly, this has now “broken” the daylight theme in the sense that I have to restructure it as it was experiential at the time, and something of a deviation in that the mixins used do not align properly as they do in the other swatches. This was more about attempting to achieve a specific look.

      I succeeded on that front as per the previous post, but now have to rework it based on the changes I’ve made to the other swatches in order to streamline them. One thing I did take from the daylight Swatch is the user posting style (giving an illusion of threaded replies) that makes the overall reading experience better in my view - this is now sewn into all swatches meaning a consistent viewing experience throughout.

      Tomorrow will hopefully allow me time to get the daylight Swatch working again. Once done and tested, I’ll implement it in production.

    • DownPW

      Unsolved New message CSS problem
      Customisation • css • • DownPW

      10
      0
      Votes
      10
      Posts
      70
      Views

      DownPW

      tes. maybe rights pb

    • crazycells

      Solved navigation bar is misplaced when the window gets smaller
      Customisation • bugs • • crazycells

      23
      0
      Votes
      23
      Posts
      150
      Views

      phenomlab

      @DownPW sounds good.

    • Hari

      move out from flarum to wordpress
      WordPress • wordpress flarum migration • • Hari

      75
      0
      Votes
      75
      Posts
      482
      Views

      phenomlab

      @Hari No, there is a limit 🙂 but thanks all the same !

    • JAC

      Unsolved Ethernet speed VERY slow
      Networks • ethernet wifi virgin hub 4 • • JAC

      13
      0
      Votes
      13
      Posts
      55
      Views

      phenomlab

      @Hari said in Ethernet speed VERY slow:

      If you have gigabit hub you should only connect all gigabit connections to stay gigabit mode, in case if you connect a 10mb connection the hub will siwtch to 10mbps mode instead of 1000

      This isn’t true. Hubs are pretty much dead for network connections these days with switches being preferred. The technology difference between hubs and switches is vast in the sense that if a Hub (for example) is 100Mbps and has 24 ports, 100Mbps is shared amongst those ports.

      With a switch, if you have 100Mbps and 24 ports, each port in fact gets 100Mbps - the total bandwidth available is known as the “backplane throughput” - provided the total backplane exceeds the port x speed equation. So, if you wanted a guaranteed 1Gbps throughput on each port with 24 in total, you’d need a 24Gb backplane 🙂

      As an example, the switches we use at work (Cisco Catalyst 3850 48 port POE) have a 176Gb backplane (they are business / data center usage, so no surprises there). The “consumer” switches (such as NetGear for example) will have nowhere near this, and therefore, the overall speed of the port will be impacted by the amount of devices you have running simultaneously.

      Lawrence Popa  /  Jan 26 What is a Backplane? A Network Backplane Throughput Primer What is a Backplane? A Network Backplane Throughput Primer

      Understanding what backplane throughput is, and it’s related concepts, can help you better design and troubleshoot your network.

    • JAC

      Solved Virgin router replacement
      Networks • virgin virgin media hub router • • JAC

      10
      0
      Votes
      10
      Posts
      94
      Views

      JAC

      @phenomlab said in Virgin router replacement:

      @JAC said in Virgin router replacement:

      Still awaiting Gig router ;).

      The router and speeds have been fantastic (wif based) so far, can’t complain 👍🏻😁

    • Madchatthew

      Solved Link vs Refresh
      Customisation • nodebb blog customization • • Madchatthew

      19
      0
      Votes
      19
      Posts
      97
      Views

      phenomlab

      @Madchatthew No problem at all. More than happy to help with stuff like this 🙂

    • crazycells

      Solved fading in /tags page
      Customisation • nodebb • • crazycells

      20
      2
      Votes
      20
      Posts
      152
      Views

      phenomlab

      @DownPW it’s here
      https://sudonix.com/post/3590

      The exact CSS I have here is

      @keyframes rotate180 { from { transform: rotate(0deg); } to { transform: rotate(180deg); } } @keyframes rotate0 { from { transform: rotate(180deg); } to { transform: rotate(0deg); } } .forum-logo:hover { transform: rotate(180deg); } .hover { transform: rotate(180deg); }
    • JAC

      Solved Virgin Media Broadband
      General • • JAC

      258
      0
      Votes
      258
      Posts
      490
      Views

      JAC

      @phenomlab said in Virgin Media Broadband:

      @JAC yes, very reliable with no issues.

      Thanks very much matey, will buy this in a few days and keep you updated.

    • phenomlab

      How to blur NodeBB on modal
      Development • blur modal • • phenomlab

      2
      1
      Votes
      2
      Posts
      22
      Views

      DownPW

      Very good effect 😉
      Thanks for the tip Mark !

    • Hari

      Solved nodeJS is the best
      Performance • • Hari

      9
      1
      Votes
      9
      Posts
      117
      Views

      DownPW

      no no no

      @DownPW said in nodeJS is the best:

      hmmm I’ve already had this on my forum !!!

    • phenomlab

      CSS3: Gradient Generator
      Development • css gradient • • phenomlab

      1
      1
      Votes
      1
      Posts
      27
      Views

      No one has replied

    • phenomlab

      SWATCH: Colours, Gradients, and much more
      Development • colour gradient • • phenomlab

      1
      1
      Votes
      1
      Posts
      23
      Views

      No one has replied

    • phenomlab

      Only those who do nothing make no mistakes
      Mentoring • quotes motivational • • phenomlab

      4
      4
      Votes
      4
      Posts
      87
      Views

      JAC

      @phenomlab said in Only those who do nothing make no mistakes:

      @crazycells yes, one of my favorites. People seem very quick to criticize when you do something wrong, yet never say anything when you get it right.

      A good little read, enjoyed that 😁.

    • phenomlab

      Humour
      Chitchat • humour • • phenomlab

      8
      3
      Votes
      8
      Posts
      159
      Views

      phenomlab

      For anyone who’s recently bought a 3d printer…
      20220619_190220.jpg

    • Hari

      Solved Is whitelisting all of CF ips on plesk panel a good idea?
      Security • cf ips mod security • • Hari

      4
      0
      Votes
      4
      Posts
      186
      Views

      phenomlab

      @Hari that’s a common Plesk issue. I had that all time when using it and eventually you’ll need to poke so many holes like this to get things to work that your security will look like Swiss cheese.

      One of the reasons I stopped using Plesk.

    • Hari

      Solved Do i need more RAM? Plesk
      Performance • plesk digitalocean • • Hari

      3
      0
      Votes
      3
      Posts
      49
      Views

      phenomlab

      @Hari welcome to Grafana, the most confusing stats package there is !

      According to the guidelines, you certainly have enough RAM at 4gb

      Apr 27 Plesk Requirements – Hardware & Software Plesk Requirements – Hardware & Software

      Plesk Obsidian is the new generation of the very popular Plesk control panel for website hosts. Plesk Obsidian has numerous advanced features and includes support for the latest tech, including Git, AutoSSL and Docker. Plesk Hardware RequirementsAs any other complex software solution, Plesk...

    • Hari

      What is wrong with my screen? | Alienware 17 R3
      Bugs • dell alienware • • Hari

      5
      0
      Votes
      5
      Posts
      49
      Views

      phenomlab

      @Hari That’s a failed LCD panel if I ever saw one

    • qwinter

      Unsolved Moving away from the quill.js plugin
      Customisation • quill settings forum-restart • • qwinter

      12
      0
      Votes
      12
      Posts
      105
      Views

      phenomlab

      It’s worth adding @qwinter that 2.x is now completely stable.

    • Hari

      Solved installing flarum with plesk
      Configure • flarum • • Hari

      78
      0
      Votes
      78
      Posts
      356
      Views

      Hari

      @phenomlab thanks a lot, have a nice day 🙂