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
  #242  
Old 12-03-2008, 07:20 PM
Peejay's Avatar
Peejay Peejay is offline
 
Join Date: Jan 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great stuff.

To increase the numbers would it just be a case of editing the XML and increasing the code in there?

I'm looking for a rotation of 20
Reply With Quote
  #243  
Old 12-14-2008, 08:37 PM
NIZMOZ NIZMOZ is offline
 
Join Date: Apr 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Peejay View Post
Great stuff.

To increase the numbers would it just be a case of editing the XML and increasing the code in there?

I'm looking for a rotation of 20
Same here. I need more than 10. Info please!
Reply With Quote
  #244  
Old 12-16-2008, 01:51 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NIZMOZ View Post
Same here. I need more than 10. Info please!
You are looking for 20 from a single banner placement?

I have reworked this mod to do 4 banners 10, 5, 5, 5 and was thinking of 10, 10, 10,10.

My current client needed more than 2 and only 2 swaps but a single placement with 20 is definitely doable.

This MOD is pretty good but it looks like the original author has abandoned it.

Send me a PM be glad to help out.

HTH
Reply With Quote
  #245  
Old 12-19-2008, 08:36 PM
jeremycards jeremycards is offline
 
Join Date: Sep 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im really sorry about this but... im a total n00b with this, i suk at codes and such, it really makes my head dizzy, and i can't figure out how to use this plugin...

as far as i can understand i have to put $GLOBALS[bannerads] in the code of the header... right?... that would be editing the skin... ok... but where do i put that? in what part of the code. and also i have to put it just like that? or the "bannerads" part is supposed to have the adress or something of where my banners are stored?, i really can't understand that... please someone can give detailed explanation? because im trying pretty hard but i really dont know how to do it. If you give me some examples of how it looks finished maybe i could figure it out without much problem. Thanks in advance

edit: i will add my forum url and the code if that makes things easier

www.endingsekai.com (the banner i want to change is the upper left one)

HTML Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="background-image:url($stylevar[imgdir_misc]/head_back.gif)">
<tr>
	<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/head_left.gif" border="0" alt="$vboptions[bbtitle]" /></a></td>
	<td align="$stylevar[right]" id="header_right_cell">
		<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
	</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
Reply With Quote
  #246  
Old 12-20-2008, 01:15 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go to the ad_header_end template and add "$bannerads" and save it. Add your banners to the hack and you should be good to go... You can use that same "$bannerads" to place the banners manually as well, for example

Code:
<!-- content table -->
$spacer_open

$_phpinclude_output

$bannersads

$ad_location[ad_header_end]
HTH
Reply With Quote
  #247  
Old 12-20-2008, 02:09 AM
jeremycards jeremycards is offline
 
Join Date: Sep 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you very much for the help, but it seems than im still doing something wrong... only thing than happened is than the url of the image appears below my header =/. This is my code after adding $bannerads (also tryed $GLOBALS[bannerads] but didnt worked)

HTML Code:
<!-- logo -->
<a name="top"></a>
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="background-image:url($stylevar[imgdir_misc]/head_back.gif)">
<tr>
	<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/head_left.gif" border="0" alt="$vboptions[bbtitle]" /></a></td>
	<td align="$stylevar[right]" id="header_right_cell">
		<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
	</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$bannerads

$ad_location[ad_header_end]
also im not entirely sure how to put the headers on the hack... do i have to go to vbulletin options/vbbannerrotator and there on the first box put the URL of the banner i want? or its a different thing?

edit: oh, here's a screenshot of my options

Reply With Quote
  #248  
Old 12-20-2008, 02:24 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HTML Code:
<a href="http://forum.endingsekai.com"><img src="/images/styles/silverblue/misc/shonen.gif" alt="" width="372" height="102" border="0" align="middle"></a>
Make sure the path is correct to the banner image. You can change the URL for where you want the visitor to go by changing the href piece to point to the location of your choice.

BTW, $bannerads is the correct call. I checked the code and it works here so it should work for you.
Reply With Quote
  #249  
Old 12-20-2008, 03:12 AM
jeremycards jeremycards is offline
 
Join Date: Sep 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, its almost done!, sorry for being such an ultimate noob with this, now the other header appeared below the one i had =/ im trying placing the $bannerads in different parts of the code but i can't fit it on the right place yet

Reply With Quote
  #250  
Old 12-20-2008, 03:24 AM
jeremycards jeremycards is offline
 
Join Date: Sep 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh wait! i figured out what to do!, thanks a lot for your help man!. I was at a total loss, really, thank you!!
Reply With Quote
  #251  
Old 01-27-2009, 05:47 AM
Frogsong Frogsong is offline
 
Join Date: Jan 2009
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone tell me if this mod works with vBulletin version 3.8?

I need a advertisement banner ad mod with banner rotation for version 3.8
Anyone know where I can find one?
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 07:58 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.04668 seconds
  • Memory Usage 2,321KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_html
  • (2)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