ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Comments Not Showing Captcha On Some Pages?

April 02, 2010 3:13am

Subscribe [2]
  • #1 / Apr 02, 2010 3:13am

    Darren L

    16 posts

    Hi guys, I have a weird dillema. My comments captcha is not showing on my bad ass video games module, example here:
    http://www.ultragamer.com/bad-ass-video-games/kane-lynch-2-dog-days-screenshots

    But it works fine on my online games module:
    http://www.ultragamer.com/online-games/alien-hominid

    They both include the comments form from a file that looks like this:

    {exp:comment:form}
            <fieldset>
                    <label for="name">Name:</label>
                    <input type="text" name="name" value="{name}" size="50" />
                    <label for="email">Email:</label>
                    <input type="text" name="email" size="50" />
                    <label for="comment">Comment:</label>
                    <textarea name="comment" cols="70" rows="10"></textarea>
                    {if captcha}
                    <label>Human Test:</label>
                    <div class="nrml">{captcha}</div>
                    <input type="text" name="captcha" size="20" maxlength="20" style="width:140px;" />
                    {/if}
                    <div>
                        <input class="nrml" type="checkbox" name="save_info" value="yes" {save_info} /> <label class="nrml" for="save_info">Remember my personal information?</label>
                    </div>
                    <div>
                        <input class="nrml" type="checkbox" name="notify_me" value="yes" {notify_me} /> <label class="nrml" for="notify_me">Notify me of follow-up comments?</label>
                    </div>
                    <input class="nrml" type="submit" name="submit" value="Submit" />
            </fieldset>
            {/exp:comment:form}

    Does anyone know why this is happening? Thanks

  • #2 / Apr 02, 2010 3:35am

    John Henry Donovan

    12339 posts

    DarrenL87,

    Can you try adding the weblog= parameter to your comments tag

    Are you using any conditionals in those templates similar to {if logged_out}?

  • #3 / Apr 04, 2010 2:34am

    Darren L

    16 posts

    Sorry I had to enable captcha for that weblog. Thank you though.

  • #4 / Apr 04, 2010 6:39am

    Sue Crocker

    26054 posts

    Glad you were able to find out what the problem was. Don’t hesitate to post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases