PDA

View Full Version : Replace Help with Forgotten Password



PandavB
11-02-14, 03:32 PM
This will replace the 'Help' button next to your login boxes with a 'Forgotten Password?' button, making it easier for your members to reset their password.

To do this, all you have to do, is edit your 'header' template.

Go to: Admincp > Styles & Templates > Style manager > Edit templates > Show Thread templates > header

In the header template, Find:

Code:

<li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase help}</a></li>
Replace with:

Code:

<li><a href="login.php?do=lostpw{vb:raw session.sessionurl_q}">{vb:rawphrase forgotten_your_password}</a></li>
Voila! That easy!

It will go from:

1623

To this:

1624

The only difference to the image above when using the vb phrase is that it says 'Forgotten Your Password?' rather than ' Forgotten Password?' which would make more sense really :P
Although its totally your choic depending on how much space you want to use. Is so just remove the following line and replace with what you want between the arrows:

Code:

{vb:rawphrase forgotten_your_password}
If you wish to keep your 'Help' button just add this code above or beneath to suit your needs.

To get the little user icon and padlock images for your login area, use this mod.