Comment _ to _ of _ Comment _ to _ of _
 

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]

Main Menu

Comment _ to _ of _

Started by rwhmur, August 08, 2011, 04:25:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rwhmur

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?

rwhmur


Αndré

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? :)

rwhmur

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

Αndré

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:
$html .= ($tabs = ob_get_clean());
$html .= $tabs;

rwhmur

Thanks! I put $html .= ($tabs = ob_get_clean()); where $html .= $tabs; was and it worked great.