Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Slideshow view = Count for all album Pictures  (Read 5844 times)

0 Members and 1 Guest are viewing this topic.

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Slideshow view = Count for all album Pictures
« 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?
« Last Edit: November 08, 2005, 11:20:46 pm by GauGau »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Slideshow view = Count for all album Pictures
« Reply #1 on: November 08, 2005, 06:03:57 pm »

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Re: Slideshow view = Count for all album Pictures
« Reply #2 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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Slideshow view = Count for all album Pictures
« Reply #3 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

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Re: Slideshow view = Count for all album Pictures
« Reply #4 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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Slideshow view = Count for all album Pictures
« Reply #5 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

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Re: Slideshow view = Count for all album Pictures
« Reply #6 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
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Slideshow view = Count for all album Pictures
« Reply #7 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.
Logged
Chief Geek at Ranium Systems

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Re: Slideshow view = Count for all album Pictures
« Reply #8 on: November 09, 2005, 04:01:54 pm »

Ok, that sounds like a good idea.
Logged

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Re: Slideshow view = Count for all album Pictures
« Reply #9 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.
Logged

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Re: Slideshow view = Count for all album Pictures
« Reply #10 on: November 09, 2005, 05:38:53 pm »

Logged

willstein

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
    • mansei
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.