Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Nemesis77 Nemesis77 is offline
Developer Last Online: Nov 2002 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-12-2002 Last Update: Never Installs: 0
 
No support by the author.

Does anyone have a template mod so I can center my logo and make it the full width of the screen like here at vb.org or a hack for adding a new header

I added <center> </center> around the code in the header for my logo but it stays to the left and pushes the forum to the right and bunches them together.

Thanks for any help.

Show Your Support

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

Comments
  #2  
Old 02-12-2002, 06:36 AM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm new to messing with vB, but what you are looking for is in the "header" template between:

<!-- logo and buttons -->

<!-- toplinks -->

which is at the very top of the template. I removed everything between those and just built a full screen gif into a table (used Dreamweaver). Make sure you store your *.gif/jpg in the forums/images folder and use variable { imagesfolder }/gif/jpg name. (minus the space).

As I said, I'm new, so wait on more replies before you try it and as always, back up your database before hacking
Reply With Quote
  #3  
Old 02-12-2002, 07:36 AM
Nemesis77 Nemesis77 is offline
 
Join Date: Nov 2001
Location: canada
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got my logo Centered perfectly over the top of my board. My images width is the same as the logo for VB.org. 765 pixels Wide.

But my logo still isn't showing the full width of the screen.

here's what I used in my header to center the logo

<table width="100%" border=0 cellspacing=0 cellpadding=0>
<tr>
<td background="{ imagesfolder}/background.gif" align="center"><img border="0" src="{ imagesfolder}/dazelogo.jpg"></a></td>
</tr>
</table>
Reply With Quote
  #4  
Old 02-12-2002, 08:37 AM
M.Smith M.Smith is offline
 
Join Date: Feb 2002
Location: Durham, UK
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the one on this forum probably looks something like this
Code:
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td background="https://vborg.vbsupport.ru/images/side_image.gif"></td><td width="765"><a href="index.php?s="><img src="https://vborg.vbsupport.ru/images/logo.gif"></a></td><td background="https://vborg.vbsupport.ru/images/side_image.gif"></td></tr></table>
you could modify your code to this:
Code:
<table width="100%" border=0 cellspacing=0 cellpadding=0> 
<tr> 
<td background="{ imagesfolder}/background.gif" align="center"><img border="0" src="{ imagesfolder}/dazelogo.jpg" width="100%"></a></td> 
</tr> 
</table>
Reply With Quote
  #5  
Old 02-12-2002, 11:17 AM
Nemesis77 Nemesis77 is offline
 
Join Date: Nov 2001
Location: canada
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks For all your help Guys. I got the code. Incase anyone else needs the same this is what I used.

Code:
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td background="{ imagesfolder}/rightextend.jpg" nowrap height="80"> 
      <center><a href="index.php?s="><img src="{ imagesfolder}/dazelogo.jpg" width="765" height="80" border="0"></a></center>
    </td>
  </tr>
Reply With Quote
  #6  
Old 02-26-2002, 01:16 AM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what is the rightextend.jpg?
Reply With Quote
  #7  
Old 02-26-2002, 03:19 AM
Nemesis77 Nemesis77 is offline
 
Join Date: Nov 2001
Location: canada
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The extend.jpg is just a small pic 1 pixel wide by the same hight as your logo. it's the same color as the end of your logo. if you notice for VB.org's logo it doesn't actuall extend the full width. On both side of the logo is the extend.jpg file.
Reply With Quote
  #8  
Old 03-17-2002, 01:03 AM
Mathiau's Avatar
Mathiau Mathiau is offline
 
Join Date: Jan 2002
Location: Costa Rica and toronto
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See below
Reply With Quote
  #9  
Old 03-27-2002, 04:58 AM
Mathiau's Avatar
Mathiau Mathiau is offline
 
Join Date: Jan 2002
Location: Costa Rica and toronto
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All i used was


$themeheader
$thememenu
$themeleftcolumn
<!-- content table -->
<table bgcolor="#0E3652" width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>



BUT this only centers the logo and buttons, now how can i get my forum tables to stay centered with the Logo?

As when u resize your IE window, they do not stay centered and are off to one side....

http://66.207.199.6/forums/index.php?s=
Reply With Quote
  #10  
Old 03-27-2002, 05:10 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mathiau
All i used was


$themeheader
$thememenu
$themeleftcolumn
<!-- content table -->
<table bgcolor="#0E3652" width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>
Try:

<!-- content table -->
<table bgcolor="#0E3652" width="100%" cellpadding="10" cellspacing="0" border="0" [high]align="center"[/high]>
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 11:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04359 seconds
  • Memory Usage 2,293KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete