TinyPortal

Development => Support => Topic started by: WorpeX on June 12, 2009, 09:19:45 PM

Title: problem with adsense in tinyportal
Post by: WorpeX on June 12, 2009, 09:19:45 PM
I am trying to put a google adsense banner at the top of my website (In the Main Sponsor block). I made the block, and pasted the code into an HTML & Javascript box. I waited a good week and it still has not shown up. I tried to use the Preview feature in google adsense, and it doesn't show up when I try to do that too.

What really confuses me, is that i've had an adsense ad as a left hand block for years now and it shows up and works fine. I did this new ad the same way I did that one, but its not working.

Help please!

Site: www.WCOlympics.com
Title: Re: problem with adsense in tinyportal
Post by: G6Cad on June 12, 2009, 09:23:26 PM
We will need some more info before we can help

1. What is the code you use in the block ?
2. How have you set your panels to be shown ?
3. have you set the block to be visible in the panel? ( visual options )

Please read and apply the info we need accordning tho our posting guide we have
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)
Title: Re: problem with adsense in tinyportal
Post by: WorpeX on June 12, 2009, 09:27:45 PM
1:

<script type="text/javascript">&amp;lt;!--
google_ad_client = "pub-2406782485226536";
/* 468x60, created 6/7/09 */
google_ad_slot = "3115331749";
google_ad_width = 468;
google_ad_height = 60;
//--&amp;gt;
</script>


Copy/pasted straight from google.

2: I dont really understand this question... Everything is set to on though...


3: Front page only
Title: Re: problem with adsense in tinyportal
Post by: Polymath on June 12, 2009, 09:35:43 PM
Change it to a script box. Plus you are missing some of the Google code..the execute bit


</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Title: Re: problem with adsense in tinyportal
Post by: IchBin on June 12, 2009, 10:29:07 PM
Some of the characters have been converted too. The code you posted should look like this:
<script type="text/javascript"><!--
google_ad_client = "pub-2406782485226536";
/* 468x60, created 6/7/09 */
google_ad_slot = "3115331749";
google_ad_width = 468;
google_ad_height = 60;
//-->;
</script>
Title: Re: problem with adsense in tinyportal
Post by: WorpeX on June 12, 2009, 10:39:12 PM
I'm using the newest version of Tinyportal, there is no script box in it. For some reason when I try to add the execute portion it removes it when I hit save. : /
Title: Re: problem with adsense in tinyportal
Post by: IchBin on June 12, 2009, 10:57:32 PM
You are not using the latest version of TP. The latest version is TP 1.0 beta 4, and you are using beta 3. The bug you are referring to with your problem is fixed in the latest version. If you don't want to update and you need a work around, change the block type to php. Put your code in and save it. Then change your block type back to html/javascript.
Title: Re: problem with adsense in tinyportal
Post by: WorpeX on June 12, 2009, 11:11:58 PM
Oh? It says im using the current version in the package manager. I will check though.
Title: Re: problem with adsense in tinyportal
Post by: WorpeX on June 12, 2009, 11:19:25 PM
Ok, I updated, but its still doing the exact same thing. Now the workaround doesn't work anymore either.

Woah, its working now. Nevermind. O.o
Title: Re: problem with adsense in tinyportal
Post by: WorpeX on June 12, 2009, 11:30:51 PM
omg, upgrading to the newest version messed up the smilies on my portal. -.- how can I fix this...
Title: Re: problem with adsense in tinyportal
Post by: IchBin on June 12, 2009, 11:33:42 PM
You could perhaps calm down, and possible start another topic describing your problem in detail while following the Posting Guidelines (http://www.tinyportal.net/index.php/topic,581).

That would probably be a really good start.