• Welcome to Simple Machines Community Forum. Please login or sign up.
October 23, 2021, 09:02:04 PM

News:

Check out the SMF Function DB!


widgetbox help

Started by asduskun, July 12, 2010, 06:28:02 PM

Previous topic - Next topic

asduskun

ok as you said my widget ended up below adsense and here is the adsense code and widgetcode together

<script type="text/javascript"><!--
google_ad_client = "pub-1025304609486882";
/* 728x90, olu?turulma 13.07.2010 */
google_ad_slot = "1728552187";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script type="text/javascript">if (WIDGETBOX) WIDGETBOX.renderWidget('b44621ba-2b58-4603-bb9b-72e66aa0fb3d');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/Lists-of-the-Best-Things-To-Do-from-Diddit">Lists of the Best Things To Do from Diddit</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>! Not seeing a widget? (<a href="http://docs.widgetbox.com/using-widgets/installing-widgets/why-cant-i-see-my-widget/">More info</a>)</noscript>

ɔɔɔɔɔɔuɥoɾ

July 25, 2010, 01:57:50 PM #21 Last Edit: July 25, 2010, 02:40:58 PM by ♪ JohnCcCcCc ♫
Try it like this

<script type="text/javascript"><!--
google_ad_client = "pub-1025304609486882";
/* 728x90, olu?turulma 13.07.2010 */
google_ad_slot = "1728552187";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script type="text/javascript">if (WIDGETBOX) WIDGETBOX.renderWidget('b44621ba-2b58-4603-bb9b-72e66aa0fb3d');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/Lists-of-the-Best-Things-To-Do-from-Diddit">Lists of the Best Things To Do from Diddit</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>! Not seeing a widget? (<a href="http://docs.widgetbox.com/using-widgets/installing-widgets/why-cant-i-see-my-widget/">More info</a>)</noscript>


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

asduskun

unfortunately the same result:( but how about doing this manually within index.template.php ? i remember doing it like below

<table>
   <tr>
         <td>adsense code</td>
          <td>widget code</td>
     </tr>
</table>

i tried something like this but something happened and it didn t work

ɔɔɔɔɔɔuɥoɾ

July 25, 2010, 02:41:42 PM #23 Last Edit: July 25, 2010, 02:45:11 PM by ♪ JohnCcCcCc ♫
Their is a typo, try this, I say this way because in the past people have complained about ad management mod, they put 2 ads expecting them to be one on top of the other, and they end up on the same line, and we need to add a line space.

Here is what you need to make sure of:
End of adsense and beginning of widget are on the same line.
Like

google_ad_height = 90;
//-->
</script><script type="text/javascript"src="hxxp://#################/pagead/show_ads.js">



<script type="text/javascript"><!--
google_ad_client = "pub-1025304609486882";
/* 728x90, olu?turulma 13.07.2010 */
google_ad_slot = "1728552187";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><script type="text/javascript"src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script type="text/javascript">if (WIDGETBOX) WIDGETBOX.renderWidget('b44621ba-2b58-4603-bb9b-72e66aa0fb3d');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/Lists-of-the-Best-Things-To-Do-from-Diddit">Lists of the Best Things To Do from Diddit</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>! Not seeing a widget? (<a href="http://docs.widgetbox.com/using-widgets/installing-widgets/why-cant-i-see-my-widget/">More info</a>)</noscript>


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

asduskun

you know what? i tried a different widget and put them in the same line as you said but see below what happens! the widget took place of adsense...



and here is how i added them

<script type="text/javascript"><!--
google_ad_client = "pub-1025304609486882";
/* 728x90, olu?turulma 13.07.2010 */
google_ad_slot = "1728552187";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script><script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script type="text/javascript">if (WIDGETBOX) WIDGETBOX.renderWidget('833bb413-81d9-426c-a9e0-03db516ce962');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/babylontranslation">Babylon Text Translation Box</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>! Not seeing a widget? (<a href="http://docs.widgetbox.com/using-widgets/installing-widgets/why-cant-i-see-my-widget/">More info</a>)</noscript>

ɔɔɔɔɔɔuɥoɾ

Hmm strange,
Youu could ask for support at the ad management support topic on displaying 2 ads side by side in the same ad box, it should work, Ive done it myself before.

Do you use a portal?
It could be possible with that, to display the ad and the widget, with a custom HTML box.


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

asduskun


ɔɔɔɔɔɔuɥoɾ

http://custom.simplemachines.org/mods/index.php?action=search;type=17
Well its a portal lol - like a page which you customize then you can add blocks, which can contain adsense and widget codes


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Advertisement: