vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - vbBannerRotator (https://vborg.vbsupport.ru/showthread.php?t=129418)

redlabour 11-02-2006 12:09 PM

Quote:

Originally Posted by FPR
Awesome code.

How do I add the banner below the nav bar?

Cheers
FPR

Read the Instructions.... ;)

sunnycher 11-02-2006 12:18 PM

Thanks, not sure what I'm doing wrong but it's not showing up.

sunnycher 11-02-2006 12:20 PM

ok now it's showing! Yay! Thank you!!

sunnycher 11-02-2006 01:11 PM

Ok, 10 slots isn't enough LOL

So if I want this rotating system to go in another place, I just add the Global, correct?

Luggruff 11-02-2006 01:12 PM

Quote:

Originally Posted by sunnycher
ok now it's showing! Yay! Thank you!!

Now you could add a vanlign="middle" to the td tag where the banner is located and then wrap the bannerrotatortag with a [noparse]<p></p>[/norparse] tag and you will get some space between the two comercial banners, and they will align more symtetrical to your logo on the left. (at least I think the valign tag works xD)

sunnycher 11-02-2006 01:22 PM

Where exactly is this located that I would add that to?

Luggruff 11-02-2006 01:25 PM

Quote:

Originally Posted by sunnycher
Ok, 10 slots isn't enough LOL

So if I want this rotating system to go in another place, I just add the Global, correct?

You add the same code, only that you can write $GLOBALS[banneradstwo] for another 5 banners somewhere else ;)

by writing $GLOBALS[bannerads or banneradstwo] you won't have to worry about the banners showing up, as you will have to if you only write $bannerads or $banneradstwo ;)

sunnycher 11-02-2006 01:32 PM

Where exactly would I put this?
and I noticed in FF, it's right on top of the convention baner but in IEit's not, they are seperated.

This code here would seperate it in FF? and not be on top of each other right? Will it affect IE?

[QUOTE=Luggruff]Now you could add a vanlign="middle" to the td tag where the banner is located and then wrap the bannerrotatortag with a [noparse]<p></p>[/norparse] tag and you will get some space between the two comercial banners, and they will align more symtetrical to your logo on the left. (at least I think the valign tag works xD)[/QUOTE]

Luggruff 11-02-2006 01:40 PM

Quote:

Originally Posted by sunnycher
Where exactly would I put this?
and I noticed in FF, it's right on top of the convention baner but in IEit's not, they are seperated.

This code here would seperate it in FF? and not be on top of each other right? Will it affect IE?

First, change this:

Code:

    <td align="center">

<BR>
<a href="http://www.acilab.com" target="_blank" class="banner"><img src="images/LGP/aci.gif"  border=0></a>
<BR>


<a href="http://www.lgpphotographers.com/convention/convention.htm"><img src="./images/convention.jpg" align="center" border="0"></a></p></td>
    </tr>
    </table>

Into this:

Code:

      <td align="center" valign="middle">

<p>
<a href="http://www.acilab.com" target="_blank" class="banner"><img src="images/LGP/aci.gif"  border=0></a>
</p>


<a href="http://www.lgpphotographers.com/convention/convention.htm"><img src="./images/convention.jpg" align="center" border="0"></a></p></td>
    </tr>
    </table>

Secondly:
The $GLOBALS[banneradstwo], are to be put where ever you want it on your forum, just find the template you want it in (etc. footer) and put it there. Fine adjustments such as placements and such, are all up to you.

sunnycher 11-02-2006 02:16 PM

I added that, doesn't look any different to me in FF.


All times are GMT. The time now is 11:03 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.01366 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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