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

Rekomendowane odpowiedzi

Opublikowano

Track and display all members who were online over the last 24 hours!

Could contain: Page, Text

  • All names link to user profiles
  • Names can be plain or group formatted
  • Font size adjustable via selectable IPS classes (ipsType_normal, medium, small)
  • Set a maximum number of names displayed with any overages appended as a count.
  • Actual count appears in the widget title.
  • Widget usable anywhere.
  • You can choose which member groups are allowed to see this widget.
  • You can EXCLUDE specific member groups from displaying in this widget.
  • Names can be sorted alphabetically or by latest visit to oldest visit (see notes).
  • Coded for zero-impact on page loads!

Could contain: Text, Page

 

Notes:

1) Zero-impact means zero impact. The underlying member data is generated via a task that runs every five minutes. That means a single database query for this data every five minutes, not on every user's page load.

2) This does mean that if you adjust the sort options or the groups from which members are selected, you will need to wait up to five minutes for these changes to appear in the widget.

3) By and large it really should not matter how many names you choose to display in the widget, but if this is creeping up towards 1000 or more, the impact will not be from the underlying widget code itself, but merely you pushing out 1000 or more names and links to the page. The widget is cached as well but you still might be pushing too much to the browser. Your site, you test! Test and adjust as needed. Outside of that single database query every five minutes, the rest is all fetched from whatever you have set for your Data Store.

4) Anonymous users are NEVER INCLUDED! 

5) Additionally, if you are displaying names from latest visit to earliest, the timestamp used to set this is the initial session start time, not the user's latest activity. This means when a user toggles off their anon status they are likely to appear somewhat down stream in the list of names in the widget rather than right at the top. A slight hedge against stalkerish behavior.

6) Renewals are every three months but this is mostly to catch out rapid changes in IPS code which are becoming common with their new release cadence. I actually expect, as usual, most people to forgo renewals until they NEED it. Most likely when we see the next point version and the Marketplace requires an update. So don't feel bad if you ignore the renewal notice. If you are rolling large, by all means, coins to your various Witchers, we won't mind!

 

Could contain: Page, Text, Document, Menu, File

 

Wyświetl pełną treść wpisu

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