Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 08:54 am EST
Geeklog Forums
Forgot password in user functions block
Status: offline
twistedfreak
Forum User
Junior
Registered: 05/08/02
Posts: 29
I would like to add a forgot password? link in the user functions block in the left column and also extend the input fields for username and password. (so they fill the width of the block) but where abouts in the scripts, is this block defined? I can't seem to find it anywhere.
Thanx.
16
10
Quote
David Coletta
Anonymous
I did this by modifying language/english.php. Entry 59's default value is:
59 => "Don't have an account yet? Sign up as a <a href="{$_CONF['site_url']}/users.php?mode=new">New User</a>"
I added the following at the end of this entry:
<br>Forgot your password? <a href="{$_CONF['site_url']}/users.php?mode=getpassword">Recover it</a>
It's a little odd to see PHP in a language file, and entry 59 is the only one that has any, but since it was already there, it seemed kosher to add to it.
Text Formatted Code
59 => "Don't have an account yet? Sign up as a <a href="{$_CONF['site_url']}/users.php?mode=new">New User</a>"
I added the following at the end of this entry:
Text Formatted Code
<br>Forgot your password? <a href="{$_CONF['site_url']}/users.php?mode=getpassword">Recover it</a>
It's a little odd to see PHP in a language file, and entry 59 is the only one that has any, but since it was already there, it seemed kosher to add to it.
11
13
Quote
David Coletta
Anonymous
I would have liked to include the backslashes, but I can't figure out how. I type them in and they get stripped out.
12
10
Quote
All times are EST. The time is now 08:54 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content