[Solved]: Password Hint Length [Solved]: Password Hint Length
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Password Hint Length

Started by NeilC, June 30, 2009, 10:29:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NeilC

Guys,

Although the help section suggests I can use 'What was the maiden name of aunt Emma?' - it will only accept 'What was the maiden name of aunt'  :(

I have looked everywhere but cannot find the file to lengthen this field.

Does anyone know how I can extend this field so I can add more words please?

Thanks

Neil

Joachim Müller


NeilC

Quote from: Joachim Müller on June 30, 2009, 11:04:17 AM
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616

So what have I done wrong, Joachim?

I assume you are trying to tell me something by providing a link to the rules?

I have searched the forum before asking my ONE question?

Fabricio Ferrero

Quote from: NeilC on June 30, 2009, 11:07:59 AM
I assume you are trying to tell me something by providing a link to the rules?
Exactly. If you allow your browser to load fully the link he post you will discover that out.

If you know what he asked, what's the point of not doing it? Start helping us if you want help from us.

Post a link to your gallery.
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

NeilC

Quote from: Fabricio Ferrero on June 30, 2009, 02:25:31 PM
Exactly. If you allow your browser to load fully the link he post you will discover that out.

If you know what he asked, what's the point of not doing it? Start helping us if you want help from us.

Post a link to your gallery.

OK...

I did not offer a link to my website as it was irrevelant, however, it is http://www.proofing.softtone.co.uk

If you click on 'Markfield Colts' the Password Hint is 'Assistant Coach 'Ian's' surname?'. I want make it clear for users and therefore would like to add 'What is the' i.e. 'What is the Assistant Coach 'Ian's' surname?'.

The field length is too short - can you tell me where I can change the number of characters allowed in this field please?

Thanks

Neil

Nibbler

modifyalb.php


function form_password_hint($text, $name)
{
  global $ALBUM_DATA;
  $value = $ALBUM_DATA[$name];

  echo <<<EOT
        <tr>
          <td width="40%" class="tableb">
              $text
          </td>
          <td width="60%" class="tableb" valign="top">
            <input type="text" name="$name" value="$value" class="textinput" maxlength="32" size="34" />
          </td>
        </tr>
EOT;
}


Change or remove the maxlength="32"

NeilC

Thank you Nibbler..

Really appreciate your help.

Neil

Joachim Müller

@Nibbler: should be done in SVN as well imo.