forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: Danaldinho 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:
<!-- 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
-
Did you disable statistics using the modpack?
-
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
-
Performance settings -> Enable gallery statistics (6 queries)
-
Wow, thanks so much Nibbler :)
-
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... :-(