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: Comment _ to _ of _  (Read 2547 times)

0 Members and 1 Guest are viewing this topic.

rwhmur

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Comment _ to _ of _
« on: August 08, 2011, 04:25:26 pm »

This is written twice on each of my image pages, once at the top of the comments and once at the bottom of the comments. Is it possible to delete the one on the top?
Logged

rwhmur

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Comment _ to _ of _
« Reply #1 on: August 09, 2011, 05:58:53 am »

I'm using the "curve" theme at http://weestyles.com/gallery
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Comment _ to _ of _
« Reply #2 on: August 10, 2011, 05:39:45 pm »

You're using a custom theme and I can see that line only once. Is this issue already solved? If so, please mark this thread accordingly.

Btw: Nice theme - I like it very much. Do you want to share it with the community? :)
Logged

rwhmur

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Comment _ to _ of _
« Reply #3 on: August 11, 2011, 03:16:43 pm »

It's a customized version of "curve," and I'd be happy to share once it's finished (I've gotten a lot of requests, actually). The following image has a comment and shows the line twice: http://weestyles.com/gallery/displayimage.php?album=toprated&cat=0&pid=46#top_display_media
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Comment _ to _ of _
« Reply #4 on: August 11, 2011, 03:47:17 pm »

Ah, sorry. I initially misread your issue. It's a feature that this line will be shown twice: once at the top of all comments, once at the bottom of all comments. It's useful if you have a lot of comments below a file.

If you want to remove it anyway, have a look at the function theme_html_comments, especially at the following lines:
Code: [Select]
$html .= ($tabs = ob_get_clean());
Code: [Select]
$html .= $tabs;
Logged

rwhmur

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Comment _ to _ of _
« Reply #5 on: August 12, 2011, 04:52:33 pm »

Thanks! I put
Code: [Select]
$html .= ($tabs = ob_get_clean()); where
Code: [Select]
$html .= $tabs; was and it worked great.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.