forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: CandyEyes on January 11, 2013, 07:34:05 pm

Title: Views not counting? - Cookiename?
Post by: CandyEyes on January 11, 2013, 07:34:05 pm
Hi! This is my gallery: http://candyeyes.es/portfolio (http://candyeyes.es/portfolio). the image views are not counting when I click on the images from other computers different from mine, not admin mode, just as a guest. I've been searching for this on the forum, and in so many cases, I saw that the answer was to change the cookiename? I don't knwo how to do that or even if that's the problem why the views aren't counting...
could somebody have a look at this and help me, please?
Thank you so much!
Title: Re: Views not counting? - Cookiename?
Post by: CandyEyes on January 14, 2013, 08:12:05 pm
Well, I've been trying and trying...and the only thing that seemed to work is that I had this code in my theme.php:

Code: [Select]
ob_start();
    include "/home/candyeye/public_html/portfolio/cpmfetch/cpmfetch.php";
    $objCpm = new cpm("/home/candyeye/public_html/portfolio/cpmfetch/cpmfetch_config.php");
    $options = array( 'imageheight' => '40', 'imagewidth' => '30', 'imagestyle' => 'image100');
    $objCpm->cpm_viewLastAddedMedia(2,6, $options);
    $objCpm->cpm_close();
    $cpmfetch_latest = ob_get_clean();

because of the latets images, and now I deleted it and the counting seems to be working....could you guys tell me if it's counting for you? thank you for your time!
Title: Re: Views not counting? - Cookiename?
Post by: phill104 on January 14, 2013, 09:18:37 pm
I think the problem is cpmfetch. It was built for CPG 1.4.x and we know there are some issues with CPG 1.5.x. Sadly the chap who developed it has not been around for a long time so I doubt it will be updated unless someone from the community fancies contributing.
Title: Re: Re: Views not counting? - Cookiename?
Post by: CandyEyes on January 14, 2013, 09:20:46 pm
I think the problem is cpmfetch. It was built for CPG 1.4.x and we know there are some issues with CPG 1.5.x. Sadly the chap who developed it has not been around for a long time so I doubt it will be updated unless someone from the community fancies contributing.

Thank you! Yeah, it seems it was cpmfetch.
Title: Re: Views not counting? - Cookiename?
Post by: CandyEyes on January 16, 2013, 10:16:13 pm
Hi..I don't know if I fixed it..could anybody tell me if the views arec ounting when you click on the image? thank you!
Title: Re: Views not counting? - Cookiename?
Post by: Αndré on January 18, 2013, 05:03:30 pm
could anybody tell me if the views arec ounting when you click on the image
Works for me as expected.
Title: Re: Re: Views not counting? - Cookiename?
Post by: CandyEyes on January 18, 2013, 07:46:43 pm
Works for me as expected.

thank you!