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)

juanpablo 10-13-2008 03:53 AM

YEEEEEEEES Sir!, that´s so right, now I Get IT, So simple, the best Hack!! THANK YOU for you explanation!!

poromenos 10-13-2008 10:30 AM

i am currently using vbadvanced as a portal.I want to have a different banner at the main page of my site(vbadvanced main page).How can i do this with your hack?I only see the forums when i go to select where the image will be shown.Any help will be extremely appreciated!!

Thanks in advance

y2ksw 10-13-2008 11:26 AM

Quote:

Originally Posted by poromenos (Post 1643988)
i am currently using vbadvanced as a portal.I want to have a different banner at the main page of my site(vbadvanced main page).How can i do this with your hack?I only see the forums when i go to select where the image will be shown.Any help will be extremely appreciated!!

Thanks in advance

You may setup a banner with the Forum Home option checked. This banner will show on all pages which have no specific forum id, such as the vbAdvanced home. If you have no Forum Home banners you are set.

However, if you have banners which show on all forums (no forum selected) or Forum Home, they also will appear on those pages. Thus, you must assign explicitly the forums to all banners in order to avoid they are appearing at unwanted places.

Anyway, it is currently not possible to assign a banner to a specific place (and probably never will be). The only possibility would be to "abuse" the vertical banner placeholder for telling it should be used in vbAdvanced instead elsewhere. This requires you don't have vertical banners in Forum Home, or vice-versa.

SpiderFive 10-14-2008 04:23 PM

Quote:

Originally Posted by y2ksw (Post 1640615)
Try to rename rbs_url_sanity inside the product installation file product-rbs.xml to something else, e.g. rbs_url_sanity2. This should fix it. I'll repair this ASAP.

Sorry, this didn't fix the problem ....

RichieBoy67 10-14-2008 06:14 PM

Can we use more than one place holder in a single template? Like say I wanted to have 2 --460 by 60 banners next to each other but both having multiple rotastional banners behind them... Is there any way to do this???

Thanks alot...

webdevoman

y2ksw 10-14-2008 07:10 PM

Quote:

Originally Posted by SpiderFive (Post 1644975)
Sorry, this didn't fix the problem ....

The new version should fix it though ... the conflicting function is renamed everywhere in the product.

y2ksw 10-14-2008 07:14 PM

Quote:

Originally Posted by RichieBoy67 (Post 1645056)
Can we use more than one place holder in a single template? Like say I wanted to have 2 --460 by 60 banners next to each other but both having multiple rotastional banners behind them... Is there any way to do this???

Thanks alot...

webdevoman

You can use as many placeholders you wish. You only have to ensure they are not messing up your page.

For example, if you have two wide banners horizontally next to each other, they may stretch the page a little ;)

RichieBoy67 10-15-2008 06:13 PM

How can I have 2 different place holders in a single template displaying different banners when placeholders are displayed by using "@vbbanners@"--If there was an easy way to add more place holders like maybe "@vbbanners@1" "@vbbanners@2" etc...

Am I correct?

Thanks,

webdevoman

y2ksw 10-16-2008 07:09 AM

Quote:

Originally Posted by RichieBoy67 (Post 1645771)
How can I have 2 different place holders in a single template displaying different banners when placeholders are displayed by using "@vbbanners@"--If there was an easy way to add more place holders like maybe "@vbbanners@1" "@vbbanners@2" etc...

Am I correct?

Thanks,

webdevoman

You may use as many @vbbanners@ placeholders you need in a single page, and the procedure will show for each instance a different banner - if there are so many in your database (else blank).

Currently there are no other placeholders available, but you may user the vertical one if you have only horizontal banners (or vice-versa), instead.

RichieBoy67 10-16-2008 12:42 PM

You are saying that if I placed two placeholders in a single template right next to each other they would not display a duplicate rotation?


All times are GMT. The time now is 01:47 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.02777 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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