Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Rotating Banners in your navbar Details »»
Rotating Banners in your navbar
Version: 1.00, by HMBeaty HMBeaty is offline
Developer Last Online: Feb 2020 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.0 RC2 Rating:
Released: 07-08-2006 Last Update: 05-09-2009 Installs: 74
Template Edits
 
No support by the author.

A quick and easy mod that will add an area for rotating your advertisers banners

Support will only be given to those who have clicked INSTALL .

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 09-11-2006, 09:08 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #73  
Old 09-13-2006, 12:25 AM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #74  
Old 09-13-2006, 03:02 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #75  
Old 09-13-2006, 05:03 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #76  
Old 09-14-2006, 12:10 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #77  
Old 09-14-2006, 12:31 AM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

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

Gonzo
Reply With Quote
  #78  
Old 09-14-2006, 04:12 AM
alyster4k alyster4k is offline
 
Join Date: Apr 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #79  
Old 09-15-2006, 02:37 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #80  
Old 10-29-2006, 08:12 AM
krazycivik krazycivik is offline
 
Join Date: Nov 2005
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #81  
Old 11-04-2006, 06:45 AM
SparKeh SparKeh is offline
 
Join Date: May 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:54 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08619 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete