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 11-24-2010 07:49 AM

Quote:

Originally Posted by pitzerwm (Post 2124731)
Y2, if I do the update, will your sample banners, over-write my present banner positions?

If so, how would I delete them before update.

Thanks again for a great mod.

The sample banners are installed only at the moment you install this product first. No banners are touched when updating. However, it is always a good idea to keep a backup somewhere :)

y2ksw 11-24-2010 07:54 AM

Quote:

Originally Posted by jaribas (Post 2124829)
Hello.
First Sorry for my english, i am spanish and i not learning english in the school.

My question is.. i need to put more than 2 banners in the header of the forum. Now i have 2 banners when i install the plug, and i like minimun 3 banners in the header. Is posible this?

Thanks

Quote:

Originally Posted by pitzerwm (Post 2124831)
I don't think that would be a problem.

You would either do <!--@vbbanners:0@--><!--@vbbanners:1@--><!--@vbbanners:2@-->

or <!--@vbbanners:0@--><br>
<!--@vbbanners:1@--><br>
<!--@vbbanners:2@--><br>

You might need the surrounding tags, as a <div> or a <table>

It's even easier:

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

This way, you have 3 or more banners in position 0, they rotate along with other banners in a single page.

You would use the different positions only where you have different banner types and must have a distinct placement.

y2ksw 11-24-2010 07:57 AM

Quote:

Originally Posted by Cutsizzle (Post 2125067)
I want to have two different styles that use different sets of rotating banners. Is this possible?

Yes. In this case you make use of banner positions, where for example in Style 1 you store banners in position 0 and in Style 2 position 1.

SteveV 11-24-2010 07:00 PM

1 Attachment(s)
Is it possible to have a few banners in the place on the picture i attached ?

And i couldn't find where to set the time for the different banners.
Is that even possible ?

I don't have it installed yet but am reading up on it before i uninstall the other mod i am using.
This mod looks more powerful.

y2ksw 11-24-2010 09:33 PM

Quote:

Originally Posted by SteveV (Post 2125429)
Is it possible to have a few banners in the place on the picture i attached ?

And i couldn't find where to set the time for the different banners.
Is that even possible ?

I don't have it installed yet but am reading up on it before i uninstall the other mod i am using.
This mod looks more powerful.

1. Yes, but it needs a style modification, because the original header contains room for two small banners side by side, as far as I recall.
2. Each banner can be setup with a starting and ending date, as a matter of facts, they must. By default, a new banner is shown for one year.
3. I believe it is pretty powerful, but it is not up to me to proof this statement :)

SteveV 11-25-2010 06:15 AM

Hi Y2 thanks for the answers.

What i ment with the time for each banners is the amount of seconds.
I only have animated gif files and some are 10 seconds and others are longer.

Thanks again.

thieu.bocap 11-25-2010 07:25 AM

Quote:

Originally Posted by y2ksw (Post 2125268)
This HTML is only an example. You may use any kind of HTML in your templates.

However, for Flash Banners you must choose between two possibilities:
1. You use the "Text" field and paste there the complete banner code, thus including all the <object> and <embed> code, which is then inserted at the <div align="center"><!--@vbbanners:5@--></div>, such as <div align="center"><object ...></div>.
2. You use the Flash wrapper which takes care of inserting the correct code, and as far as I know, handles also correctly the menu issue.

Thanks very much for your reply :D i will test in my site :)

y2ksw 11-25-2010 08:53 AM

Quote:

Originally Posted by SteveV (Post 2125546)
Hi Y2 thanks for the answers.

What i ment with the time for each banners is the amount of seconds.
I only have animated gif files and some are 10 seconds and others are longer.

Thanks again.

Ah right ... I got it. There is no such field, a banner is shown for the life time of the page. I have been asked several times to add the feature of rotating banners in place while the page is loaded.

Workaround: Eventually you may create a HTML page, which you insert as an IFRAME in your banner space. That HTML may refresh every so time, and would then load a new banner (if there is any). This HTML is already available and has been mentioned a few posts ago. All it needs is to make it work for your specific use, adding e meta tag with the desired refresh period :)

https://vborg.vbsupport.ru/showpost....&postcount=951

y2ksw 11-25-2010 12:28 PM

1 Attachment(s)
Quote:

Originally Posted by y2ksw (Post 2125579)
Ah right ... I got it. There is no such field, a banner is shown for the life time of the page. I have been asked several times to add the feature of rotating banners in place while the page is loaded.

Workaround: Eventually you may create a HTML page, which you insert as an IFRAME in your banner space. That HTML may refresh every so time, and would then load a new banner (if there is any). This HTML is already available and has been mentioned a few posts ago. All it needs is to make it work for your specific use, adding e meta tag with the desired refresh period :)

https://vborg.vbsupport.ru/showpost....&postcount=951

Here, as an unofficial addon, you get the autorefreshing page (tested). It needs:

- a text editor;
- a refresh time of your choice (see metatag refresh in file, now at 10 seconds);
- a banner location (see placeholder in file, now at position 0);
- at least a banner for that location;
- a global target of a new page aka _blank (RBS options), else you jump into the iframe;
- a template modification for a 468x60 banner:
HTML Code:

<iframe src="rbs_iframe.php" align="center" frameborder="0" height="60" width="468" scrolling="no"></iframe>
Please note: with smaller banners you get white borders, with larger than the iframe area, they are clipped.

SteveV 11-25-2010 01:30 PM

Thank you.

I will install the mod tonight together with the unofficial addon.
I hope i get it working the first time :)


All times are GMT. The time now is 01:25 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.03097 seconds
  • Memory Usage 1,757KB
  • 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_html_printable
  • (8)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