Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: Statistics just won't show  (Read 6147 times)

0 Members and 1 Guest are viewing this topic.

Danaldinho

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 56
  • Lil Wayne Fan
    • Lil Wayne
[Solved]: Statistics just won't show
« on: November 11, 2008, 02:35:19 pm »

Hi, how do you get the Statistics to show under the catlist on the gallery frontpage?

I did a search of "statistics" and read all 14 pages, but nothing on there seemed to help me

I have this in my theme php:

Code: [Select]
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" align="center"><br /><div class="graybox">{STATISTICS}</div></td>
        </tr>
<!-- END footer -->

And in my /lang/english.php file, I have this:

Code: [Select]
$lang_list_categories = array(
  'home' => 'Home',
  'stat1' => '<b>[pictures]</b> files in <b>[albums]</b> albums and <b>[cat]</b> categories with <b>[comments]</b> comments viewed <b>[views]</b> times',
  'stat2' => '<b>[pictures]</b> files in <b>[albums]</b> albums viewed <b>[views]</b> times',
  'xx_s_gallery' => '%s\'s Gallery',
  'stat3' => '<b>[pictures]</b> files in <b>[albums]</b> albums with <b>[comments]</b> comments viewed <b>[views]</b> times',
);

But the line of stats just isn't showing :(

I checked the greenflower theme (thats the style I ma using) in the demo: http://coppermine-gallery.net/Obsolete and that has the statistics line of code, so I'm not sure why its not working on my gallery

My gallery can be located at: http://www.lilwaynehq.com/gallery/

Thanks alot
« Last Edit: November 11, 2008, 03:58:59 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Statistics just won't show
« Reply #1 on: November 11, 2008, 02:38:34 pm »

Did you disable statistics using the modpack?
Logged

Danaldinho

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 56
  • Lil Wayne Fan
    • Lil Wayne
Re: Statistics just won't show
« Reply #2 on: November 11, 2008, 03:10:37 pm »

erm, not as I know of

I take it, thats in the config bit?

And I just looked in there and couldn't see anything about statistics except from the "Logging and statistics" but I know thats not it
Logged

Nibbler

  • Guest
Re: Statistics just won't show
« Reply #3 on: November 11, 2008, 03:35:15 pm »

Performance settings -> Enable gallery statistics (6 queries)
Logged

Danaldinho

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 56
  • Lil Wayne Fan
    • Lil Wayne
Re: Statistics just won't show
« Reply #4 on: November 11, 2008, 03:43:35 pm »

Wow, thanks so much Nibbler :)
Logged

olousek

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • PhotoWatches.eu
Re: Statistics just won't show
« Reply #5 on: January 31, 2010, 12:54:41 am »

Performance settings -> Enable gallery statistics (6 queries)

Hello,

I have the same problem - I cannot see statistics :-( but I have only 3 queries in Performance settngs... :-(
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.