Back to vBulletin 3.5 Add-ons

admin cp login background
Mod Version: 1.00, by Protoman

This modification is in the archives.
vB Version: 3.5.0 Rating: (0 vote - 0 average) Installs: 9
Released: 07 Oct 2005 Last Update: Never Downloads: 13
Not Supported Code Changes Additional Files  

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:
<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="450" align="center"><tr><td>
Replace with: * you can change width in this line to the width of your background image
Code:
<table class="tborder" cellpadding="0" cellspacing="0" border="0" width="600" align="center"><tr><td>
On Line 114 Find:
Code:
<!-- logo and version -->
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="navbody">
	<tr valign="bottom">
		<td><img src="../cpstyles/<?php echo $vbulletin->options['cpstylefolder']; ?>/cp_logo.gif" alt="" title="<?php echo $vbphrase['vbulletin_copyright']; ?>" border="0" /></td>
		<td>
			<b><a href="../<?php echo $vbulletin->options['forumhome']; ?>.php"><?php echo $vbulletin->options['bbtitle']; ?></a></b><br />
			<?php echo "vBulletin " . $vbulletin->options['templateversion'] . " $pagetitle"; ?><br />
			&nbsp;
		</td>
	</tr>
</table>
<!-- /logo and version -->
	<table cellpadding="4" cellspacing="0" border="0" width="100%" class="logincontrols">
	<col width="50%" style="text-align:<?php echo $stylevar['right']; ?>; white-space:nowrap"></col>
	<col></col>
	<col width="50%"></col>
<!-- login fields -->
Replace with: * change background image height in the 2nd line, width of inner box in embedded table
Code:
<!-- start background image -->
<table align="center" background="../cpstyles/<?php echo $vbulletin->options['cpstylefolder']; ?>/bg.jpg" height="400" cellpadding="4" cellspacing="0" border="0" width="100%">
	<tr align="center" valign="middle">
		<td>
			<table cellpadding="4" cellspacing="0" border="0" width="60%" class="logincontrols">
				<tr align="center">
					<td colspan="2"><b><?php echo $vbulletin->options['bbtitle']; ?></b></td>
				</tr>
~Line 173 Find:
Code:
</table>
Replace with:
Code:
<!-- version information -->
	<tr>
		<td align="center" colspan="3"><?php echo "vBulletin 3.5.x" . " $pagetitle"; ?></td>
	</tr>
	<!-- /version information -->
</table></td></tr>
<!-- /end background image -->

%%%%%%%%%%%%%%%%%%%%%
All Done! Enjoy!
%%%%%%%%%%%%%%%%%%%%%

If you like it click install!

Download

This modification is archived and cannot be downloaded.

Screenshots

 


vblts.ru supports vBulletin®, 2022-2024