Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorduztin
    • CommentTimeJun 15th 2006
     
    How do I change the order of picture comments? Currently it displays the first comment at the top of the list, I want the most recent comment on top.
    •  
      CommentAuthorBen
    • CommentTimeJun 15th 2006 edited
     
    in your gallery.php file there is a php function called display_comments (near line 886). Here is where plogger will call mysql for a query on comments associated with an image. What I would do is... add to the two $query lines the:

    ORDER BY `id` DESC

    don't have mysql access on my host atm so I can't confirm thats going to work only assuming that plogger uses a unique id to tag all the comments.
    • CommentAuthorduztin
    • CommentTimeJun 15th 2006
     
    WOW I'm new to php but it did work, first try too =D thanks alot!!!