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: How to Change "views" to "downloads" and "viewed" to "download"?  (Read 3178 times)

0 Members and 1 Guest are viewing this topic.

valuepic

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
How to Change "views" to "downloads" and "viewed" to "download"?
« on: September 05, 2008, 08:53:36 pm »

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!
Logged

McKenzie

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • My car gallery
Re: How to Change "views" to "downloads" and "viewed" to "download"?
« Reply #1 on: September 05, 2008, 09:11:25 pm »

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

McKenzie

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • My car gallery
Re: How to Change "views" to "downloads" and "viewed" to "download"?
« Reply #2 on: September 05, 2008, 09:21:30 pm »

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>
Logged

valuepic

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: How to Change "views" to "downloads" and "viewed" to "download"?
« Reply #3 on: September 05, 2008, 10:14:22 pm »

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

McKenzie

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • My car gallery
Re: How to Change "views" to "downloads" and "viewed" to "download"?
« Reply #4 on: September 05, 2008, 10:56:34 pm »

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.
Logged

McKenzie

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 129
    • My car gallery
Re: How to Change "views" to "downloads" and "viewed" to "download"?
« Reply #5 on: September 05, 2008, 11:18:24 pm »

L@@k
Logged

valuepic

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: How to Change "views" to "downloads" and "viewed" to "download"?
« Reply #6 on: September 06, 2008, 12:19:50 am »

THANK YOU McKenzie !!!!!!!!!!!!!!!!!

Problem solved =D
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.