vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Rotating Banner System (https://vborg.vbsupport.ru/showthread.php?t=188328)

y2ksw 05-22-2009 09:25 PM

I tried it and it works.

eventually however you may need to use:

<script type="text/javascript" src="http://pagead2.googlesyndication.com...s.js"></script>

all in one line. it should not make any difference but you never know. What error do you get from IE? Do you use ad blockers?

djbaxter 05-22-2009 09:44 PM

Quote:

Originally Posted by y2ksw (Post 1813588)
The problem with the number of Ad Sets is mainly the way how placeholders are replaced. If I would allow for, let's say 10 Ad Sets, tomorrow promptly there will be somebody who wants 11, 20 or 100. The way how Ad Sets are handled, will not allow for an unlimited number, unless to make the product heavy, slow and difficult to manage. Do we really want this?

How many places do we need? Would 10 different places be fine? Definitely? More than 10 places would make the settings overcrowded... ;)

I don't think I'd even need 10. Maybe half a dozen maximum.

You have two already. Why would adding a couple more make the add-on any less cumbersome?

djbaxter 05-22-2009 09:46 PM

Quote:

Originally Posted by Jaxel (Post 1815441)
I am unable to get google adsense to work with this...

PHP Code:

<script type="text/javascript"><!--
google_ad_client "pub-2437104458257480";
/* 8WayRun.Com */
google_ad_slot "3270884163";
google_ad_width 468;
google_ad_height 60;
//-->
</script>
<
script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</
script


Your quoted code is showing an extra line before the final script. Find out why (possible an unorintable character such as <Ctrl>+char?). That's probably why it isn't working for you. AdSense code is working just fine for me and 3.82.

Jaxel 05-23-2009 01:03 AM

That code is the exact code it shows in my adsense toolbar.

I changed it to this:
Code:

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

Seems to be working now.

djbaxter 05-23-2009 01:47 AM

No. You need both parts of the script, not just a piece of it. :rolleyes:

Jaxel 05-23-2009 03:00 AM

Quote:

Originally Posted by djbaxter (Post 1815551)
No. You need both parts of the script, not just a piece of it. :rolleyes:

Huh? both parts are there.

1adam12 05-23-2009 02:06 PM

Quote:

Originally Posted by y2ksw (Post 1815438)
Click tracking works only with images.

I tried to use a table with a SWF background and a transparent button as foreground, but for some undefined reason it would not work at all, or only on some browsers and others not. So I gave up to wrap a click tracker around other items than just plain images... Any ideas are welcome, though :)

Is there a bit of code that could be part of the swf that could be used to tell that the click has happened to RBS?

djbaxter 05-23-2009 02:50 PM

Quote:

Originally Posted by Jaxel (Post 1815582)
Huh? both parts are there.

Don't play dumb. :mad:

When I replied to your previous post, you had half the script commented out.

And if it's working now, it's because in the version now posted you got rid of the non-printing character I mentioned above.

Jaxel 05-23-2009 09:26 PM

Quote:

Originally Posted by djbaxter (Post 1815780)
Don't play dumb. :mad:

When I replied to your previous post, you had half the script commented out.

And if it's working now, it's because in the version now posted you got rid of the non-printing character I mentioned above.

I actually didn't... it was the [PHP] tag on these forums screwing with the display.

y2ksw 05-24-2009 06:57 AM

Quote:

Originally Posted by djbaxter (Post 1815456)
I don't think I'd even need 10. Maybe half a dozen maximum.

You have two already. Why would adding a couple more make the add-on any less cumbersome?

New release: Now we have up to 10 locations, although it may be possible to extend the feature to an almost unlimited number. However, for performance reasons and also for easier maintenance and user feedback, it is currently limited. During the upgrade process, also an expired test banner (Shopping Ad) will be disabled, since it may produce blank entries.

The screenshots are not updated yet, since the upgrade is only necessary for handling more than 2 locations.


All times are GMT. The time now is 12:08 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02953 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete