Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Ads Issue (http://www.mysidiaadoptables.com/forum/showthread.php?t=613)

Tequila 04-04-2009 10:53 AM

Ads Issue
 
I'm trying to add in advertising codes (googleAdsense) and after I submit, I just get the linksbar.php page. No ads added at all.

Is this a bug?

BMR777 04-04-2009 11:01 AM

RE: Ads Issue
 
What's the ad code you are trying to use? If you just insert some regular text as an ad does it appear?

Are the three ad files, header.txt, footer.txt and tower.txt writable CHMOD 777? :)

Tequila 04-04-2009 11:26 AM

RE: Ads Issue
 
They're writeable. I'm trying to use the basic Google AdSense for Content code (it's JavaScript based). I'm still working on it though.

BMR777 04-04-2009 11:27 AM

RE: Ads Issue
 
Is it that anything you enter in doesn't work or just your ad code?

Tequila 04-04-2009 11:56 AM

RE: Ads Issue
 
Just ad code...

This is the ad code:
PHP Code:

<script type="text/javascript"><!--
google_ad_client "pub-9937811682735223";
/* 120x240, created 4/4/09 */
google_ad_slot "1398716991";
google_ad_width 120;
google_ad_height 240;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> 


BMR777 04-04-2009 11:58 AM

RE: Ads Issue
 
Try This:

Code:

<script type=\"text/javascript\"><!--
google_ad_client = \"pub-9937811682735223\";
/* 120x240, created 4/4/09 */
google_ad_slot = \"1398716991\";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>

Sometimes the PHP doesn't like quotes so escaping them with backslashes \ should help. :)

Tequila 04-04-2009 12:01 PM

RE: Ads Issue
 
Still a no go. :/ I'm going to have to do something different.

BMR777 04-04-2009 12:04 PM

RE: Ads Issue
 
I would suggest then pasting the ad code into the actual template of the site.

The new release I am working on will store the ads in the database, which should solve a lot of issues people have had with the ads system. It will also let the site be adsense-compliant. :)

Tequila 04-04-2009 02:03 PM

RE: Ads Issue
 
Even pasting the ad code into the template doesn't work. :/ (Yes I disabled my adblocker on my site.)

BMR777 04-04-2009 02:05 PM

RE: Ads Issue
 
That's odd, it should work fine if you put it in the template the adoptable script is using.

Is your adsense account enabled?


All times are GMT -5. The time now is 02:09 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.