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
  #122  
Old 11-16-2006, 01:43 PM
barbiedoll barbiedoll is offline
 
Join Date: Oct 2006
Location: Ohio
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Luggruff View Post
Yeah, well, vBulletin options ;P I've got a translated version and it says settings in my lang (:
Ok.. Thank you. but it's still not there..

When I click on the install in the instructions.. no new screens come up or anything .. just kinda refresh the page.. ?? I was thinking an install wizard of some sort would come up??
Reply With Quote
  #123  
Old 11-16-2006, 02:24 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
Ok.. Thank you. but it's still not there..

When I click on the install in the instructions.. no new screens come up or anything .. just kinda refresh the page.. ?? I was thinking an install wizard of some sort would come up??
Here's a simple detailed step-by-step:
  1. Download the xml files
  2. Go to your AdminCP
  3. Go to the Plugins and products menu
  4. Go to Manage Products
  5. [Add/Import Product]
  6. Browse to the xml and then upload (and the banneradsTWO too, only with this one, ALLOW OVERWRITE)
  7. Now go to your adminCP -> styles and templates -> style manager -> pick the style you want to include the banners in -> in the dropdown, selcect "edit templates" and then find the template you want the banners to be in. (for example "header").
  8. Put the code $GLOBALS[bannerads] and or $GLOBALS[banneradstwo] where you want it.
  9. Now go to vBulletin Options in the AdminCP and make sure the hack is enabled (scroll down to the bottom and you'll find it). Then you just add the code for each banner, and make sure they are enabled too.
Example for banner code:

Code:
<a href="http://www.google.com" target="_blank"><img src="http://www.google.com/intl/en_ALL/images/logo.gif"></a>
Reply With Quote
  #124  
Old 11-17-2006, 10:07 PM
Ruthierhyme Ruthierhyme is offline
 
Join Date: Feb 2006
Location: North!!
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To Frapegliko .. many many thanks for this :up:
Reply With Quote
  #125  
Old 11-18-2006, 11:29 PM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Luggruff View Post
Here's a simple detailed step-by-step:
  1. Download the xml files
  2. Go to your AdminCP
  3. Go to the Plugins and products menu
  4. Go to Manage Products
  5. [Add/Import Product]
  6. Browse to the xml and then upload (and the banneradsTWO too, only with this one, ALLOW OVERWRITE)
  7. Now go to your adminCP -> styles and templates -> style manager -> pick the style you want to include the banners in -> in the dropdown, selcect "edit templates" and then find the template you want the banners to be in. (for example "header").
  8. Put the code $GLOBALS[bannerads] and or $GLOBALS[banneradstwo] where you want it.
  9. Now go to vBulletin Options in the AdminCP and make sure the hack is enabled (scroll down to the bottom and you'll find it). Then you just add the code for each banner, and make sure they are enabled too.
Example for banner code:

Code:
<a href="http://www.google.com" target="_blank"><img src="http://www.google.com/intl/en_ALL/images/logo.gif"></a>
Not showing up for me. Tried adding it to header. Then tried forumhome. Same result. Nothing shows.
Reply With Quote
  #126  
Old 11-19-2006, 12:34 PM
lifesourcerec's Avatar
lifesourcerec lifesourcerec is offline
 
Join Date: Jan 2002
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by project-Buckfas View Post
Go to your admin cp --> Products --> upload product

Put $GLOBALS[bannerads] in the template where you want you ad's to show.

Your done!
I've done that, still doesn't show up.
Reply With Quote
  #127  
Old 11-19-2006, 03:57 PM
DDad's Avatar
DDad DDad is offline
 
Join Date: Mar 2005
Location: Boston
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check to see which one you downloaded
product bannerrotator.xml (10.8 KB, 302 downloads)
product bannerrotator two.xml (16.2 KB, 246 downloads)

then check your code
$GLOBALS[bannerads] and or $GLOBALS[banneradstwo]

I also had to size my banners before they would show, why?? but it worked
Reply With Quote
  #128  
Old 12-10-2006, 02:07 PM
GekkoPixie's Avatar
GekkoPixie GekkoPixie is offline
 
Join Date: Jul 2005
Location: Maine, USA
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If this were a sig-banner rotator, I'd be all over it. Cool hack though.
Reply With Quote
  #129  
Old 12-11-2006, 01:57 AM
redwinger redwinger is offline
 
Join Date: Nov 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't get the banner ads to center under the header image. Here is the code I am using?

<td style="text-align:center"></td>$bannerads</td>
Reply With Quote
  #130  
Old 12-11-2006, 05:49 AM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redwinger
I can't get the banner ads to center under the header image. Here is the code I am using?

<td style="text-align:center"></td>$bannerads</td>
write $GLOBALS[bannerads] instead, as some code doesn't work all over the forum, but with globals it does
Reply With Quote
  #131  
Old 12-11-2006, 05:01 PM
redwinger redwinger is offline
 
Join Date: Nov 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok got that to work, now I am am using this code below for the banner and when I click on the banner it directs me to www.mysite.com/intended url

<a href="URL" target="_blank" class="banner"><img src="URL OF BANNER" width=468 height=60 border=2></a>

I replaced the "url" with the target site URL and the "url of banner" with the banner jpg link.
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:44 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.05254 seconds
  • Memory Usage 2,322KB
  • 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
  • (5)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