Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbBannerRotator Details »»
vbBannerRotator
Version: 1.1.0, by Frapegliko Frapegliko is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.2 Rating:
Released: 10-17-2006 Last Update: 02-14-2012 Installs: 1118
Template Edits
Code Changes  
No support by the author.

This is the first vbulletin Banner Rotator written in PHP that works with none Errors.
You can add Adsense, Adbrite, Banners or what you want.

- 2 Banner Rotator Sets added in product-bannerrotator-two.xml
- 1 Banner Rotator Set added in product-bannerrotator.xml

Version: 1.1.0
- No Template needs to create
- Second Set of Banners added (max 5 Banners)
- Import max 10 Banner Codes (vBulletin options)
- Enable or Disable vbBannerRotator & Banners (vBulletin options)

Version: 1.0.1
- Uncached templates fixed
Installation:

1. Download and Install this Product
1a. Click here to Install
2. Open your Header, Footer or what you want
3. Add $GLOBALS[bannerads] for Set 1 (max 10 Banners)
3a. Add $GLOBALS[banneradstwo] for Set 2 (max 5 Banners)
4. Go to vbBannerRotator in vBulletin Settings and insert your Codes
5. And Finish

Update: (since v.1.0.0 & 1.0.1)

1. Backup your Bannercodes from template: bannerbns
2. Restore (Delete) Template: bannerbns
3. Overwrite Old Product Version with New
4. Open your Header, Footer or what you want
5. Add $bannerads
6. Go to vbBannerRotator in vBulletin Settings and insert your Codes
7. And Finish

Demo:

Click Install

Show Your Support

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

Comments
  #82  
Old 11-02-2006, 12:09 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FPR
Awesome code.

How do I add the banner below the nav bar?

Cheers
FPR
Read the Instructions....
Reply With Quote
  #83  
Old 11-02-2006, 12:18 PM
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Location: FL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, not sure what I'm doing wrong but it's not showing up.
Reply With Quote
  #84  
Old 11-02-2006, 12:20 PM
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Location: FL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok now it's showing! Yay! Thank you!!
Reply With Quote
  #85  
Old 11-02-2006, 01:11 PM
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Location: FL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #86  
Old 11-02-2006, 01:12 PM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #87  
Old 11-02-2006, 01:22 PM
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Location: FL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where exactly is this located that I would add that to?
Reply With Quote
  #88  
Old 11-02-2006, 01:25 PM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #89  
Old 11-02-2006, 01:32 PM
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Location: FL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]
Reply With Quote
  #90  
Old 11-02-2006, 01:40 PM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #91  
Old 11-02-2006, 02:16 PM
sunnycher sunnycher is offline
 
Join Date: Mar 2005
Location: FL
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

meaning, that the banner is laying right on top of the convention banner.
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 02:40 PM.


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.08127 seconds
  • Memory Usage 2,315KB
  • 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_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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