Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
admin cp login background Details »»
admin cp login background
Version: 1.00, by Protoman Protoman is offline
Developer Last Online: May 2011 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-05-2005 Last Update: Never Installs: 9
Code Changes Additional Files  
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-07-2005, 01:24 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Revolution is great!

Ill put my biz logo in there.
Reply With Quote
  #3  
Old 10-28-2005, 08:21 PM
imported_magjr imported_magjr is offline
 
Join Date: Nov 2004
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04189 seconds
  • Memory Usage 2,218KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete