1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Recent / Random Attachments On Forum Homepage [Paid] [Deleted]

Discussion in 'Add-on Releases' started by Brent W, Feb 8, 2013.

  1. Brent W

    Brent W Well-Known Member

    BamaStangGuy submitted a new resource:

    Recent / Random Attachments On Forum Homepage (version 1.1c) - Show recent or random attachment images on your forum homepage

    Read more about this resource...
    erich37, Brandon Sheley and Chris D like this.
  2. Brent W

    Brent W Well-Known Member

    I'd like to take this time and point out how great Chris has been for developing add-ons for me. He is very fast and knowledgable of the xenForo code base. This product runs on a few larger forums with no problems at all.
    0xym0r0n, Garamond and Chris D like this.
  3. Jeff Fuqua

    Jeff Fuqua Well-Known Member

    Who? ;)

    This looks great. Very reasonable price as well.
    Chris D likes this.
  4. DRE

    DRE Well-Known Member

    Does this bring up a whole page that shows a list of recent attachments as well?
  5. Brent W

    Brent W Well-Known Member

    No just links to the post where the attachment is. You can see it in action here: http://www.shottalk.com

    For the random setting: http://www.orchidsforum.com/
  6. Brandon Sheley

    Brandon Sheley Well-Known Member

    Very nice, if I can find a use for it, I'll be picking a copy up this weekend. :)
  7. Jeff Fuqua

    Jeff Fuqua Well-Known Member

    Is it server-intensive? Your images loaded quickly but I wonder what impact high traffic (and lots of attachments) might do.
  8. Brent W

    Brent W Well-Known Member

    I have no issues with performance. Some of my sites have over 2-3GB of attachments.
  9. Brent W

    Brent W Well-Known Member

    Chris D and Brandon Sheley like this.
  10. Brent W

    Brent W Well-Known Member

    I just checked one forum using it and have over 14,000 attachments.
  11. Rich

    Rich Active Member

    The only small thing is it pulls all the photos in order each time is there a way to mix them up from all different posts?
  12. Chris D

    Chris D XenForo Developer Staff Member

    There are ways of doing that, but I preferred to do it this way to minimise the impact on the server. I think right now the way I'm doing it adds 3 (small) queries to the loading of the home page. To make it completely random, I think would take 4 queries. I could actually do it in one query, but it would be an ugly one. You can order the results of your query BY RAND() but it's ugly and probably worse than the 3 or 4 queries put together especially when there's hundreds or thousands of attachments.
  13. Mouth

    Mouth Well-Known Member

  14. Chris D

    Chris D XenForo Developer Staff Member

    I haven't looked at the code of that one but I know I've written this in such a way that Ida's optimal as possible. There's potentially more queries but actually those queries are very light and deliberately so to ensure the best performance possible even on larger boards.

    Also one area it definitely differs is that it doesn't launch images in the light box, it takes them to the post instead. Also my version includes a jQuery plugin that resizes and crops the thumbnails on the fly to ensure you don't get the odd effect you often see with stretched or mismatched dimensions for each image.
  15. Mouth

    Mouth Well-Known Member

    Sold! :)
    Chris D likes this.
  16. SchmitzIT

    SchmitzIT Well-Known Member

    For some reason, the images show up really fuzzy for us:


    I tried playing with the size a bit, but that didn't matter.

    Future feature request: Make it possible to pick where to show (top, bottom, sidebar). It also doesn't seem to work in XenPorta, but for us, that's just fine. Just figured I'd report it :)
    Puntocom likes this.
  17. Puntocom

    Puntocom Well-Known Member

    Hello, I have a problem with this addon. The images in the forum_list appear blurry. I have tried with GD and Imagick with the same result :( please can you help me? this addon is great for my community.
  18. 0ptima

    0ptima Well-Known Member

    Nice addon!
  19. FredC

    FredC Well-Known Member

    Has anyone tested this with a fluid style?
  20. Puntocom

    Puntocom Well-Known Member

    Is it possible to get refund? I don't plan to put so blurry images in my forum.

Share This Page