![]() |
VB3-Style admin-login
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 :p 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. |
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 |
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... |
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. |
The parse error is on the line that contains naught but <html>
|
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. :) |
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. |
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. :)
|
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:
|
can someone post a way I can understand it better I'm confused and i wanna get this.
|
All times are GMT. The time now is 12:29 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:
|