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: From thumbnail to popup full version [Done] BUT views not increasing!  (Read 4962 times)

0 Members and 1 Guest are viewing this topic.

cionex

  • Coppermine newbie
  • Offline Offline
  • Posts: 12

Please, feel free to move this thread if necessary. I couldn't post this at the coppermine area.

Anyways... I installed coppermine gallery and followed these (http://forum.coppermine-gallery.net/index.php?topic=15671.0) steps and got what I really wanted. I was really happy but somehow when i click a thumbnail and the popup window with the original version of the photo show up, the counter (# Views) at the bottom of the pic doesn't increase. How can i fix this? Thank you very much in advance!  ;)
« Last Edit: October 04, 2005, 07:48:54 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: From thumbnail to popup full version [Done] BUT views not increasing!
« Reply #1 on: October 03, 2005, 07:57:40 am »

Post a link to your coppermine install.
Logged

cionex

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: From thumbnail to popup full version [Done] BUT views not increasing!
« Reply #2 on: October 03, 2005, 10:23:25 am »

What do you mean? Here's url to the gallery: www.katebosworthweb.com/fotox

Let me know if you need any file at my server and thanks so much.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: From thumbnail to popup full version [Done] BUT views not increasing!
« Reply #3 on: October 03, 2005, 11:04:58 am »

of course... the normal pic tiggles the counter, not the fullsize popup. Would be kinda silly to do it the other way round

but here's a fix for you... tell me if it works
in displayimgage.php find
Code: [Select]
        if (!mysql_num_rows($result)) cpg_die(ERROR, $lang_errors['non_exist_ap'], __FILE__, __LINE__);

above add
Code: [Select]
add_hit($pid);

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: From thumbnail to popup full version [Done] BUT views not increasing!
« Reply #4 on: October 03, 2005, 02:05:09 pm »

You should have posted in the first place that you have applied the "thumbnail to full-size pop-up" mod, 'cause this is what kept your files from being counted.
Logged

cionex

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: From thumbnail to popup full version [Done] BUT views not increasing!
« Reply #5 on: October 03, 2005, 06:22:57 pm »

You should have posted in the first place that you have applied the "thumbnail to full-size pop-up" mod, 'cause this is what kept your files from being counted.

 ??? I did... I even added a link to the thread where i took the solution from to make the thumbnail to full-size pop-up...
Anyway yeah!!! it worked! Thanks so much Stramm, you guys are great! Thanks for helping me! I searched the forums but didn't find the solution  :-*
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 20 queries.