Jump to content

Linux-Is-Best

Members
  • Posts

    258
  • Joined

  • Days Won

    2

Reputation Activity

  1. Haha
    Linux-Is-Best reacted to CoffeeCake in Lazy load profile pictures on IPS 4.5   
    I went to your web site. I had a fight with the thing angry at me that I had an adblocker. Lied and told it I disabled it. It sensed my deceit.
    Then I clicked to find a forum post--any forum post. Found one. Conservatorship. Clicked on a topic, and then had a fight with your web site telling me I've had my fill of free content for the day and inviting me to register. While a video played. In the corner. And there were flashing lights.
    I tried. 🙂
    It should add, in the locations Gabriel Torres mentioned here a loading="lazy" attribute to reaction images, reputation images, and avatars. But, I'm not sure how/if it would work with the custom theme you have installed. There will be nothing visually different, however if you inspect the img tags for those locations, you should see loading="lazy" added, as shown below:
    <img src="/path/to/avatar.jpg" loading="lazy">  
  2. Haha
    Linux-Is-Best reacted to Moonbeam in Almost no content, almost no disk space left   
    Yes. I'd finally figured that out. If you picture someone who's just moved into a furnished house and suddenly dealing with a power outage, stumbling around in the dark and knocking things over and slamming their head into unseen walls, you'll have an accurate read on my attempt to wrangle managing this forum. 

  3. Like
    Linux-Is-Best reacted to Matt in Bug: Blog: This site   
    I'm not convinced that Linux is best, but I do appreciate your warm and polite manner. 🙂
    I'll take a look, it might be a caching issue, or a permission issue.
  4. Like
    Linux-Is-Best reacted to Morrigan in Bug: Blog: This site   
    No worries dear. Bugs are just best reported direct to the source. It gives the team the ability to investigate directly and quickly. Unfortunately they can’t always scour the forums to verify bugs reported here.
  5. Thanks
    Linux-Is-Best reacted to Morrigan in Bug: Blog: This site   
    Bugs should always be reported via ticket in the Client Area:
    https://www.invisioncommunity.com/clientarea/
  6. Like
    Linux-Is-Best reacted to Jordan Miller in Support PHP 8.0?   
    Not yet, but we've been working on it for a little while now so I imagine not too too far off 😉 
  7. Agree
    Linux-Is-Best reacted to Jordan Miller in Allow for many reaction emojis   
    My community had ~12 at one point and only 3 were used and the rest were at less than 1% 😆. Not saying it's like that for everyone of course. 
    On Invision Community, we removed the "sad" and "confused" reactions because they were extremely underutilized. 
    Which reminds me, I'd love to see more green +1s 😂 
  8. Like
    Linux-Is-Best reacted to zyx in Downloads basket?   
    I am surprised there has not been more momentum behind this request. 
    Individually checking out for every download item surely reduces the chances of bulk buying. 
    An 'add to cart' button would be incredibly useful. 
  9. Like
    Linux-Is-Best reacted to Rikki in Could JQuery be replaced by vanilla JavaScript?   
    jQuery is obviously not needed in 2021 - I'd love to do away with it. In reality, we have many thousands of lines of JS and the cost/benefit of rewriting everything for that reason alone isn't really there. Plus, we'd likely end up with a lot of helper methods that are essentially reimplementing some of jQuery's helper methods. We use some of the more advanced jQuery features too, so it wouldn't be as simple as updating .find to .querySelectorAll.
    So, the answer is: yes, I agree, but it isn't as simple as saying "let's do that".
    Also, in reality, if we were going to take the opportunity to redo our entire frontend codebase, we'd likely move to a reactive framework to build a better frontend, rather than simply rewriting what we have now but without jQuery. This will happen in time - we can't stay with the same code forever - but again it's about finding the right balance.
  10. Agree
    Linux-Is-Best reacted to Makoto in Could JQuery be replaced by vanilla JavaScript?   
    As JS continues to modernize and become more usable as a core scripting language, I feel like we'll see jQuery at the very least become superseded by something lighter and more powerful.
    But there's never likely a time where we'll move to just raw JS for complex applications. Some type of library will always be needed for the reasons Matt said.
    Those libraries will likely become lighter and faster, but they'll still exist.
  11. Agree
    Linux-Is-Best reacted to Matt in Could JQuery be replaced by vanilla JavaScript?   
    I feel like anyone who lived through 1999-2006 feels the answer to "Do we need jQuery" is a strong yes.
    Of course, we could remove jQuery.
    What jQuery does is make life simpler for developers (as well as resolve a lot of cross browser quirks so developers don't have to think too hard about that). What that blog effectively advocates is the reversal of the number one rule of programming "be lazy". Functions and methods are reusable for a reason.

    For an app as broad and as complex as ours, replacing jQuery with vanilla javascript isn't really viable. We have tens of thousands of lines of javascript code which will multiply into millions without reusable compact methods.

    For a single page website, you probably could just about tolerate it, but honestly I question the effort even then; other than to feel happy as you sip a soy latte while stroking ones hipster beard before adding "Built with ❤️ in vanilla Javascript" in the footer.
  12. Like
    Linux-Is-Best reacted to kmk in Private forum with members   
    I'm try to create communities with Clubs, we found so many time with need of a forum with privacy, as club owner would like create a forum where only visible by specifics members for differents projects, topics or departments. 
    Please consider add this feature. 
    I think with this ability will super help to manage better topics privacy for different groups inside a club. 
  13. Like
    Linux-Is-Best reacted to CoffeeCake in Lazy load profile pictures on IPS 4.5   
    One day, future time traveler, 4.6 will appear. Until that day, here's a plugin that does what @Gabriel Torres documented for you for 4.5.
     
    Lazy Load Images.xml
    Submitted to Marketplace as a free resource for those that like the Marketplace thing:
     
  14. Like
    Linux-Is-Best reacted to Jordan Miller in Lazy loading for Profile Photos   
    I can confirm our next release (4.6) will include lazy loading for profile photos. 🙂
  15. Like
    Linux-Is-Best reacted to sobrenome in We need webp NOW   
    Perfect!!
  16. Thanks
    Linux-Is-Best reacted to Jordan Miller in Lazy load profile pictures on IPS 4.5   
    We have more lazy loading updates on the way as well. Check them out here (and please comment 😊)
     
     
  17. Thanks
    Linux-Is-Best reacted to Jordan Miller in Lazy load profile pictures on IPS 4.5   
    I can confirm our next release (4.6) will include lazy loading for profile photos. 🙂
  18. Like
    Linux-Is-Best reacted to SeNioR- in Lazy loading for Profile Photos   
    Have you considered introducing Lazy Loading for Profile Photos? This would help with page loading speed, If someone uses GIF or a lot of weighty pictures.
  19. Thanks
    Linux-Is-Best reacted to Jordan Miller in We need webp NOW   
    I can confirm WebP will be available in our next release (which is 4.6 btw) 🙂
  20. Agree
    Linux-Is-Best reacted to Rick Vasquez in Lazy load profile pictures on IPS 4.5   
    bumping for the incredible tip. This drastically reduces page load times and should be integrated with the lazy load feature in IPS 4.5 or 4.6 when it comes out. Really simple change to the templates made a major difference.
  21. Like
    Linux-Is-Best reacted to SeNioR- in Lazy load profile pictures on IPS 4.5   
    It really works guys!
    Before (unmodified template)

    After add lazy-loading attribute to

  22. Thanks
    Linux-Is-Best reacted to Matt in Lazy load profile pictures on IPS 4.5   
    We are discussing this internally. 👍
  23. Thanks
    Linux-Is-Best reacted to Gabriel Torres in Lazy load profile pictures on IPS 4.5   
    After researching about this, browsers have now native lazy loader. We only need to edit the templates to add:
    loading="lazy" To all img tags.
    I edited the following templates:
    core > front > global
    reactionBlurb
    reactionLog
    reactionOverview
    reactionTabs
    reputation
    userPhoto
    userPhotoFromData
    This enabled lazy loading for user photos and reactions, and the "Defer offscreen images" warning from Google Lighthouse is now gone! 🙂
    (I also made the same edit in my cms custom templates)
  24. Like
    Linux-Is-Best reacted to Gabriel Torres in Lazy load profile pictures on IPS 4.5   
    Just bumping this to say that I've been trying to optimize our website with Google Lighthouse, and one of the suggestions is that we enable lazy loading for the user uploaded avatars. See below. So +1 for enabling lazy loading on users' avatars.

  25. Like
    Linux-Is-Best reacted to sobrenome in Lazy load profile pictures on IPS 4.5   
    Yes! 😊😊😊
×
×
  • Create New...