vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Google adverts not showing on my theme? (https://vborg.vbsupport.ru/showthread.php?t=314968)

Bluefin221 10-19-2014 11:28 AM

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.

ForceHSS 10-19-2014 01:17 PM

Have you got any adblocker on your browser. If we can get a link to your site

Seven Skins 10-19-2014 02:24 PM

I can see ads on this site ... if that is the site in question.

ForceHSS 10-19-2014 02:45 PM

See them as well on that site looks like he has some kind of adblocker on his browser

Bluefin221 10-19-2014 03:16 PM

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.

ozzy47 10-19-2014 03:31 PM

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. :)

ForceHSS 10-19-2014 04:44 PM

They seem to be in the default location on your custom style for me if the link in post 3 is your site

ozzy47 10-19-2014 04:46 PM

Quote:

Originally Posted by ForceHSS (Post 2519421)
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 (Post 2519408)
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.

ForceHSS 10-19-2014 04:48 PM

I see Ozzy I thought he wanted them in the default location

ozzy47 10-19-2014 04:52 PM

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.


All times are GMT. The time now is 01:45 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.01743 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete