How Can I Remove These Statistics? How Can I Remove These Statistics?
 

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

How Can I Remove These Statistics?

Started by roryh86, May 13, 2005, 05:08:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

roryh86

Hi. I am trying to figure out how to remove these statistics that are displayed at the bottom of the gallery window. I searched on the board but didnt find anything similar, I guess I dont know what keywords to use. Anyway, I have uploaded a picture to show you what statistics I mean. Please can someone tell me how to disable them? If this has already been discussed on the board, can you please give me the link to the thread, because I couldnt find it myself. Thanks all.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg17.echo.cx%2Fimg17%2F5953%2Fgallery7qh.jpg&hash=14b60298377229415b1978ba1c22824c56e38c47)

Nibbler

Look for the placeholder {STATISTICS} in the template block $template_cat_list in your theme's theme.php (will vary from theme to theme) and remove it

roryh86

Hi again. Thanks for the quick reply. I tried it and it worked fine. But it only changed on the main page. All the other pages with the categories still display statistics. How can I removed the statistics that are shown in the other pages, like album lists, and the pages within albums. Please, can you help me with that one? I appreciate the help.  ;)

OmegaGOD

Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

roryh86

Hi, Thanks for all your help, but that link you gave me wasn't what I meant. You already answered that question above. I was looking for a way to remove the statistics in the album lists, and also after you click on an album. Here is a pic:

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg203.echo.cx%2Fimg203%2F9929%2Fgallery9nm.jpg&hash=64d7c6988ba5861223237aaf39ee128495b4f1cf)

So how do I remove these statistics, and the statistics that are on the next page after you click on the album. Thanks again for all your help  ;D

Joachim Müller

edit lang/english.php, find$lang_album_list = array(
  'album_on_page' => '%d albums on %d page(s)',
);
and replace with$lang_album_list = array(
  'album_on_page' => '',
);