View Single Post
  #1  
Old 10-19-2014, 12:28 PM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Google adverts not showing on my theme?

Really looking for some help with this, my theme is heavily customised however I cannot get the google adverts to show up, I checked against the default theme and all that was missing was the following.

Quote:
{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}
I have added it and still the adverts don't show, they do not show on the footer or indeed the navbar page which shows directly under the navbar part of the site.

I have included my navbar code to see if someone else can see where I am going wrong.

Code:
<style>
.navtabs li a.navtab {
display: block;
float: left;
color: white;
text-decoration: none;
font-size: 130%;
font-style: normal;
font-weight: bold;
font-family: arial, helvetica, sans-serif;
padding: 0px 13px 0px 13px;

text-transform: uppercase;
}

.navtabs li#vsapaypal_donlink a {
color: black;

}

.un-article {
    border: 1px solid #dadada;
	border-bottom: 5px solid #dadada;
    margin: 0px auto 10px auto;
   -webkit-border-top-left-radius: 5px;
   -webkit-border-top-right-radius: 5px;
   -moz-border-radius-topleft: 5px;
   -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.un-article .titre {
    padding: 5px !important;
    position: relative;
}

.un-article .infos {
	
	background: url('/forums/images/styles/TimeTraveler/style/infos_bg.png') repeat-x;
    font-size: 12px;
    font-family: arial;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    color: white;
    padding: 0px;
    height: 17px;
    padding-bottom: 10px;
    padding-left: 10px;}

.un-article .article {
	padding-left:10px;
	padding-right:10px;
    overflow: hidden;
}

.un-article-seul {
    margin: 0 auto;
}

#content h6 {
    background-image: url("/forums/images/styles/TimeTraveler/style/barlogo.png"), url("/forums/images/styles/TimeTraveler/style/bg_h2.jpg");
    background-position: right top, right top;
    background-repeat: no-repeat, repeat;	
    height: 27px;
    color: white;
    text-decoration: none;
	text-transform:uppercase;
    font-size: 110%;
    font-style: normal;
    font-weight: bold;
    font-family: arial, helvetica, sans-serif;
    padding: 8px 0px 0px 8px;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

#content h6 span {
    color: #fff;
	position:relative;
	top:5px;
}


</style>
<div id="navbar" class="navbar">
<div class="navLeft"><div class="navRight">

	<ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>">
<li style="float:left;width:46px;"><a href="http://www.completegaming.net/" title="Homepage"><img src="/forums/images/styles/TimeTraveler/style/header-menu-home.png" style="position:relative; top:3px; left:2px;" alt="Home"></a></li>
		{vb:raw template_hook.navtab_start}
		{vb:raw navigation}
                {vb:raw template_hook.navtab_end}
	</ul>

</div></div>
</div>
</div>


    </tr>
   </tbody></table> </div>


<!-- closing div for above_body -->

{vb:raw show.dbtech_twitch_featured}
{vb:raw show.vbshout_instance1}



<!-- Custom Content Wrap -->
		<div id="contentMain">
			<div id="contentBox">
				<div class="contentBoxLeft"><div class="contentBoxRight">
<!-- Custom Content Wrap End -->

<div class="body_wrapper">



<div id="breadcrumb" class="breadcrumb">
<div class="bcLeft"><div class="bcRight">
	<ul class="floatcontainer">
        
		<li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>

		{vb:raw navbits.breadcrumb}
		{vb:raw navbits.lastelement}
	</ul>
	<hr />
</div></div>
</div>
 
{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}


<vb:if condition="$show['notices'] AND THIS_SCRIPT != 'register'">
	<form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
		<input type="hidden" name="do" value="dismissnotice" />
		<input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
		<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
		<input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
		<input type="hidden" name="url" value="{vb:raw return_link}" />
		<ol>
			{vb:raw notices}
		</ol>
	</form>
</vb:if>
I'd really appreciate some help with this if anyone could help at all.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01193 seconds
  • Memory Usage 1,799KB
  • 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
  • (1)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