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)

LordDB 06-20-2011 11:01 PM

Thx, y2ksw! With that Addon, it now does what I want, it autorefreshes! :) Just got to tweak it a little!

Videx 06-20-2011 11:19 PM

Quote:

Changed files: rbs_admin.php
So all we have to do to update to 2.3.2 is upload and overwrite this one file.?

y2ksw 06-21-2011 11:22 AM

Quote:

Originally Posted by bad2dbone (Post 2210619)
this add on is to confusing to get up had it for about a month and still can't watch the video enough to get it work it's only 3 steps so idk why im having such trouble who knows.......

Can you explain what you are looking for?

y2ksw 06-21-2011 11:25 AM

Quote:

Originally Posted by dmm2020 (Post 2210614)
Problem:

For banner positions greater than 10 it does not work. Either the code don't even show at all when I try to put it in my blog OR the raw code shows in the page source but not the ad. Has the >10 mode been tested at all?

Have you changed the relative option in vbulletin options?

dmm2020 06-21-2011 11:29 AM

Quote:

Originally Posted by y2ksw (Post 2210816)
Have you changed the relative option in vbulletin options?

Yes I have. The input fields to place the ad changes when I made the adjustments, but when I put <!--@vbbanners:10@--> in an ad spot, nothing appears. If I put <!--@vbbanners:0@-->, my header ads appear in that spot.

y2ksw 06-21-2011 11:38 AM

Quote:

Originally Posted by dmm2020 (Post 2210616)
With the latest upgrade, the following text in the rbs configuration UI should be changed since the limit really does not apply - might be confusing for some otherwise.

The option for <> 10 locations is unsupported.

Thus it may be confusing, but most users will not try to go over the top 10 anyway. The option allows you, as a perfect insider, to override an inbuilt and suggested value with one you retain necessary no matter what, and since you know what you are doing, the help would not make any sense to you anyway :)

However, if you have a suggestion how to change the advice, I will happily include it into the documentation and user interface.

y2ksw 06-21-2011 11:39 AM

Quote:

Originally Posted by dmm2020 (Post 2210817)
Yes I have. The input fields to place the ad changes when I made the adjustments, but when I put <!--@vbbanners:10@--> in an ad spot, nothing appears. If I put <!--@vbbanners:0@-->, my header ads appear in that spot.

Ok, I didn't try spot 10 but 19 ... so I'll do that now. Hold on :)

y2ksw 06-21-2011 11:58 AM

1 Attachment(s)
Quote:

Originally Posted by y2ksw (Post 2210823)
Ok, I didn't try spot 10 but 19 ... so I'll do that now. Hold on :)

Ok, I see what probably happened. Having inserted the maximum count you haven't taken in account that the banner locations start from 0, and thus go from 0...(n-1). Since 10 locations are the default, they go from 0...9.

Here we go with testing. If I set 11 postions, I may cover location 10, since that would be perfectly legal. When I later fall back to 10, because I feel I have already enough positions, the side effects begin to show.

1. Set your max locations, e.g. 20: Attachment 130257
2. Setup your template: Attachment 130258
3. Setup a banner
3. Test: Attachment 130259

For me, it worked both for 10 and for 19, and of course with the other banner on top of the map, at position 1 :)

oddmud 06-21-2011 03:06 PM

What does the star (*) mean next to a banner detail in the list of banners? I can't find the answer here or in the .PDF.

EDIT: I'm guessing it mean's expired, but it's still shows them in the "Enabled" list.

EDIT: I'm an idiot.

dmm2020 06-21-2011 04:45 PM

Did you do it in the CMS or blog area? Where it is failing for me is in the blog sidebar, but if I used the default ad manager for vB it comes through just fine.

Quote:

Originally Posted by y2ksw (Post 2210827)
Ok, I see what probably happened. Having inserted the maximum count you haven't taken in account that the banner locations start from 0, and thus go from 0...(n-1). Since 10 locations are the default, they go from 0...9.

Here we go with testing. If I set 11 postions, I may cover location 10, since that would be perfectly legal. When I later fall back to 10, because I feel I have already enough positions, the side effects begin to show.

1. Set your max locations, e.g. 20: Attachment 130257
2. Setup your template: Attachment 130258
3. Setup a banner
3. Test: Attachment 130259

For me, it worked both for 10 and for 19, and of course with the other banner on top of the map, at position 1 :)



All times are GMT. The time now is 05:37 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.03632 seconds
  • Memory Usage 1,753KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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