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: [feat. request] Show only the picture, the comments + emoticons are hided  (Read 3167 times)

0 Members and 1 Guest are viewing this topic.

protox

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 49
  • Digital Photographer
    • x-poz

Ladys & Gentlemen .. Another feature for you :o

Could be great to have a picture without all the disturbing comments and emoticons just under it.
The website which gave me the idea could be browsed here

The comments + emoticons could be visible just after the visitor swaped it by clicking the button " see the [11] comments " for example
Logged
Latest shot from " Les disséqueurs de société " :

(http://x-poz.org/cpmfetch/cfimageget.php?cmd=last)

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: [feat. request] Show only the picture, the comments + emoticons are hided
« Reply #1 on: September 14, 2005, 04:52:01 pm »

@those who know better: Could this be accomplished with a custom theme?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: [feat. request] Show only the picture, the comments + emoticons are hided
« Reply #2 on: September 14, 2005, 05:08:24 pm »

A quick look tells me yes.  In the theme.php file, in function_theme_display_image, just change

Code: [Select]
    echo $pic_info;
    endtable();
    echo "</div>\n";

    starttable();
    echo $comments;
    endtable();

to

Code: [Select]
    echo $pic_info;
    endtable();

    starttable();
    echo $comments;
    endtable();
    echo "</div>\n";
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.