Hi
How would it be possible to add a "Forgotten Password Button" to the login block on the Portal?
The current design can leave people a bit cold if they can't remember their password, as pressing the login button without filling in at least an attempt at a u/n and p/w isn't exactly the intuitive thing to do. OK if they do that they come to a page that has the lost password link, but it would be far better to have that in the login block (plenty of space for a button of the same design as the "login" button rather than have a text link I'd have thought.)
Be interested to hear if this can be done.
Thanks in advance
Martin
Forgotten Password Button
Re: Forgotten Password Button
Martin, open styles/prosilver/template/portal/block/login_box.html
Find:
Add after:
If your forum is in a sub diretory, add the directory before the /ucp.php part, to make etc.
This will add the link under the box like this..
Find:
Code: Select all
<span class="genmed">{L_PASSWORD}:</span><br />
<input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" />
Code: Select all
<dd><a href="/ucp.php?mode=sendpassword">{L_FORGOT_PASS}</a></dd>
Code: Select all
<dd><a href="/forum/ucp.php?mode=sendpassword">{L_FORGOT_PASS}</a></dd>
This will add the link under the box like this..
You do not have the required permissions to view the files attached to this post.
Re: Forgotten Password Button
Thanks for that. Nearly there now. Any idea why the forgotten password link goes to the /ucp.php?mode=login page even if the /ucp.php?mode=sendpassword script is used?