Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 10-19-2014, 02:17 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you got any adblocker on your browser. If we can get a link to your site
Reply With Quote
  #3  
Old 10-19-2014, 03:24 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can see ads on this site ... if that is the site in question.
Reply With Quote
  #4  
Old 10-19-2014, 03:45 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See them as well on that site looks like he has some kind of adblocker on his browser
Reply With Quote
  #5  
Old 10-19-2014, 04:16 PM
Bluefin221 Bluefin221 is offline
 
Join Date: Jul 2008
Location: Scotland
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, the ads show as I have called them in an iframe, but I want them through the actual site as intended by vBulletin itself, because since I switched theme and added through iframe my revenue has more than halved.
Reply With Quote
  #6  
Old 10-19-2014, 04:31 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If they show in a default style, and not the custom one, you need to contact the style dveloper and have them fix the problems with the coding of the style.
Reply With Quote
  #7  
Old 10-19-2014, 05:44 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

They seem to be in the default location on your custom style for me if the link in post 3 is your site
Reply With Quote
  #8  
Old 10-19-2014, 05:46 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
They seem to be in the default location on your custom style for me if the link in post 3 is your site
Yeah as he stated:

Quote:
Originally Posted by Bluefin221 View Post
No, the ads show as I have called them in an iframe, but I want them through the actual site as intended by vBulletin itself, because since I switched theme and added through iframe my revenue has more than halved.
But he wants them out of the iframe.
Reply With Quote
  #9  
Old 10-19-2014, 05:48 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see Ozzy I thought he wanted them in the default location
Reply With Quote
  #10  
Old 10-19-2014, 05:52 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also if this is google ads, he will get banned from them.

Quote:
AdSense code may not be altered, nor may the standard behavior, targeting or delivery of ads be manipulated in any way that is not explicitly permitted by Google. This includes but is not limited to the following: clicking Google ads may not result in a new browser window being launched, nor may Google ads be placed in an IFRAME.
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 02:05 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.04526 seconds
  • Memory Usage 2,260KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)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
  • (10)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