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)

DakoomNetwork 04-12-2010 07:48 PM

y2ksw, could it works also as a Google Adsense, so recreating the same functions?

vikris 04-12-2010 10:05 PM

One of the greatest addons!!! :) I have several questions though:

1. Will it be in the future more than 10 positions?

2. Some of the ads are displaying also in the forums (specifically header and footer) how to remove that? I like the ads to be displayed only on CMS page.

3. Maybe this question is out of the thread, but I have to ask: Is there a way to setup a widget on the main CMS to show friendly sites with small graphic and link to them?

Thanks a lot again!

Regards,

vikris

Scooterpig 04-16-2010 09:14 PM

1 Attachment(s)
We want to put our banners to in the Header to the right of the logo but can't work it out. Can anyone please tell me what template or where I put the code as per the attached pic for it to show up underneath the Welcome and above the Search?

Thank you..:)

y2ksw 04-17-2010 08:59 AM

Quote:

Originally Posted by DakoomNetwork (Post 2020112)
y2ksw, could it works also as a Google Adsense, so recreating the same functions?

The plugin is not a replacement for Google Adsense or any other system. However you may use it to show Google Adsense scripts and will give you a little extra feedback, such as the number of impressions.

y2ksw 04-17-2010 09:11 AM

Quote:

Originally Posted by vikris (Post 2020184)
One of the greatest addons!!! :) I have several questions though:

1. Will it be in the future more than 10 positions?

2. Some of the ads are displaying also in the forums (specifically header and footer) how to remove that? I like the ads to be displayed only on CMS page.

3. Maybe this question is out of the thread, but I have to ask: Is there a way to setup a widget on the main CMS to show friendly sites with small graphic and link to them?

Thanks a lot again!

Regards,

vikris

  1. As said before, 10 positions are much more than you ever would need on any kind of site. If you see a position as a fixed place somewhere in your styles, it is a partly wrong assumption. Positions are rather banner types, like square, wide or skyscraper. Together with other settings, you get almost unlimited filters where and how to show banners, all with one of the same "position", or at most, one or two additional ones.
  2. You will have to use conditionals in your styles. I don't know yet how this works on 4.x, but I'm sure somebody knows (I'm not a designer). Most probably it hasn't changed much and a comparison to THIS_SCRIPT suffices (some sort of if condition="THIS_SCRIPT='content'" tag).
  3. I believe so. But since I'm not a designer, I can't tell :)

y2ksw 04-17-2010 09:36 AM

Quote:

Originally Posted by Scooterpig (Post 2022405)
We want to put our banners to in the Header to the right of the logo but can't work it out. Can anyone please tell me what template or where I put the code as per the attached pic for it to show up underneath the Welcome and above the Search?

Thank you..:)

I believe those are: ad_global_header1 and ad_global_header2 ...

Scooterpig 04-17-2010 10:47 PM

Quote:

Originally Posted by y2ksw (Post 2022609)
I believe those are: ad_global_header1 and ad_global_header2 ...

Thanks but nope that don't work sorry...:(

y2ksw 04-18-2010 01:25 PM

Quote:

Originally Posted by Scooterpig (Post 2022913)
Thanks but nope that don't work sorry...:(

Well' I pass the hot potatoe to the designers. I'm anyway only a coder and design/style problems are not my strength.

vikris 04-18-2010 01:55 PM

Quote:

Originally Posted by y2ksw (Post 2022603)
  1. As said before, 10 positions are much more than you ever would need on any kind of site. If you see a position as a fixed place somewhere in your styles, it is a partly wrong assumption. Positions are rather banner types, like square, wide or skyscraper. Together with other settings, you get almost unlimited filters where and how to show banners, all with one of the same "position", or at most, one or two additional ones.
  2. You will have to use conditionals in your styles. I don't know yet how this works on 4.x, but I'm sure somebody knows (I'm not a designer). Most probably it hasn't changed much and a comparison to THIS_SCRIPT suffices (some sort of if condition="THIS_SCRIPT='content'" tag).
  3. I believe so. But since I'm not a designer, I can't tell :)

Thanks a lot for this clarification!

Regards,

Vikris

heatherw610 04-19-2010 04:21 PM

Hello, when I have 2-3 banners in, every so often it will show nothing. Its like it goes through them all and then will "run out" so that space on my forum is like there was nothing ever there. Anyone know how to fix this?


All times are GMT. The time now is 10:01 AM.

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.06302 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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