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 07-20-2009 07:51 AM

Quote:

Originally Posted by CLSSY56 (Post 1851992)
What am i doing wrong? I'm trying to set this in a vbadvanced module.
Code:

<td><center>
@vbbanners@
</center></td>

I'm also using 3.8.3, Thanks.

You need to use the new placeholder format, e.g.
HTML Code:

<!--@vbbanners:0@-->

CLSSY56 07-20-2009 12:20 PM

Thanks that worked. How often does it rotate? Is it per page visit or a set time? Can it be set to rotate every 6 seconds?

y2ksw 07-20-2009 12:48 PM

Quote:

Originally Posted by CLSSY56 (Post 1852151)
Thanks that worked. How often does it rotate? Is it per page visit or a set time? Can it be set to rotate every 6 seconds?

The rotation is evenly divided by the number of entries in the database at each page visit.

If you have 10 entries and 1-10 placeholders of the same type, over time the 10 banners will be rotated almost evenly (have about the same impression count).

CLSSY56 07-20-2009 12:52 PM

Is there any coding that can be done to rotate them on a timed basis instead? For me, that's the determining factor wether I use yours or not. Yours is more user friendly then the other one I may add.

y2ksw 07-20-2009 01:25 PM

Quote:

Originally Posted by CLSSY56 (Post 1852173)
Is there any coding that can be done to rotate them on a timed basis instead? For me, that's the determining factor wether I use yours or not. Yours is more user friendly then the other one I may add.

You may try with an IFRAME and a custom coded vBulletin page, which refreshes at certain times. However this product is not intended to dynamically rotate banners while the page is shown.

Besides a significant load to your server it would not add a real value to the visitors, who would see disappear a banner which they eventually chose to click. IMHO

CLSSY56 07-20-2009 02:17 PM

If I run 2 half banners, will they pull the same banner each time or will they run independently?

CLSSY56 07-20-2009 02:22 PM

I'll answer my own question, yes it will show 2 banners per page.

MIAPLAYA 07-21-2009 02:36 AM

1 Attachment(s)
Ok so maybe I'm dense but I installed the mod per the instructions and I have the tab in the ACP. I added a banner and the image to the server and configured every way I can imagine but I get no banner. Screen shots below. Site I'm working on www.turboneticsinc.com/forum

What am I missing?

y2ksw 07-21-2009 10:00 AM

Quote:

Originally Posted by MIAPLAYA (Post 1852606)
Ok so maybe I'm dense but I installed the mod per the instructions and I have the tab in the ACP. I added a banner and the image to the server and configured every way I can imagine but I get no banner. Screen shots below. Site I'm working on www.turboneticsinc.com/forum

What am I missing?

Did you try the default banners and did they work? Have you inserted a placeholder into the templates? BTW, the check on Forum Home overrides the forum selections.

ilanur 07-21-2009 03:27 PM

very nice, but what about a weighted impression option? i need to set a percentage of impressions above the total.. i don't know if iexlained it well.. hope you understood :)


All times are GMT. The time now is 02:11 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.06106 seconds
  • Memory Usage 1,741KB
  • 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_html_printable
  • (4)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