forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: willstein on November 08, 2005, 05:29:36 pm

Title: Slideshow view = Count for all album Pictures
Post by: willstein on November 08, 2005, 05:29:36 pm
So I've been searching the forums, and have come to understand that it is too difficult to track when someone stops a slideshow and to make the appropiate viewcount.

For my site, I think it would be somewhat more accurate, if when they view the slideshow, it counts one view for each image in that album.

Basically, view slideshow = one count for each image to be loaded.
I couldnt find that mod, does it exist somewhere?
Title: Re: Slideshow view = Count for all album Pictures
Post by: Stramm on November 08, 2005, 06:03:57 pm
have you read this?
http://forum.coppermine-gallery.net/index.php?topic=9262.0
Title: Re: Slideshow view = Count for all album Pictures
Post by: willstein on November 08, 2005, 06:09:43 pm
Yes i did read that, but when I applied that mod it crashed my slideshow altogether (by crashed I mean it wouldnt play).
I backed up previous files and tried the mod a second time about a week later. Same result. I'm sure it's something on my end though.
Title: Re: Slideshow view = Count for all album Pictures
Post by: Stramm on November 08, 2005, 06:16:21 pm
I'm afraid there's no other solution than that link for now. Raising the count of all images in an album by one isn't a way I like (lol, you maybe have read that already). Still it's not very difficult. Maybe someone comes up with a lil hack
Title: Re: Slideshow view = Count for all album Pictures
Post by: willstein on November 08, 2005, 06:17:31 pm
Perhaps I will try the mod a third time, slower, and if it still doesnt work, I will ask if anyone has any suggestions.
Title: Re: Slideshow view = Count for all album Pictures
Post by: Stramm on November 08, 2005, 06:23:57 pm
just had a look.. it's even easier than I though... still can put a lil bit load on mysql if it'S a huge album

in slideshow.inc.php add after
Code: [Select]
foreach ($pic_data as $picture) {
Code: [Select]
add_hit($picture['pid']);   
have fun
Title: Re: Slideshow view = Count for all album Pictures
Post by: willstein on November 08, 2005, 07:54:01 pm
wow thank you.
i really didnt have time to try the mod a third time, i will sometime when my schedule gets a little clearer.

even though it's not the best solution, thanks again.


future search keywords:
slideshow slide show count view hit
Title: Re: Slideshow view = Count for all album Pictures
Post by: Abbas Ali on November 09, 2005, 09:33:19 am
@lavashark - May be you can come on that thread and then we can discuss that mod and try to implement it on your site.
Title: Re: Slideshow view = Count for all album Pictures
Post by: willstein on November 09, 2005, 04:01:54 pm
Ok, that sounds like a good idea.
Title: Re: Slideshow view = Count for all album Pictures
Post by: willstein on November 09, 2005, 04:21:04 pm
Actually the other topic won't allow me to reply.

But guess what!
Third time's a charm. I started from scratch and tried it again and it seems to work great.

I've tried this other one two times already. Maybe third times a charm for this ones as well (http://forum.coppermine-gallery.net/index.php?topic=9391.0).
Title: Re: Slideshow view = Count for all album Pictures
Post by: willstein on November 09, 2005, 05:38:53 pm
WISH ME LUCK!!!! (http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?ViewItem&rd=1,1&item=4586953980)
Title: Re: Slideshow view = Count for all album Pictures
Post by: willstein on November 09, 2005, 08:37:53 pm
OOPS!
Wrong Link:
http://forum.coppermine-gallery.net/index.php?topic=9391.msg108424#msg108424