How to Change "views" to "downloads" and "viewed" to "download"? How to Change "views" to "downloads" and "viewed" to "download"?
 

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

How to Change "views" to "downloads" and "viewed" to "download"?

Started by valuepic, September 05, 2008, 08:53:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

valuepic

Hi,

I'm very sorry if I sound noobish, but I'm not good with PHP.

I just want to know how and where to change:
"views" to "downloads" and "viewed x times" to "download x times" or "X total downloads".

THANK YOU!

McKenzie

Check /lang/english.php or the language of your site and edit the "views" to "downloads"... .

McKenzie

But not every "view"  ;)

For example

'stat1' => '<b>[pictures]</b> files in <b>[albums]</b> albums and <b>[cat]</b> categories with <b>[comments]</b> comments viewed <b>[views]</b>
to
'stat1' => '<b>[pictures]</b> files in <b>[albums]</b> albums and <b>[cat]</b> categories with <b>[comments]</b> comments downloaded<b>[views]</b>

valuepic

Thanks McKenzie, what about each image that has x views, where do I change that "views"?

McKenzie

What do you mean?

I think you mean (description only for english.php, not for other lang-files)

"Displayed: X times"  on the "displayimage page": http://coppermine-gallery.net/demo/cpg14x/displayimage.php?album=1&pos=1

Open the Windows Editor also known as notpad, click "Edit" than "Search" --> Enter in the field  " 'Displayed' => 'Displayed', " (without " ", only 'Displayed' => 'Displayed') change it into 'Displayed' => 'Downloaded'

Tell me all sites which you want change.

McKenzie


valuepic