Views not counting? - Cookiename? Views not counting? - Cookiename?
 

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

Main Menu

Views not counting? - Cookiename?

Started by CandyEyes, January 11, 2013, 07:34:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CandyEyes

Hi! This is my gallery: 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!

CandyEyes

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:

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!

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.

CandyEyes

Quote from: Phill Luckhurst 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.

Thank you! Yeah, it seems it was cpmfetch.

CandyEyes

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!

Αndré

Quote from: CandyEyes on January 16, 2013, 10:16:13 PM
could anybody tell me if the views arec ounting when you click on the image
Works for me as expected.

CandyEyes