XF 1.2 Html/Javascript not working

Jefferson Filho

Active member
Yo!

For some reason in my forum when I add a html code or javascript in any part of the forum it doesn't work, I have tired on the ad_ template hooks for java from ads from google and html and seems not working, any idea why?
 
Code:
<style type="text/css">
#banner-4687-250 {
  position:absolute;
  width:488px;
  height:75px;
  left:55%;
  top: 17px;
  border-color: 1px #DEDCC5;
  background-color: #DEDCC5;
  --moz-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: inset 0 0 2px 2px #C9C9C9;
  -webkit-box-shadow: inset 0 0 5px 5px #C9C9C9;
  box-shadow: inset 0 0 4px 4px #C8C8C8;

}
#banner-inside-4687 {
  position:absolute;
   width:468px;
   height:60px;
  bottom: 8px;
   left:11px;
  --moz-border-radius: 15px;
  border-radius: 15px;
}

</style>
<center><div id="banner-4687-250">
<div id="banner-inside-4687">

<script type="text/javascript"><!--
google_ad_client = "ca-pub-8647881776322128";
/* forum */
google_ad_slot = "6376520295";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

</div></div></center>
Google one

The other one
Code:
<a href="http://www.hastlehost.com" target="_new"> <img alt="Patrocinador Oficial" src="http://hastlehost.com/banners/banner7.png" /></a>
It was working fine just few days ago don't know what happen
 
Last edited:
The second one works for me.

The first one you will need to check with your Google account to see if the ads are being served and the details are correct.
 
The second one works for me.

The first one you will need to check with your Google account to see if the ads are being served and the details are correct.
I know right? There is nothing wrong! To make sure I install a new xenforo for test with the same version im using, installing all the addons that I have in the other one and on the test on everything works perfecly both of them show how it was suppos to be! Any idea what it could be?
 
If the code is identical then it can only really be one of two things: a JavScript conflict with additional JS you have on your site somewhere, or the domain is blocked in your Google account.
 
If the code is identical then it can only really be one of two things: a JavScript conflict with additional JS you have on your site somewhere, or the domain is blocked in your Google account.
Might be the first option, because even the normal code is not showing, the html one, but the thing is none of html code is working as well.
 
Top Bottom