PDA

View Full Version : admin cp login background


Protoman
06 Oct 2005, 22:36
AdminCP Image Background 1.00
by Protoman

What this Does??: Give your adminCP LOGIN page a custom background of your choosing. I thought the original was a bit bland so I threw in a background image to liven it up!

You loose the link to your forum home from the login screen but I don't find that necessary to have.

File Edits: 1
File Uploads: 1

1) Start by getting the dimensions of a picture, then upload it to /forum/cpstyles/YOUR_STYLE/bg.jpg
(ie. /forum/cpstyles/vbulletin_3_Default/bg.jpg)
*You will need to upload this file for each of your admin control panel styles.*

2) Edit the height and width values below as needed to match your image.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
In includes/adminfunctions.php
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Find:

Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace with: * you can change width in this line to the width of your background image


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


On Line 114 Find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace with: * change background image height in the 2nd line, width of inner box in embedded table


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


~Line 173 Find:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


Replace with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




%%%%%%%%%%%%%%%%%%%%%
All Done! Enjoy! :)
%%%%%%%%%%%%%%%%%%%%%

If you like it click install!

COBRAws
07 Oct 2005, 03:24
Revolution is great!

Ill put my biz logo in there.

imported_magjr
28 Oct 2005, 22:21
cant get it to work. When I try it, the background pic isnt there and it doesnt allow me to login

I'm using vb3.5 gold and on my adminfunctions.php there is no </table> on line 173

edit* when you do all the coding, it pushes that line 173 </table> down quite a bit. I reworked it starting with that line and it worked, but I'm still unable to login to my control panel after doing this.

ANy help would be great.