coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: nickfzx on March 15, 2007, 05:09:53 PM

Title: total view count of all images of one user
Post by: nickfzx on March 15, 2007, 05:09:53 PM
is it possible to get hold of the total view count for a single users files?

so say there are 2 members in a gallery, John and Jack:

so say John has 3 files:
file 1 has 2 views
file 2 has 3 views
file 3 has 7 views

total views for John's files = 12 views

and Jack has 2 files
file 1 has 1 view
file 2 has 13 views

total views for Jack's files = 14

total views of whole gallery= 26 views
Title: Re: total view count of all images of one user
Post by: Stramm on March 15, 2007, 05:24:21 PM
yes, needs some code changes... everything depending where you want to show it... profile, anycontent etc.
Title: Re: total view count of all images of one user
Post by: nickfzx on March 15, 2007, 06:21:45 PM
preferably be able to call it from anywhere actually...inside of punbb's profile for example...as I am bridged.

If not I would settle for something less glamorous :)