vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   help? (https://vborg.vbsupport.ru/showthread.php?t=183447)

Sycoloco1212 06-25-2008 12:53 AM

help?
 
hello i was wondering if anyone knows how to center a image on the top for a logo for www.mpgamerz.net .. as u can see it has a different image thats blue and it repeats it.. anyone who knows how i would fix this and making that image centered in the middle of the forum plz?
website: www.mpgamerz.net

LoRdGd 06-25-2008 01:05 AM

ACP > Styles & Templates>Style Manager >All Style Options>header

I don`t know what is the oryginal code now, but you can modyficate and put in my code:

HTML Code:

<!-- logo -->
<a name="top"></a>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="headerwrap"><br><div align="center"><a href="http://your.board.adress.com/index.php$session[sessionurl_q]"><img src="images/path_to_logo/file.png" alt="$vboptions[bbtitle]" width="960" height="163" style="border: 1px solid #D4C4B4"></a></div></td></tr>

<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output


Sycoloco1212 06-25-2008 05:06 AM

fixed it i had todo this just incase other users are having the same problem go here

ACP > Styles & Templates>Search in Templates >

Search in template for this:
Code:

<!-- header -->
Now Go To Navbar

BEFORE:
Code:

<!-- header -->
<table cellpadding="0" cellspacing="0" width="100%" align="center" border="0">
<tr>
<td align="left"><img src="$stylevar[imgdir_misc]/logo copy.gif" width="600" height="95" border="0" alt="SGD">
<td align="center" width="100%" style="background: url($stylevar[imgdir_misc]/logo_fill.gif) repeat-x top left; font-weight: bold; color: #6a6a6a;"></td>

AFTER:
Code:

<!-- header -->
<table cellpadding="0" cellspacing="0" width="100%" align="center" border="0">
<tr>
<td align="center"><img src="IMAGE LOCATION GOES HERE" width="100%" height="95" border="0" alt="mpgamerz.net">

Just Copy The Code Above For The Top HEADER Part Only And For This Part IMAGE LOCATION GOES HERE Put Your Image Location Example:
www.yoursite.com/images/logo.gif

To See How It Looks on my Website Go > HERE

Dugchugger 07-02-2008 02:21 AM

Hey thanks for that. I was going to do something similar but changed the logo and it's best suited to the left for now. We're still playing with the logo so if we decide to do what you did, thanks in advance for posting your answer. Most helpful indeed. :D

Sycoloco1212 07-02-2008 04:43 AM

yep yw =) you can see my site http://mpgamerz.net that i needed it if u look at my logo =)


All times are GMT. The time now is 12:35 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
  • Page Generation 0.01126 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete