misheff
Member
Posted 3 months ago #
This is my site - http://www.techwall.org/
I insert <?php cl_display_badge(); ?> into my comments.php template but when i do that link to user last blog post its not showing! Please visit my site, try comment to see what i am talking about and give me a solution. Thanks!
freakenstein
Member
Posted 2 months ago #
Same problem here.
(WP2.8.4)
When using the template function it doesn't work
Use template insert to show badge and checkbox? ( <?php cl_display_badge(); ?> )
When using the standard behavior is does work.
teamplaylotto
Member
Posted 2 months ago #
check to make sure that you have selected the checkbox for using the template insert and make sure that your comments.php file has do_action('comment_form', $post->ID);
before the closing /form tag (wrap it in php tags)
the do action command lets commentluv (and other plugins) know that the comment form is being output. that's where commentluv adds some hidden fields to the form for holding the luvlink data.
if you don't have the do action there, no fields get added and commentluv doesn't see any values so it exits.
freakenstein
Member
Posted 2 months ago #
My theme has in comments.php
<!-- comment input -->
<div class="row">
<textarea name="comment" id="comment" tabindex="4" rows="8" cols="50"></textarea>
<?php if (function_exists('highslide_emoticons')) : ?><div id="emoticon"><?php highslide_emoticons(); ?></div><?php endif; ?>
<?php if (function_exists('comment_id_fields')) : comment_id_fields(); endif; do_action('comment_form', $post->ID); ?>
</div>
<!-- /comment input -->
Which is placed somewhere between <form></form>
:S