#1 2007-10-22 02:53:47

Jive Bunny
Member
2007-10-12
50

Image hits in total

Hi

I noticed on main index that it shows total images across the whole gallery.

My questions are :

1) Is it possible to show total hits across the gallery for all images in the same way?

2) A way to show how much data has been transfered in total for all image hits in total?

Hopefully someone tell me know if it is possible or not.

Cheers

Offline

 

#2 2007-10-22 08:21:11

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Image hits in total

1) Possible (I didn't already try it).
2) Possible, bit complex, pure estimation (High resolution not included, hit count, hits*filesize).

That's not page hits... It's only picture.php page hits, right?


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#3 2007-10-22 16:54:46

Jive Bunny
Member
2007-10-12
50

Re: Image hits in total

VDigital wrote:

1) Possible (I didn't already try it).
2) Possible, bit complex, pure estimation (High resolution not included, hit count, hits*filesize).

That's not page hits... It's only picture.php page hits, right?

Hey

You are correct. I was not thinking about it in that way  but that would be a different approach for when you visit the main image.

I was referring too all the hits from the 'hit' part of the database in phpwebgallery_images(hit) with sum_total via mysql code to give the result in total. I have tried this myself but I am not very good @ php/mysql.

If I have not been clear enough I will try to explain differently.

Cheers

Offline

 

#4 2007-10-22 17:04:11

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Image hits in total

Which PhpWebGallery version are you using?

Last one 1.7 ?
8-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#5 2007-10-22 19:46:49

Jive Bunny
Member
2007-10-12
50

Re: Image hits in total

Yes, I am using 1.7

Regards.

Offline

 

#6 2007-10-22 21:08:31

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Image hits in total

I propose to add these figures to the actual plugin Footer count.

Are you confortable with that idea?

8-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#7 2007-10-23 00:19:26

Jive Bunny
Member
2007-10-12
50

Re: Image hits in total

Yeah sure, I'm fine with that.

I'd be just as happy using the plugin which I didn't have before which is installed and working :)

This plugin brings me back to the sort of thing I'm looking at. Would it be possible to use the plugin in between the categories and specials menu in the same way so that it is a mini stats menu?

Cheers.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact