Fields on Comments Page

I only want the Name and Captcha in the comments section, what do I need to edit to remove the email and site fields ? I am using the default theme.

Steve

Comments

  • First, on the admin opton comment configuration tab be sure the fields you do not want to show are not checked as required. Then delete the lines indicated from default's image.php script.

    ` <?php echo gettext("Name:"); ?>
    ( /> <?php echo gettext("don't publish"); ?>)

    " class="inputbox" />

    `
    <del>
    ` <?php echo gettext("E-Mail:"); ?>
    " class="inputbox" />

    <?php echo gettext("Site:"); ?>
    " class="inputbox" />
    `
    </del>
    `<?php if (getOption('Use_Captcha')) {<br />
    $captchaCode=generateCaptcha($img); ?> <?php echo gettext("Enter Captcha:"); ?>
    alt="Code" align="bottom"/>

    "/>

    <?php } ?>
    /> <?php echo gettext("Private (don't publish)"); ?>
    `
  • (I know it has been a while since reply was posted but have been distracted by other more salary threatening stuff)

    <<Then delete the lines indicated from default's image.php script.>>
    I am struggling to find image.php, could you give me a clue as to where it is/should be ?

    Steve
  • all theme files are in the folder with the name `../themes/` so for the default theme it woujld be `../themes/default/image.php`
  • Many thanks

    Steve
Sign In or Register to comment.