New Module: LatestUpdates

rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 216
Posted: Wed, 2009-07-08 20:39

I've just finished up a new module, LatestUpdates. This module will put two links into your sidebar. The first link will lead to a page that will display all the photos/videos in your Gallery in chronological order with the most recently uploaded items on page one and the oldest stuff on the last page. The second link will do the same thing, but limits its self to the current album and its sub-albums.

If this sounds like something you'd want, see the attached file or my github account at http://github.com/rWatcher/gallery3-contrib/tree/master

I've also set up a Wiki page for it here:
http://codex.gallery2.org/Gallery3:Modules:latestupdates

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 16315
Posted: Wed, 2009-07-08 23:46

Super COOL!
Thanks for the continued contribution(s).

Ain't building modules cool?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
bharat
bharat's picture

Joined: 2002-05-21
Posts: 6019
Posted: Sun, 2009-07-12 15:57

Sweet!
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

Login or register to post comments
thebrandons

Joined: 2008-11-08
Posts: 27
Posted: Wed, 2009-11-04 02:46

I have thousands of pictures so seeing the latest uploads was a great concept.

After enabling the module no links are added to my sidebar. I tried using the latest "latestupdates" module from both gallery-contrib and rWatcher/gallery-contrib. I restarted the browser and tried Firefox and IE. Lastly there was no messages in /var/logs/. I also uploaded a new picture and did not find a sidebar link?

My sidebar setup contains Album info (EXIF data) and Popular Tags in case that is relevant.

Thanks,

Login or register to post comments
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 216
Posted: Wed, 2009-11-04 06:27

It should work fine as Gallery 3, Beta 3. If you're using the latest version of Gallery from git then the sidebar won't work (I still need to update the module for the new sidebar code, as soon as I have the time), although you can probably manually access the module at www.domain.com/gallery3/index.php/latestupdates/updates

Login or register to post comments
estetico

Joined: 2009-10-30
Posts: 4
Posted: Wed, 2009-11-04 09:08

rWatcher
thanks for module!
any way how to put "latestupdates" on main page of gallery?

Login or register to post comments
griffinmt
griffinmt's picture

Joined: 2009-09-06
Posts: 126
Posted: Wed, 2009-11-04 16:36

I haven't grabbed this yet (but I will).
As far as the 'order' the photos are shown in, is that when they were uploaded or when created?

I would like to do this in reverse chronological order by capture date/time, as an option of each album. Would that seem to be a straight forward thing to do? With a little guidance, I'll give it a try.

Martyn T. Griffin

Login or register to post comments
thebrandons

Joined: 2008-11-08
Posts: 27
Posted: Wed, 2009-11-04 21:20

Very good, I will subscribe to this thread to know when updates occur. It did work when I went directly to ../latestupdates/updates as you described.

Another request if you don't mind:) Generally an upload consist of adding a new album. It would be nice for the user to see the latest albums listed (Example "Pumpkin Patch 10/2009", "John Wedding 11/2009"). Currently I see all my 7000 pictures sorted by date. While this is nice it does not give a good feel for the latest events. Also without the associated album it gives an overwhelming feeling of not understanding the picture's context (ie. "Pumpkin Patch") or when to stop scrolling.

This may be pushing it but what if the albums were not only sorted but a horizontal line distinguished sections by months and years. I know it is easy to make suggestions so take from it what you like.

Thanks,

Login or register to post comments
griffinmt
griffinmt's picture

Joined: 2009-09-06
Posts: 126
Posted: Wed, 2009-11-04 23:48

I was looking for the larest updates, but the site at domain.com no longer exists.

Martyn T. Griffin

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 16315
Posted: Thu, 2009-11-05 00:34
Quote:
but the site at domain.com no longer exists.

You would put your domain name in that location. Sort of like if you give you http://example.com/

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
griffinmt
griffinmt's picture

Joined: 2009-09-06
Posts: 126
Posted: Thu, 2009-11-05 00:45

:) OOPS, guess I was off in lulu land.
Martyn T. Griffin

Login or register to post comments
hebhansen

Joined: 2009-02-10
Posts: 151
Posted: Fri, 2009-11-06 13:15

How do I subscribe to this post - by writing here?

Looking forward to the update for the latest git.-...

Looks fine in the direct link, but no sidebar :-)

all the best
HB

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 16315
Posted: Sat, 2009-11-07 01:29
Quote:
How do I subscribe to this post - by writing here?

Yes if you have that set up in your profile. Also the first post on any thread has a link.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
hebhansen

Joined: 2009-02-10
Posts: 151
Posted: Mon, 2009-11-09 14:24

Is there any news to an update for sidebar in the latest git for this module?

all the best
HB

Login or register to post comments
hebhansen

Joined: 2009-02-10
Posts: 151
Posted: Tue, 2009-11-10 16:11

Rwatcher - I had an idea for his one. How about extending the engine that grabs latest added. The idea is to grab photos based on Exif. Probably a form where you can check within a set of criteria...

Latest added
Earliest added
Year 2009, 2010
Month jan - dec Drop down with option to select more
Day 1 - 31 Interval option 1 to 15 fx
Aperture 2,8 .. to .. 11 16 Interval option
Shutter 30 sec 1/4000sec Interval option
ISO 80 - 10.000 Interval option

That way tags like 2009 are not needed because you use Exif already there. Beeing able to search for a tag within given criteria could also be cool ex:

2007
May to June
Shutter above 1/1000
ISO 100
Search: Baghdad

all the best
HB

Login or register to post comments
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 216
Posted: Thu, 2009-11-12 21:08

I've updated this module to work properly against the current version of Gallery 3 git. This version will NOT work with Gallery 3 Beta 3 so if you're not using Git, don't upgrade the module yet. After updating, you may need to manually add LatestUpdates to the sidebar via the "Admin->Appearance->Manage sidebar" menu.

The new module can be downloaded from this post, or from my github at:
http://github.com/rWatcher/gallery3-contrib/tree/master/modules/latestupdates/

AttachmentSize
latestupdates.zip3.58 KB
Login or register to post comments
hebhansen

Joined: 2009-02-10
Posts: 151
Posted: Fri, 2009-11-13 10:41

Links in the menubar are now visible, but the images are not loading when a link is clicked. Goes to the page and loads header, but no images and no menu.

This goes for both entire and album link

all the best
HB

Login or register to post comments
hebhansen

Joined: 2009-02-10
Posts: 151
Posted: Fri, 2009-11-13 19:42

Correction - the module works, but not using the 3nids theme???

all the best
HB - http://www.image.agentura.dk

Login or register to post comments