1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice
  3. What happens when the XF 2.0 is out? See the discussion here: http://www.sonnb.com/threads/what-happens-when-xf-2-0-is-out.1146/
    Dismiss Notice

Sonnb - Xengallery (xenforo Gallery) [paid] 2.6.6

Modern Albums with Photos and Videos gallery for your XenForo

  1. snoopy5

    snoopy5 Authorized Member Authorized

    @sonnb

    Why did you delete today your XenGallery in the official Resource Manager Download area of Xenforo.com?
     
    ReneS and sonnb like this.
  2. Punkae

    Punkae Artist, Writer, and Sleep-Deprived Tea Addict ♥ Authorized

    Is there any way I could change the default tag search results to display chronologically (most recent first to oldest)?
    @sonnb
     
    Terry Sebolt and ReneS like this.
  3. sonnb

    sonnb Administrator Staff Member

    Hi. You want most recent content first or the most recent tag?
     
  4. Punkae

    Punkae Artist, Writer, and Sleep-Deprived Tea Addict ♥ Authorized

    When displaying a tag search result (or clicking on one in the cloud), I would like very much for the most recently posted content to show first. :)
     
  5. sonnb

    sonnb Administrator Staff Member

    This option is not available in configuration so you have to edit file if it could work for you. You can have a look at the file: sonnb\XenGallery\ContentHandler\Content.php line 63. At new key-value like:

    'order' => 'content_date',
    'orderDirection' => 'DESC'
     
  6. Punkae

    Punkae Artist, Writer, and Sleep-Deprived Tea Addict ♥ Authorized

    Like so?
    upload_2018-6-18_15-55-30.png

    If so, adding some new tags onto images seems to return chronological search results, but if I browse existing tags, the images are still sorted all oddly.
     
  7. Punkae

    Punkae Artist, Writer, and Sleep-Deprived Tea Addict ♥ Authorized

    I should make sure I've explained that I'm talking about tag search results, so found by clicking on something in the tags cloud or by visiting a pre-defined URL like so:
    http://website.com/gallery/tags?t=sfw
    http://website.com/gallery/tags?t=photography

    It seems that results from the search might already be displaying correctly, but the tags themselves aren't sorting by date, at least not tags that have been around for a while. The search bar is not nearly as useful because it doesn't have a nice gallery display and takes a lot longer to sift through gallery content because it's listed, rather than shown as a grid.
     
  8. sonnb

    sonnb Administrator Staff Member

  9. ReneS

    ReneS Authorized Member Authorized

    Thank you ;)
     
    Last edited: Jul 9, 2018

Share This Page