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]: How do I change display of statistics information  (Read 5075 times)

0 Members and 1 Guest are viewing this topic.

prl242

  • Coppermine newbie
  • Offline Offline
  • Posts: 4

Where would I go (what file) to change the content of:
<span class="statlink"><b>{STATISTICS}</b></span>

I believe this shows the stats such as:
16 pictures in 5 albums and 1 categories with 0 comments viewed 63 times

I would like to remove the bit about comments.

Thanks
« Last Edit: June 30, 2004, 07:16:44 pm by GauGau »
Logged

Nibbler

  • Guest
Re: How do I change display of statistics information
« Reply #1 on: June 22, 2004, 10:25:18 pm »

You can change the entry in the language file for $lang_list_categories.
Logged

prl242

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: How do I change display of statistics information
« Reply #2 on: June 30, 2004, 01:25:13 am »

Thanks for the reply, however since I am very new at this I did not really understand it.  Could you please be more specific.

Thanks
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: How do I change display of statistics information
« Reply #3 on: June 30, 2004, 10:52:48 am »

Open your language file, and find;

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', //cpg1.3.0
  'stat2' => '<b>[pictures]</b> files in <b>[albums]</b> albums viewed <b>[views]</b> times', //cpg1.3.0
  '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', //cpg1.3.0
);

Now edit 'stat1' to read;

Code: [Select]
'stat1' => '<b>[pictures]</b> files in <b>[albums]</b> albums and <b>[cat]</b> categories viewed <b>[views]</b> times', //cpg1.3.0
and edit 'stat3' to read;

Code: [Select]
'stat3' => '<b>[pictures]</b> files in <b>[albums]</b> albums viewed <b>[views]</b> times', //cpg1.3.0
);
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

prl242

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: How do I change display of statistics information
« Reply #4 on: June 30, 2004, 05:08:31 pm »

Thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 20 queries.