Member
Member
Barbara   2008-04-06, 19:08
#1

I'm using the latest nightly build. I know there's already a function to display the last created albums but what if I add some photos to an album that is already there? I tried and the album doesn't show with the other ones.
It's a shame because some pics get overlooked. Does anyone know a way to show all the last [b]updated[/b] albums?

Administrator
Administrator
acrylian   2008-04-06, 19:28
#2

A new function would be needed for the latest updated ones. It seems to make sense, I'll add it to my to-do-list and update the statistics plugin with it. Should be possible. In the meanwhile you perhaps could use the printLatestImages()?

Member
Member
Barbara   2008-04-06, 19:48
#3

Wow, thanks a lot for the quick reply and for all your work with ZP! Love this script.
I'll be looking forward to this new function. The new plugin system rocks.

Member
Member
Barbara   2008-04-08, 12:30
#4

While we're at it, would it be possible to integrate it with AlbumDate?
Or have a new function maybe, so that we could display the date on which the album was last updated, something like "last file added on 8 Apr 2008"

Administrator
Administrator
acrylian   2008-04-08, 13:11
#5

Yes, I will use the date of the latest added image in that album.

Member
Member
macalter   2008-04-08, 16:23
#6

Typically when doing code for web pages, many may have 2 dates: created date and last modified date. If placed on each image page, that would be helpful. Would this be manual or automatic and what would trigger? Adding the image and/or adding/modifying text (description)?

Administrator
Administrator
acrylian   2008-04-08, 16:56
#7

I guess my answer above was a little misleading. I somehow overread that the question referred to the function albumdate(). That surely would be possible, but I/we will have to look at that first.

I first will do a function for the latest updated albums, everything else later. Of course that would be an option and I would considers uploading new images to an album as an update, not editing it's description.

Member
Member
macalter   2008-04-08, 22:25
#8

"uploading new images to an album as an update, not editing it's description."

Could be both: possibly images that cannot be identified so it would be great to be able to show the updated date when the information is obtained. It's not always obvious. Or, images could be wrongly identified, change in date shows something to draw visitor attention. Guess it depends on what the code handles.

I'm thinking of the date function I use in Dreamweaver. You can add current date and it never changes or add the date function that changes every time page is saved. Assuming the page would be saved only when modified. MSWord also has date functions for various states. But, don't know PHP

Administrator
Administrator
acrylian   2008-04-09, 09:16
#9

Well, I really don't want things to get more complicated than necessary. I wouldn't take the date of an image as the indicator but the ID because that is the one value that really shows if that image is newly uploaded.

It may be possible to check if a db table field is updated, but I just don't about that.

Not everything at one time, ok...:-)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.