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: Remove Comment Count Display  (Read 4508 times)

0 Members and 1 Guest are viewing this topic.

mr.bena

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Remove Comment Count Display
« on: March 17, 2012, 12:06:12 am »

Hi, I am replacing my gallery comment system with facebook comment plugin. My Main Page still display "688 files in 20 albums and 2 categories with 58 comments viewed 12,942 times". I want to remove the "58 comments" part and let it look like "688 files in 20 albums and 2 categories viewed 12,942 times". How can I achieve this? Please help me..

Benjamin.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Remove Comment Count Display
« Reply #1 on: March 19, 2012, 11:34:50 am »

Open lang/english.php, find
Code: [Select]
$lang_list_categories['stat1'] = '[pictures] files in [albums] albums and [cat] categories with [comments] comments viewed [views] times'; // do not translate the stuff in square bracketsand replace with
Code: [Select]
$lang_list_categories['stat1'] = '[pictures] files in [albums] albums and [cat] categories viewed [views] times'; // do not translate the stuff in square brackets
find
Code: [Select]
$lang_list_categories['stat3'] = '[pictures] files in [albums] albums with [comments] comments viewed [views] times'; // do not translate the stuff in square bracketsand replace with
Code: [Select]
$lang_list_categories['stat3'] = '[pictures] files in [albums] albums viewed [views] times'; // do not translate the stuff in square brackets
Logged

mr.bena

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Re: Remove Comment Count Display
« Reply #2 on: March 19, 2012, 01:50:32 pm »

It works... thank you sooo.. much.

Ben.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.