WordPress.org

Ready to get started?Download WordPress

Forums

cbnet Really Simple CAPTCHA Comments
WP 3.5.1 and theme JAM Studio (2 posts)

  1. CyberPanda
    Member
    Posted 12 months ago #

    Hi,

    i used your plugin (in theme JAM Studio), but nothing is showing. Please, what can I do? I used

    <?php cbnet_comment_captcha(); ?>

    but it's still same. I have installed Really Simple Captcha plugin and then yours. What's wrong?

    Here is my comment.php:

    <?php if ( comments_open() ) : ?>
    <div class="formBlog">
                        <div class="top-cont">
                            <div class="l"></div>
                            <div class="r"></div>
                            Write Comment
                        </div>
                                       <div class="centr-cont">
                                <div id="events"></div>
      <span>Email is not showing.</span>
    	<div class="cancel-comment-reply">
    		<?php cancel_comment_reply_link(); ?>
    	</div>
    	<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
    		<p>You must be <a href="<?php echo wp_login_url( get_permalink() ); ?>">logged</a>.</p>
    	<?php else : ?>
    	<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    		<?php if ( is_user_logged_in() ) : ?>
    		<?php else : ?>
      		  <div class="fl">
            <label class="name">
            <div class="inp"><input type="text" name="author" id="author" onfocus="if (this.value == 'Name *') this.value = '';" onblur="if (this.value == '') this.value = 'Name *';" value="Name *" size="22" class="text-input" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> />
            </div></label>
            <label class="email">
    				<div class="inp"><input type="text" name="email" id="email" onfocus="if (this.value == 'Email *') this.value = '';" onblur="if (this.value == '') this.value = 'Email *';" value="Email *" size="22" class="text-input" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
            </div></label>
            <label class="text">
    			  <div class="inp"><input type="text" name="url" id="url" onfocus="if (this.value == 'www') this.value = '';" onblur="if (this.value == '') this.value = 'www';"  value="www" size="22" class="text-input" tabindex="3" />
            </div></label>
            </div>
    		<?php endif; ?>
          <label class="message <?php if ( is_user_logged_in() ) {echo 'long';} ?>">
          <div class="inp_txt">
          <textarea name="comment" id="comment" cols="2" rows="2" tabindex="4" class="comment-input" onfocus="if (this.value == 'Komentář') this.value = '';" onblur="if (this.value == '') this.value = 'Komentář';" rows="2" cols="2">Comment</textarea>
          </div>
         </label>
                          <?php comment_id_fields(); ?>
    		<?php do_action('comment_form', $post->ID); ?>       </div>
                               <div class="bot-cont">
                                <div class="l"></div>
                                <div class="r"></div>
                                <div id="if1"></div>
                                <div class="b-subm"><input name="submit" type="submit" id="send" tabindex="5" value="" class="comment-submit" /></div>
                            </div>
    	</form>
     </div>

    http://wordpress.org/extend/plugins/cbnet-really-simple-captcha-comments/

  2. Chip Bennett
    Theme Review Admin
    Plugin Author

    Posted 11 months ago #

    @tenshinhikaru

    Thanks for using the Plugin.

    I am unable to provide support specific to that Theme, as it is a commercial Theme and not distributed under a GPL-compatible license.

    That said, in general, the issue is that the Theme uses a hard-coded comment form, rather than using the core comment_form() function, and does not include the hooks that the Plugin uses to output the CAPTCHA.

    You would have to output cbnet_rscc_captcha() in the appropriate place within the comment fields in order for the Plugin to work.

Reply

You must log in to post.

About this Plugin

About this Topic