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: change "top rated" text to "best pictures"  (Read 3780 times)

0 Members and 1 Guest are viewing this topic.

sixleggedinsect

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
change "top rated" text to "best pictures"
« on: December 20, 2004, 10:40:17 pm »

howdy. this must be easy, but i coudlnt find a post that gave instructions..

i want the button that users click to see the top rated photos to read "the best pictures" instead of "top rated". where is the file that generates that text?

i am also curious about which file generates the top rated album. i would like to edit it so that the ratings do not display under the photos. finally, to change the order in which the favorites/top rated/ album list/etc buttons display, can i just copy and paste within the theme.php file?

thanks from a complete php newbie.

anthony
Logged

sixleggedinsect

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: change "top rated" text to "best pictures"
« Reply #1 on: December 21, 2004, 01:23:16 am »

update- with a lot of messing around, ive miraculously managed to change the text, and to change the button order. the only thing i can figure out now is where the code is that adds the rating below the thumbnails in the toprated album. any ideas?

thanks
anthony
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: change "top rated" text to "best pictures"
« Reply #2 on: December 21, 2004, 01:48:44 am »

What is it you want to do?

If its just mess with the rating graphics, they are in your theme\images directory.


Logged

sixleggedinsect

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: change "top rated" text to "best pictures"
« Reply #3 on: December 29, 2004, 12:35:39 am »

if you click on the 'top rated' link in my cpg setup, you get a thumbnail view of the highest rated pictures. underneath each picture is its respective rating.

i woudl like to get rid of that rating display, and leave just the picture thumbnails. there must be a bit of code i can just delete, no? which file would this be in? any hints?

thanks,
anthony
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: change "top rated" text to "best pictures"
« Reply #4 on: December 29, 2004, 07:26:50 pm »

edit include/functions.inc.php, find
Code: [Select]
            $caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);and replace with
Code: [Select]
            // $caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);(not tested though).

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.