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: How to Change "views" to "downloads" and "viewed" to "download"?  (Read 3092 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.018 seconds with 19 queries.