[Solved]: Statistics just won't show [Solved]: Statistics just won't show
 

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]

Main Menu

[Solved]: Statistics just won't show

Started by Danaldinho, November 11, 2008, 02:35:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Danaldinho

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:

<!-- 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:

$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

Nibbler

Did you disable statistics using the modpack?

Danaldinho

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

Nibbler

Performance settings -> Enable gallery statistics (6 queries)

Danaldinho


olousek

Quote from: Nibbler on November 11, 2008, 03:35:15 PM
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... :-(