View Single Post
  #8  
Old 10-02-2007, 02:01 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool. Well, I'm still not sure if this is what you're looking for but let's give it a go. Just make sure to backup your style/edits before making the changes (not much). We can always adjust and tailor it to suit your needs.

Quote:
Originally Posted by Spank View Post

Header:
Code:
<!-- logo -->
<a name="top"></a>
<div class="header" align="center">
    <div style="width:$stylevar[outerdivwidth]; text-align:$stylevar[left]" class="logobg">
<div class="logo">
  <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
</div>
<div class="banner">
<script type="text/javascript"><!--
google_ad_client = "pub-9556872839910172";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-06-18: vBulletin Styles
google_ad_channel = "5984012549";
google_color_border = "1f5fb4";
google_color_bg = "FFFFFF";
google_color_link = "1f5fb4";
google_color_text = "000000";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
        <table width="100%" class="nav" cellpadding="0" cellspacing="1">
        <tr>
            <td width="20">&nbsp;</td>
            <if condition="$show['member']">
                <td class="nav_button"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
            </if>
            <if condition="$show['registerbutton']">
                <td class="nav_button"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
            </if>
            <td class="nav_button"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
            <td class="nav_button"><a href="search.php$session[sessionurl_q]">$vbphrase[search]</a></td>
            <td class="nav_button"><a href="faq.php$session[sessionurl_q]">$vbphrase[faq]</a></td>
            <td class="nav_button"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
            <if condition="$show['registerbutton']">
            <td class="nav_button"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<if condition="$show['member']">
                        <td class="nav_button"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
</if>
            <if condition="$show['member']">
                <td class="nav_button"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
            </if>
            <td>&nbsp;</td>
 
 
            <td width="20">&nbsp;</td>
        </tr>
        </table>
    </div>
</div>
<!-- /logo -->
 
<!-- content table -->
$spacer_open
 
$_phpinclude_output
The code in red is to be removed (since you were going to do without the google ad anyway). The <div> code in blue is to indicate a change of "class" insert. Leave the blue code but remove the red code.

In Admin CP --> Styles & Templates --> Styles Manager --> Your Style --> Main CSS at the very bottom of additional CSS add the code:

Code:
.logobg {
  height:xpx;
  vertical-align:bottom;
  background:#ffffff url(local/path/to/your/logo/here) no-repeat bottom left;
  }
The x is the height of the banner. It's in pixels. I haven't tested it so I don't know what the final result will look like.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02558 seconds
  • Memory Usage 1,790KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete