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
  #112  
Old 11-10-2006, 08:54 PM
NathanMc NathanMc is offline
 
Join Date: Oct 2002
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I keep getting ## INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO forumplugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'bannerrotator_cache', 'cache_templates', '$globaltemplates = array_merge($globaltemplates, array(\'bannerbns\'));\r\n$globaltemplates = array_merge($globaltemplates, array(\'bannerbnstwo\'));', 'bannerrotator');

MySQL Error : Unknown column 'executionorder' in 'field list'

when i try to upload the .xml
Reply With Quote
  #113  
Old 11-11-2006, 05:50 AM
michaelsilvia michaelsilvia is offline
 
Join Date: Jul 2005
Location: South Korea
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, I can assume it just rotates between the banners? So if I have ten different banners active it will just cycle through each one? This is great for profite sharing on a site. Allows moderators to have their code in there and get paid. Brilliant idea!

Mike
Reply With Quote
  #114  
Old 11-11-2006, 11:09 AM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by michaelsilvia
So, I can assume it just rotates between the banners? So if I have ten different banners active it will just cycle through each one? This is great for profite sharing on a site. Allows moderators to have their code in there and get paid. Brilliant idea!

Mike
Yes, it circles through 10 different banners. I don't know, but you might be able to put the conditional for the banneradstwo (five other banners).. as a banner itself? ^^

Then you'll get 15 banners, in the same place, only 5 that will be random each 10th time, wich will make them less unlikely to show up (could use for sponsors that doesn't pay as much as others?)

The moderators can only use this if you are nice and give them advertising space, of course you'll have to put their banners in there for them but sure.. why not.
Reply With Quote
  #115  
Old 11-13-2006, 07:42 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just what i was looking for and thank you. clicked install
Reply With Quote
  #116  
Old 11-13-2006, 07:03 PM
DDad's Avatar
DDad DDad is offline
 
Join Date: Mar 2005
Location: Boston
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like a great product and I want to install this but I have a stupid question. I read every post and may of missed it.

If I want 10 banners install the first one?
If I want 5 banners install the second one?
Or both?
Sorry in advance!
Reply With Quote
  #117  
Old 11-13-2006, 07:22 PM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DDad View Post
Sounds like a great product and I want to install this but I have a stupid question. I read every post and may of missed it.

If I want 10 banners install the first one?
If I want 5 banners install the second one?
Or both?
Sorry in advance!
yes, for 10 banners, install the first one. For 5 more, install the second one also.
so.. both, to get a total of 15.

What I'm going to do is use this to have 9 premium banners, and in the 10th I'm putting the $GLOBALS[banneradstwo] (if it works with php? can anyone verify this?) for 5 not so important banners ;P
Reply With Quote
  #118  
Old 11-13-2006, 07:36 PM
DDad's Avatar
DDad DDad is offline
 
Join Date: Mar 2005
Location: Boston
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!! quick too!!
Reply With Quote
  #119  
Old 11-15-2006, 10:28 PM
Sjakie Sjakie is offline
 
Join Date: Oct 2006
Location: Holland, The Hague
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible for me to put $bannerads in a language/phrase file. I tried, but it just shows the text. In stead of executing the code.

Please look at the attached file to see what I mean...
Reply With Quote
  #120  
Old 11-16-2006, 12:12 PM
barbiedoll barbiedoll is offline
 
Join Date: Oct 2006
Location: Ohio
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Luggruff View Post
It means that you go to your adminCP -> styles and templates -> style manager -> pick the style you want to include the banners in (since you're new, I can only gues you only have one styles to choose from) -> in the dropdown, selcect "edit templates" and then find the template you want the banners to be in.

(an example, if you want the banners to be in the HEADER, then you edit the god for the HEADER template and write $GLOBALS[bannerads] or $GLOBALS[banneradstwo] where ever in that template you want it to show up in)

..this of course means you have to be familiar with HTML, if not, ask someone you know.

confused about the difference between $GLOBALS[bannerads] and $GLOBALS[banneradstwo]? Read the instructions the creator of the hack has made. Pretty simple. Top post on all pages of this thread.

And to add banners, just go to the vBulletin settings at the top of the menu in your adminCP.
I am not seeing the vBulletin settings at the top of the menu n your admin cp.. What did I do wrong??

I see vbulliten options.. Please help>> sorry for the dumb questions but this is my first time working with this..

also where should I be downloading the html file to ??
Reply With Quote
  #121  
Old 11-16-2006, 01:14 PM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by barbiedoll View Post
I am not seeing the vBulletin settings at the top of the menu n your admin cp.. What did I do wrong??

I see vbulliten options.. Please help>> sorry for the dumb questions but this is my first time working with this..

also where should I be downloading the html file to ??
Yeah, well, vBulletin options ;P I've got a translated version and it says settings in my lang (:
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 09:02 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.11978 seconds
  • Memory Usage 2,317KB
  • 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
  • (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
  • (2)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