G3 Photo Statistics

bigbluegoldfish

Joined: 2009-09-15
Posts: 2
Posted: Tue, 2009-09-15 18:02

Hi All,

I've recently installed G3 Beta 3 to test on my site and I'd like to see if there's a way to get photo statistics. While I know that one can see number of views on a photo and can sort the album by number of views, I think it would be useful to have an admin page for an album where I can see total number of views for each photo from an administrative point-of-view. I'd really like to see overall stats on an album-by-album basis without re-sorting the entire album.

I don't see anything built in that shows me this information. Am I missing something? Is this something that someone plans to be part of the core or is already working on a module for this? If no one is, I may start playing to create something.

Thanks for your help!

Jeff

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-09-15 18:09

No, there are no plans to have this as part of the core. Someone would need to build a module for it. You're the first I've seen bring this up so feel free to start hacking away.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
bigbluegoldfish

Joined: 2009-09-15
Posts: 2
Posted: Tue, 2009-09-15 19:34

Great -- Thanks for the reply.

So I know, is there any documentation created regrading creating modules for G3 yet? I know PHP, but am looking for more defined hooks and such into the core? If not, I can start looking at pre-existing G3 modules for some guidance.

Thanks!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Wed, 2009-09-16 02:15

http://codex.gallery2.org/Gallery3:Modules:latestupdates
Is an example of a dynamic album that shows the latest updates. It could be adapted to do something similar to waht you are after, I think.
More documentation is on the way. There is also the module creation of modules see: http://github.com/gallery/gallery3-contrib/tree/master/modules/developer/

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
rWatcher
rWatcher's picture

Joined: 2005-09-06
Posts: 619
Posted: Wed, 2009-09-16 05:19

You might want to have a look at the code for the dynamic module too, it has an option for displaying an album of your most viewed photos:
http://github.com/gallery/gallery3-contrib/tree/master/modules/dynamic/