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
  #102  
Old 11-06-2006, 12:00 AM
tigrrra tigrrra is offline
 
Join Date: Nov 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ookk im new at this im using vBulletin 3.6.2 where do i find this product i mean where do i add my banner script
Reply With Quote
  #103  
Old 11-07-2006, 01:01 AM
radarhunter radarhunter is offline
 
Join Date: Jul 2006
Location: Punjab, India
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it`s not showing on my site i dunno why is there sum template modification i ned to so first
Reply With Quote
  #104  
Old 11-07-2006, 02:06 AM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tigrrra
ookk im new at this im using vBulletin 3.6.2 where do i find this product i mean where do i add my banner script
AdminCP -> vBulletin Settings -> vbBannerRotator by Frapegliko

Quote:
Originally Posted by radarhunter
it`s not showing on my site i dunno why is there sum
template modification i ned to so first
Yes, you need to edit templates. Please read the instructions.
You have to put the code $GLOBALS[bannerads] (for bannerscript#1 with 10 banners) or $GLOBALS[banneradstwo] (for bannerscript#2 with 5 banners) at the location of your forum that you want them to be.

How else would they show up where you want them to be?
Reply With Quote
  #105  
Old 11-07-2006, 06:25 AM
DPSR DPSR is offline
 
Join Date: Aug 2006
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect! I was going to install phpadsnew... It working perfect
Reply With Quote
  #106  
Old 11-07-2006, 06:38 PM
voteforbird's Avatar
voteforbird voteforbird is offline
 
Join Date: Jul 2006
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using both YPN and Adsense. To ensure that only one type displays on each page, I have a rotator in my header. I then use a conditional in the body that basically says <if condition="$banner_no==3">YPN<else />Adsense</if>

This works perfectly on my homepage, but on showthread the $banner_no variable does not carry and has no value. Why is this?
Reply With Quote
  #107  
Old 11-10-2006, 10:42 AM
khfoong khfoong is offline
 
Join Date: Aug 2006
Location: singapore
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please help

i have downloaded the xml file
i have click installed in the website

but how do i get the stuff into the forum ?
edit codes??

which file to start?
i dunno how to go about starting ?

urgent !

thanks
Reply With Quote
  #108  
Old 11-10-2006, 11:24 AM
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Location: Ireland
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to your admin cp --> Products --> upload product

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

Your done!
Reply With Quote
  #109  
Old 11-10-2006, 12:00 PM
khfoong khfoong is offline
 
Join Date: Aug 2006
Location: singapore
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for your reply.
but what do u mean by put global in the template?

i am new to vbulletin

please guide me
Reply With Quote
  #110  
Old 11-10-2006, 12:17 PM
libertate's Avatar
libertate libertate is offline
 
Join Date: Feb 2005
Location: Kiribati
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Frapegliko, thank you very much. This is an excellent mod.

Quote:
Originally Posted by voteforbird
I'm using both YPN and Adsense. To ensure that only one type displays on each page, I have a rotator in my header. I then use a conditional in the body that basically says <if condition="$banner_no==3">YPN<else />Adsense</if>

This works perfectly on my homepage, but on showthread the $banner_no variable does not carry and has no value. Why is this?
Perfect! This was one of my concerns, and I believe you just fixed it. This works with $GLOBALS[bannerads] (i.e. in non-vB pages like vBA), or do I have to reference banner_no through $GLOBAL[] too?
Reply With Quote
  #111  
Old 11-10-2006, 01:00 PM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by khfoong
thanks for your reply.
but what do u mean by put global in the template?

i am new to vbulletin

please guide me
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.
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:04 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.04903 seconds
  • Memory Usage 2,312KB
  • 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
  • (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