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

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

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.