The Arcive of vBulletin Modifications Site. |
|
VB3-Style admin-login Details »»
|
|||||||||||||||||||||||||
Right..
Just for fun (well, for the looks, really ) I took a few minutes to re-write the vb2.2.8 admin-login screen to look like the vb3 preview one.Note: the code does use images that are copyrighted to jelsoft, so you're *supposed* to use your own, unless jelsoft allow us all to use them ![]() Step 1, download the hack (attachment to this post) Step 2, unzip all the files to your admin/ directory Step 3, open up global.php (in the admin dir!) Step 4: Look for PHP Code:
PHP Code:
![]() 11/28: Made the username (if it was ever set) appear in the username box automatically. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Thanks!
Btw, that URL should be http://www.vbulletin.com/forum/modcp , not just mod.] Posting the HTML in the files creates a parse error. O_o |
|
#3
|
||||
|
||||
|
Hehe...
I don't the images should be a problem, since we are using it with a licensed vB. Post a demo or screenshot for the ones who would surely ask for one... |
|
#4
|
||||
|
||||
|
To avoid parse errors when you place HTML in PHP files, make sure you put a \ slash behind every " like this:
<img src\"http://test.com/test.gif\"> Edit: Actually, this doesn't apply to global.php I've just had a look at it, as the HTML is not within php tags. |
|
#5
|
||||
|
||||
|
The parse error is on the line that contains naught but <html>
|
|
#6
|
||||
|
||||
|
Cool... it worked for me.
Your instructions need to be a bit clearer - what to copy, what to replace etc. But it looks nice. ![]() It works for both the Admin and Mod CP logins - for the mod one, just edit the mod global.php in the same way.
|
|
#7
|
||||
|
||||
|
Eh? Can you post exactly what you have from
PHP Code:
I was adding "echo "";" tags all the way down and it was working until I got to echo "<table cellpadding=\"4\" cellspacing=\"0\" border=\"0\" width=\"100%\" class=\"submitrow\">"; Whereupon it still gives a parse error. |
|
#8
|
||||
|
||||
|
No, no need to put echo - just cut and paste the HTML code UNCHANGED - no need echo, no need backslash - that bit is not within PHP as the PHP tags have ended.
|
|
#9
|
||||
|
||||
|
So what does yours read then? Even without the echo's, it does not work. Without the backslashes, it does not work. O_o
Mine reads like this: PHP Code:
|
|
#10
|
||||
|
||||
|
can someone post a way I can understand it better I'm confused and i wanna get this.
|
![]() |
|
|