Jump to content

Guppy

Members
  • Content Count

    775
  • Joined

  • Last visited

Community Reputation

166 Excellent

About Guppy

  • Rank
    Advanced Member

Single Status Update

See all updates by Guppy

  1. oly the first two screenshots seem to be chaning?

    1. Show previous comments  1 more
    2. Josh

      Josh

      It shows two most recent screenshots, two most recent videos, and most recent Workshop item. It will be changed in the future to be a combined stream of most recent items from all three, but I didn't know how to do that in PHP.

    3. Guppy

      Guppy

      do an array for each category with the index being creation time the simply do;

      $thumbnails=array_slice($screenshots+$videos+$workshopitems,0,5);

       

      php is easy <3

    4. Guppy

      Guppy

      nb the above *may* see colisions if the key is only the unixtimestamp - having it be "$creationtime $username $category" or the like drastically reduces this to the point of being close to impossible

    5. Show next comments  3 more
×
×
  • Create New...