Remove Comment Count Display Remove Comment Count Display
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Remove Comment Count Display

Started by mr.bena, March 17, 2012, 12:06:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mr.bena

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.

ΑndrĂ©

Open lang/english.php, find
$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 brackets
and replace with
$lang_list_categories['stat1'] = '[pictures] files in [albums] albums and [cat] categories viewed [views] times'; // do not translate the stuff in square brackets

find
$lang_list_categories['stat3'] = '[pictures] files in [albums] albums with [comments] comments viewed [views] times'; // do not translate the stuff in square brackets
and replace with
$lang_list_categories['stat3'] = '[pictures] files in [albums] albums viewed [views] times'; // do not translate the stuff in square brackets

mr.bena

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

Ben.