Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: Password Hint Length  (Read 3163 times)

0 Members and 1 Guest are viewing this topic.

NeilC

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
[Solved]: Password Hint Length
« on: June 30, 2009, 10:29:12 am »

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
« Last Edit: June 30, 2009, 04:37:08 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

NeilC

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Password Hint Length
« Reply #2 on: June 30, 2009, 11:07:59 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?
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Password Hint Length
« Reply #3 on: June 30, 2009, 02:25:31 pm »

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.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

NeilC

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Password Hint Length
« Reply #4 on: June 30, 2009, 02:51:24 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
Logged

Nibbler

  • Guest
Re: Password Hint Length
« Reply #5 on: June 30, 2009, 03:44:44 pm »

modifyalb.php

Code: [Select]
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"
Logged

NeilC

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Password Hint Length
« Reply #6 on: June 30, 2009, 04:22:00 pm »

Thank you Nibbler..

Really appreciate your help.

Neil
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Password Hint Length
« Reply #7 on: June 30, 2009, 06:43:23 pm »

@Nibbler: should be done in SVN as well imo.
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 20 queries.