Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

[IPS Marketplace] Speedy Search and Stream Results


Rekomendowane odpowiedzi

Invision Community search and stream results push out the ENTIRE CONTENT ITEM TEXT to the web page and then truncates the result with the browser via Javascript.

This leads to long page load times, snapping screen behavior when the js routines truncate the text after the page has loaded, and so on.

This plugin truncates these results BEFORE they hit your user's browsers, giving them faster load times and better engagement.

Speedy Search and Stream Results (SSSR) is a roll-up plugin that includes my free Truncate Stream Items plugin and adds on a truncate search results feature, a bit that allows you to select the number of images pushed out to stream results when the stream item is a Gallery album update (new images posted), and a setting to allow you to truncate down stream descriptions which can get ridiculously long when a user has selected many forums and so on for their custom streams. 

The IPS javascript truncate functions will still fire on these pages but with vastly less text to deal with! Plus of course, the added benefit that that text was never sent to the page in the first place... 

See the screenshot for settings.

Notes
For search results I'm front running the IPS truncate function by matching up any quoted search term (exact match) or finding the first hit upon word. For the latter I've built in the ElasticSearch English stop words (which is a stupid-low number of words) to prevent hits on 'a', 'the', and so on. If you need other languages added on just yell.

REQUIRES PHP 7.1 or newer!


Large Latte Priced! $6 once, no renewals!
 

Terms
One buy, one site. Feel free to use on your test site if you have one of course. If you lapse on renewals so long that I tell you to buy it again that does NOT mean you now have licenses to two separate copies. All rights reserved, etc...

Thanks for the coffee!

View the full article

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.