vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - vbBannerRotator (https://vborg.vbsupport.ru/showthread.php?t=129418)

Peejay 12-03-2008 07:20 PM

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

NIZMOZ 12-14-2008 08:37 PM

Quote:

Originally Posted by Peejay (Post 1677973)
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!

vbplusme 12-16-2008 01:51 AM

Quote:

Originally Posted by NIZMOZ (Post 1685441)
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

jeremycards 12-19-2008 08:36 PM

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]


vbplusme 12-20-2008 01:15 AM

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

jeremycards 12-20-2008 02:09 AM

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

http://i98.photobucket.com/albums/l2...s/Dibujo-3.jpg

vbplusme 12-20-2008 02:24 AM

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.

jeremycards 12-20-2008 03:12 AM

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

https://vborg.vbsupport.ru/external/2008/12/50.jpg

jeremycards 12-20-2008 03:24 AM

oh wait! i figured out what to do!, thanks a lot for your help man!. I was at a total loss, really, thank you!!

Frogsong 01-27-2009 05:47 AM

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?

vbplusme 01-27-2009 08:08 AM

This one works with 3.8.0. I only used the ad locations to test it but it should work where ever you want to place them.

Frogsong 01-27-2009 07:42 PM

Thank you. I'll give it a try. :)

militarytuners 05-10-2009 04:07 PM

This works nicely on my forums

McDot 05-25-2009 07:23 PM

Nice Plugin!

I got the first Set of Banners up and running, but I somehow have trouble with the second Set. I'm placing the second set in the Sidebar (Ultimate Side Column), but the variable $GLOBALS[banneradstwo] is justnot recognized there.

Any ideas?

luigi7 05-31-2009 07:33 PM

thank you dude it worked perfect thanks again

MarcInJapan 07-31-2009 11:53 PM

Sorry, but I didn't read through 18 pages of this post. But, another guy that runs this program on his site says it works for a max of 10 banners? I have 20+ advertisers on my site...will this program work for 20+ banners?

vbplusme 08-01-2009 12:26 AM

Quote:

Originally Posted by MarcInJapan (Post 1859351)
Sorry, but I didn't read through 18 pages of this post. But, another guy that runs this program on his site says it works for a max of 10 banners? I have 20+ advertisers on my site...will this program work for 20+ banners?

Not without a serious modification to the script. THIS might work for you. It supports 40 banners (same script but has been modified to support 4 locations with 10 banner switches for each).

MarcInJapan 08-01-2009 12:40 AM

Thank you. Is this the only banner hack out there? Can you direct me to something as a alternative if I can't get this to work?

eric8476 08-05-2009 02:55 PM

is there a banner rotator for for under the first post for 3.7?

Tom_S 08-05-2009 03:12 PM

I am using this one with 3.7

PossumX 11-30-2009 08:45 PM

Any chance of this mod being updated for vB 4.0 when the time comes?

As for expansion of banners, it's not that hard, just tedious. I have it setup for 15 top, 10 bottom now, and can expand at will if needed.

PossumX 12-30-2009 04:45 PM

This is a key addon for my forum. I am sure I could figure it out, however, does anyone else have any ideas how to convert this to vB 4.0, or will the developer respond to at least let us know if this will be upgraded for 4.0?

bart6767 01-14-2010 09:31 AM

Will this be updated for 4.0 ?

wilfra 02-07-2013 06:06 AM

How can I use this to control different sized banners in different locations?

See: http://capperslounge.com

I am using this rotator in the right sidebar top 300x250, but I would also like to use it for the header and footer 728x90, with different banners.

I tried to install product-bannerrotator-two.xml but there is still only one set of Banners that I can add in vBulletin Options in the AdminCP.

Thanks!

wilfra 02-07-2013 06:08 AM

Nevermind I see it now - it says Activate "vbBannerRotator" Set 2 at the bottom of vBulletin Options.

This is a great mod and it still works in Feb of 2013!

Hillming 08-11-2015 03:20 PM

I haven't sufficient privileges to access the demo, any other way to watch it?


All times are GMT. The time now is 12:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01424 seconds
  • Memory Usage 1,787KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete