forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: DonLKSAB on December 22, 2005, 09:54:33 am

Title: View counter not working.
Post by: DonLKSAB on December 22, 2005, 09:54:33 am
Hi all.

Have a small problem.
My view counter wont work.

Im admin so my counts should not count.
But i have changed that in the code ( i read here how to do it ) and i have tryed as ordinary user and not loged in.

Url: www.paintball.se/gallery

What i have done:
Bridging with VB ( seems to work fine )

Editing files:
Removed some menuitems.
And removed the link to open the pic in a new window. I edited themes.inc.php and comented out:
Code: [Select]
$pic_html = "<a href=\"javascript:;\" onclick=\"MM_openBrWindow('displayimage.php?pid=$pid&amp;fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=no,status=no,resizable=yes,width=$winsizeX,height=$winsizeY')\">";I have tryed with this code and that doesnt help.

/DonLKSAB
Title: Re: View counter not working.
Post by: Nibbler on December 22, 2005, 05:20:43 pm
Remove this code from the bridge file you downloaded

Code: [Select]
echo "3.0.x";
Title: Re: View counter not working.
Post by: DonLKSAB on December 22, 2005, 10:18:54 pm
Thanks!!