vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Rotating Banners in your navbar (https://vborg.vbsupport.ru/showthread.php?t=120707)

smoknz28 09-11-2006 09:08 PM

Quote:

Originally Posted by Redlinemotorsports
How is it being messed up?

Mine in action: www.redlinemotorsports.org

I love how you got it to show in your header....can you please walk me through on this one?

I'm sorry....a newb here. :(

smoknz28 09-13-2006 12:25 AM

Gang, I'm sorry to bring this one back to the top however, I would really like to get this code functional on my site. How can I get this to display in my header of my site?

Actually, I'm looking for a great advertiser banner program that is functional with vBulletin in the header.

Thank you,
Gonzo

HMBeaty 09-13-2006 03:02 AM

Quote:

Originally Posted by smoknz28
Gang, I'm sorry to bring this one back to the top however, I would really like to get this code functional on my site. How can I get this to display in my header of my site?

Actually, I'm looking for a great advertiser banner program that is functional with vBulletin in the header.

Thank you,
Gonzo

Can you paste your header code in this thread? Are you using a custom skin? Whats the URL to your site? Thanks

smoknz28 09-13-2006 05:03 PM

Thanks for the response....I'm still trying to get use to vBulletin as I transfered over from ubbThreads. I'll have to toy around with this a little further to see if I can figure out how to get to my header code.

However, my forums is located at: www.f-bodyhideout.com/forums

Thanks for your help on this one!

HMBeaty 09-14-2006 12:10 AM

Ok, go to your admincp > styles and templates > style manager > style options > common templates > header, and find this code:
HTML Code:

<td align="$stylevar[right]">$headbanner
AFTER that, add this code:
HTML Code:

<center>
<!-- Banner Rotator by Redline -->
<SCRIPT LANGUAGE="Javascript"><!--
function banner() {
};
banner = new banner();
number = 0;
// bannerArray
banner[number++] = "<a href='redirect_url' target='_blank'><img src='banner_url' border='0'></a>"
banner[number++] = "<a href='redirect_url' target='_blank'><img src='banner_url' border='0'></a>"
banner[number++] = "<a href='redirect_url' target='_blank'><img src='banner_url' border='0'></a>"
banner[number++] = "<a href='redirect_url' target='_blank'><img src='banner_url' border='0'></a>"
banner[number++] = "<a href='redirect_url' target='_blank'><img src='banner_url' border='0'></a>"
increment = Math.floor(Math.random() * number);
document.write(banner[increment]);
//-->
</SCRIPT>
<!-- End Banner Rotator by Redline -->
</center>


smoknz28 09-14-2006 12:31 AM

Awesome....I'll give it a shot tonight. ;)

Thank you so much for helping through on this one as well.

Gonzo

alyster4k 09-14-2006 04:12 AM

I think will work for what I'm trying to do. Rather than a banner, I want this to be half of my header / banner logo with rotating pics I have of some forum events. Can I get this to sit flush with another graphic in the header, RL?

HMBeaty 09-15-2006 02:37 AM

Quote:

Originally Posted by alyster4k
I think will work for what I'm trying to do. Rather than a banner, I want this to be half of my header / banner logo with rotating pics I have of some forum events. Can I get this to sit flush with another graphic in the header, RL?

I have no idea. Thats not exactly what this mod was intended for. I'd have to do alot of playing around with it to see.

krazycivik 10-29-2006 08:12 AM

great mod man thanx alot.. would you know how to add so they can rotate without refreshing page?

if not thatnx tho easy mod to install.. specially for noobs like me.

www.torontonissan.ca/forums

great stuff cheers.

SparKeh 11-04-2006 06:45 AM

great mod and easy to use, however I'm having some trouble getting flash banners working in it - anyone know how to do this?


All times are GMT. The time now is 09:12 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.01174 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_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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