![]() |
Admin CP styled "invalid password"
I don't know about anyone else, but the incorrect password window on the Admin CP really bugs the hell out of me. It's purple, and ugly, and looks well, bad.
I wanted something simple, and something that was styled to look like my Admin CP, so I did this: Open admin/sessions.php Find the line that says: Code:
eval("standarderror(\"".gettemplate("error_wrongpassword")."\");"); Code:
// eval("standarderror(\"".gettemplate("error_wrongpassword")."\");"); Code:
echo "<html><head><link rel=\"stylesheet\" href=\"../cp.css\"><title>Error</title></head>"; Screenshot: Result of an invalid login Any comments are welcome, it should work without any problems, as I've run it on my test board and live board without any problems. Remember, if you use it, hit 'install' |
lol ive wanted to do this for a while now...
- miSt |
So have I, but it wasn't till I was rehacking my board installing Firefly's admin e-mail hack that I realized where to put it.
|
lool, short, easy and something everyone wanted to do in the past *gg*
thanks marshalus |
Simple, but sweet, thanks for sharing :D
|
can we have a screenshot please?
thanks :) |
this is a screenshot :
|
Nice:)
Satan |
[high]* CeleronXL clicks install
[/high] Very nice. :) |
Oh, sweet. :) *installs*
|
Cheers, small but I like it. :) Running on 2.2.7. :)
|
marshalus, isnt easier this way?
sessions.php Code:
if (md5($loginpassword)!=$bbuserinfo[password]) { |
Works with 2.2.8. :)
|
@TECK - Does that style it as an Admin CP way?
Satan |
OR I guess we could just all remember our own passwords ;)
lol this is nice though, Im installing it. :) |
Quote:
thanx Marshalus |
I do...
I forget my password lol... Satan |
All times are GMT. The time now is 09:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|