change "top rated" text to "best pictures" change "top rated" text to "best pictures"
 

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

Main Menu

change "top rated" text to "best pictures"

Started by sixleggedinsect, December 20, 2004, 10:40:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sixleggedinsect

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

sixleggedinsect

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

donnoman

What is it you want to do?

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



sixleggedinsect

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

Joachim Müller

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

Joachim