PDA

View Full Version : [fixed] wrong link to 'forgot password' when loggin in as admin


RWJDCom
Thu 6th Dec '01, 9:15pm
Hello.. I may have found a bug with the software. It's a real easy fix but still, it's a tad bit annoying.

When logging into the admin control panel at yourhost.com/forums/admin if you, the admin, forgets his password, and types it wrong when logging in, you get the option to "click here" to change your password (the same thing a user would get when they type the wrong password).

The problem is, when you get that option to click "here" it tries to send you to member.php in the /forums/admin/ directory when it should be trying to send you to member.php in the /forums/ home directory.

There is a way to change the template to make it work correctly, but i'd rather see it fixed in the next release than a workaround.

Thanks,

ex0dus - http://www.demented.org/forums

tubedogg
Thu 6th Dec '01, 10:16pm
Moving to bugs...

The fix is gonna be to edit the template I betcha though. :D

RWJDCom
Thu 6th Dec '01, 11:14pm
no doubt.

i already edited the template, but i forgot where, so i can't post a fix. but I already fixed the problem on my forums. I just wanted to make others aware of it.

tubedogg
Fri 7th Dec '01, 12:25am
Edit the error_wrongpassword template and add $bburl/ before member.php so it looks like
$bburl/member.php?s=$session[sessionhash]&action=lostpw

eva2000
Fri 7th Dec '01, 1:01am
Originally posted by tubedogg
It's in error_wrongpassword and what I would do is add $bburl/ before member.php so it looks like
$bburl/member.php?s=$session[sessionhash]&action=lostpw

But that's not the official fix, so we'll wait for that. :) hmmm a few people have that problem but i asked them to check their URL in vB options and once changed it it fixed it

tubedogg
Fri 7th Dec '01, 1:42am
That couldn't fix the problem here...the template that is used when this happens has just member.php in it, with no reference to $bburl.

I think the problem you are thinking of is a broken image on this or a similar page, and that *can* be fixed by changing the bburl option.

Freddie Bingham
Sat 8th Dec '01, 6:28pm
Looks good to me or adding "../" before member.php also..

tubedogg
Sat 8th Dec '01, 9:42pm
But doing that would make it wrong when it appears through the normal board. :D The same template is used on the main part of the board as well as when logging into the Admin CP.