Verification code, please help its very wierd

Discussion in 'HTML & Website Design' started by icemusike, Mar 7, 2009.

  1. #1
    hy all dp members, i have a problem with my verification code from my web directory.. so here goes, if you try to add url on www.touchgraph.org when u try to enter verification code it only let u type 5 and the verification image containes 6 .. how can i fix it? :( it is very urgent, please help
     
    icemusike, Mar 7, 2009 IP
  2. cashhost

    cashhost Peon

    Messages:
    44
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I had the same problem, and got the fix from the phpld forum, Here it is.

    open your /templates/submit.tpl

    look towards the end for:
    Code:

    {if $smarty.const.VISUAL_CONFIRM}
    <tr>
    <td class="label"><span class='req'>*</span>{l}Enter the code shown{/l}:</td>
    <td class="field">
    <input type="text" name="CAPTCHA" value="" size="10" maxlength="5" class="text" />
    {validate form="submit_link" id="v_CAPTCHA" message=$smarty.capture.invalid_code}<br />
    <p class="small">{l}This helps prevent automated registrations.{/l}</p>
    <img src="{$smarty.const.DOC_ROOT}/captcha.php" class="captcha" alt="{l}Visual Confirmation Security Code{/l}" title="{l}Visual Confirmation Security Code{/l}" />
    </td>
    </tr>
    {/if}

    In that edit the line :

    Code:

    <input type="text" name="CAPTCHA" value="" size="10" maxlength="5" class="text" />

    to:

    Code:

    <input type="text" name="CAPTCHA" value="" size="10" maxlength="6" class="text" />

    maxlength="5" - > maxlength="6"

    Done!
     
    cashhost, Mar 7, 2009 IP
  3. icemusike

    icemusike Active Member

    Messages:
    455
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #3
    thanks a lot mate. i so apreciate it. il try it now
     
    icemusike, Mar 7, 2009 IP
  4. icemusike

    icemusike Active Member

    Messages:
    455
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    i cant explain to myself how come this bigg BUG wasent fixed by phpld.. guess they dont realy care about the free versions, thnx again.
     
    icemusike, Mar 7, 2009 IP