How to add Google adsense to a block?

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
iamfreee
Active Member
Posts: 1
Joined: 13. January 2011 21:19

How to add Google adsense to a block?

Post by iamfreee »

Your Portal Version: 1.0.6
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Advanced Knowledge
Boardlink: http://cmflusitana.com/portal.php

What have you done before the problem was there?
I have tried to make a custom block to put the google adsense script and nothing is showed. Only the title of block.

What have you already tryed to solve the problem?
I have changed the script code of adsense, but nothing is showed..
Blocks support's <script> tag?


Description and Message
Hi all, i need a small help.

I dont know why, when i make a new block on the right side, and i put the code of adsense nothing is showed.

Here is the html of block:

Code: Select all

<!--version $Id: pubs.html 544 20011-03-10 12:35:25Z iamfreee $ //-->
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{T_THEME_PATH}/images/portal/portal_links.png" width="16" height="16" alt="" />&nbsp;<!-- ENDIF -->Publicidade{$LR_BLOCK_H_R}
	<div align="center"><script type="text/javascript"><!--
google_ad_client = "xxxxxxxxxxxxxxxxx";
/* Anuncio */
google_ad_slot = "xxxxxxxxxxxxxx";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript"
src="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">
</script></div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
I have tried the adsense code in another website, and it works.

Hope someone can help-me, thanks! ;)[/i]
Locked

Return to “board3 Portal 1.0.x - English Support”