Advanced search  

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

Pages: [1]   Go Down

Author Topic: Remove Comment Count Display  (Read 4563 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.022 seconds with 19 queries.