Jump to content



  • Posts

  • Joined

  • Last visited

 Content Type 



IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog



Everything posted by Ibai

  1. I would not recommend enabling lazy loading for all the images. It makes the forum way slower in my experience.
  2. Fine, thanks! Cache makes sense! Anyhow, I've made a bit smaller Database thumbnails with the tip you shared. What about downloads? I am not able to find this settings in Files. :-s
  3. Many thanks! Is this your set up? Isn't that too big? Usually thumbnails in widgets are way more smaller. This makes Google PageSpeed to argue because of the size 😓
  4. So it's no possible to parametrize... The point is that usually widgets load smaller images, and about 50px width... so loading a 500px width image I guess it's not the best idea. In fact, the Google PageSpeed tool always is suggesting that I'm loading too heavy images... Any idea? I only want to change this for certain widgets. Any how, how can I change that parameter in Databae settings? Where's that option? Thanks!!
  5. Hey there, I'm trying to optimize my community and I see that this lines load a thumbnail of the original imagen with a maximum of 500px with. {file="$record->_record_image_thumb" extension="cms_Records"} Is there any parameter or setting to build it, for instance, with a maximum of 200px? Cheers, Ibai
  6. I know! However I'm not very creative... maybe there's a pack made by someone with a list of new items for each features 🙂
  7. Hey there! I liked the new gamification achievements feature. However, do you think the current list of badges and ranks are enough items? Is there any new pack of badges, ranks and rules that could be installed in the forum? Cheers, Ibai
  8. Hey there, Just upgraded to 4.6 and all my members are Newbies. Once I posted after 4.6 I saw I was given my badges. Anyhow, still Newbie. Is there a way to force full rebuild and also assign Ranks? Is sth rebuilding in the background as it is just upgraded or do I have to force it from Achievements Settings? Thanks!
  9. Maybe SEO recommendations? Page Speed? I agree there are several things that might be improved in IPS.
  10. Absolutely interesting feature, I love this suggestion. There's a plugin to manage tags (colors/css, mass edit, etc.), but still basic. A mix between that plugin and wordpress-like system would be brilliant.
  11. I'd love that. I regret to enable the attachment system globally as I know my community will abuse uploading images every now and then. However it would be interesting to let users to set "header images" to every content unit so it would be used when sharing in social networks.
  12. Hey, I'd like to be able to set a social network image for each forum category/files category/articles category/page form the ACP. I saw there's the grid image for forums category that is not being used for social network. Sth like that should be enough. What do you think?
  13. This is an update, in order not to cut the text in the middle of a <br/> and break the HTML. In this code I try to get the first "space" after 700 chars. {{$real_truncated_text=substr($record->truncated(),0,strpos($record->truncated(), ' ', 700));}}{$real_truncated_text|raw}
  14. UP Is there any workaround? Does IPS developers considered this issue?
  15. Hey Eudemon, Thanks for your tips. Yeah, definitely the code was optimizable, that was the first approach. I applied your second suggestion. However, are you sure that one line of push is enough? I've been testing and when I code just one line of push, it shows only the last ad. I put back that line for each ad and now is showing all of them. Thanks for your support!
  16. Thanks for the idea @Eudemon This is my final code for long articles, which I inserted in a advertisement block and then I load wherever I want with {advertisement="myad"} <script> const yoyo = '<ins class="adsbygoogle"........ADSENSE INS TAG.......></ins>'; window.addEventListener('load', function () { if($("article:eq(0) p").size()>10){ $("article:eq(0) p:eq(8)").after(yoyo); (adsbygoogle = window.adsbygoogle || []).push({}); } if($("article:eq(0) p").size()>25){ $("article:eq(0) p:eq(20)").after(yoyo); (adsbygoogle = window.adsbygoogle || []).push({}); } if($("article:eq(0) p").size()>50){ $("article:eq(0) p:eq(43)").after(yoyo); (adsbygoogle = window.adsbygoogle || []).push({}); } if($("article:eq(0) p").size()>75){ $("article:eq(0) p:eq(69)").after(yoyo); (adsbygoogle = window.adsbygoogle || []).push({}); } if($("article:eq(0) p").size()>100){ $("article:eq(0) p:eq(98)").after(yoyo); (adsbygoogle = window.adsbygoogle || []).push({}); } if($("article:eq(0) p").size()>130){ $("article:eq(0) p:eq(128)").after(yoyo); (adsbygoogle = window.adsbygoogle || []).push({}); } if($("article:eq(0) p").size()>170){ $("article:eq(0) p:eq(167)").after(yoyo); (adsbygoogle = window.adsbygoogle || []).push({}); } }); </script>
  17. Hey thanks @Eudemon! I understand the code. However, how can I embed adsense code? Just copy and paste their code there escaping the quote mark? Would that work?
  18. Hey there! I have several advertisements blocks and also blocks widgets that can load these advertisements. I was wondering... Can I use the {block="myblock"} or {advertisement="myad"} inside a page content? How do you resolve this thing? Cheers, Ibai
  19. Definitely didn't work hehe. I think IPS should develop sth. If you have a list of 20 LONG articles, the webpage load is very heavy and suboptimal. Potentially would make it worse in SEO terms. The browser has to wait until the whole page is downloaded and then execute the javascript to perform the lines cut. Anyhow, thanks for the workaround!
  20. Wow thanks! Then if 500 is the default length for truncated, why is not truncating my content and instead it shows the full content? Maybe this is a bug? Cheers, Ibai
  21. Hey, Just if somebody was in the same point as me. This is the code that I'm currently using. The template is in Category Articles -> entry. Find: {record->truncated()|raw} Replace with: {{$real_truncated_text=substr($record->truncated(),0,700);}}{$real_truncated_text|raw} Warning! This is working for me and for my structure with a sidebar. If you are not using a sidebar, maybe you have to increment the 700 to your desired chars number.
  22. I know it's possible to break HTML code. However, I guess, the "truncate()" function already "simplifies" the HTML that is being shown, there's no HTML special tags. In fact, there's only <br>s. I mean, wouldn't it be a good idea to cut the text to 500 chars even if it's more that what's going to be shown? Just as a matter of optimization. If you post contents of thousands of chars, all of them are sent to the response. Thanks for the advice and idea, I'm going to apply it to my forum 🙂
  23. Hey there, I'm using Pages as a blog with 1 column design. When something is working slow (internet, server, client browser...), during the load of the web, the full article text is shown. Finally, when the webpage finishes loading, some javascript is run and the content of each article is truncated to N lines. What fires this truncation is this attributes in the section HTML tag: data-ipsTruncate data-ipsTruncate-size='7 lines' First question: Why is this being cut in the client and not in the backend? That makes the HTML heavier, CLS issues and so on. Is there any workaround? Then, I see this function which cleans the HTML {$record->truncated()|raw}, but does not cut the text. Is it possible to cut the text in there? Cheers, Ibai
  24. Hey! Previousloy with IPS <4.5, when a user was adding images to a post, they weren't enabling lightbox feature unless the image was bigger than the post box dimensions. Now in 4.5, the lightbox is always binding to any image even if the image is just a button such as this, let my try here: As you can see, the Invision logo is smaller than the post size, so I think it does not make sense to enable the lightbox system. This is a simple example, my users build posts with lots of images in a icon basis way, so it's very unconfortable to load the lightbox feature to them. Is there a way to lock this feature with small images?
  25. I loved this plugin and it's a pity all of this. Installed last version and I sth is not working fine. First the plugin was not saving my settings, then I unistalled and installed back again and most of the settings are saving fine (some of them not). However, the footer is not being displayed in my forum 😞
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy