PDA

View Full Version : Miscellaneous Hacks - vbBannerRotator


Pages : [1] 2

Frapegliko
18 Oct 2006, 21:30
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 (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=129418) to Install
2. Open your Header, Footer or what you want
3. Add $GLOBALS 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

[B]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 (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=129418)

Frapegliko
18 Oct 2006, 21:31
~~~~~~~~~~~~~~~~~~~~

rajuthan
18 Oct 2006, 21:54
Sick

Snake
18 Oct 2006, 22:23
Oh my... this is AWESOME!

dieselpowered
18 Oct 2006, 22:39
Very well done my friend, piece of cake!

Hmmm would there be any way to make it rotate on its own without a page refresh?

soletrader
18 Oct 2006, 23:22
amazing. Wanted this badly. Thank you.

soletrader
18 Oct 2006, 23:28
If I wanted to create another location for a rotating banner.. can i simply rename the product and template?


I also tested it out with 1 banner and it seems like it disappears now and then. Is there a limit min and max banners it can hold?

rinkrat
19 Oct 2006, 02:24
Looks great!

I am getting this on the bottom of the page. How do I cache the template?


Uncached templates: bannerbns (1)

rinkrat
19 Oct 2006, 02:25
Very well done my friend, piece of cake!

Hmmm would there be any way to make it rotate on its own without a page refresh?


Most ad companies frown on autorefreshing ads.

ed146
19 Oct 2006, 03:32
I would like to place the $bannerads underneath the nav bar but right above where the main forum begins. Also would like to center it.
Any help is appreciated.

dieselpowered
19 Oct 2006, 05:14
Most ad companies frown on autorefreshing ads.
Ya you are probably right.

VPREATR
19 Oct 2006, 06:21
What's the chance of including an array to allow for multiple ad's being display in random? Prior to changes in vB3.0.x and 3.x.x, I used the following method: (called via an external .php file)


<?php
$banners = array('<a href="http://www.adone.com/" target="_blank"><img src="/banners/adone.gif"','
<a href="http://www.adtwo.com/" target="_blank"><img src="/banners/adtwo.gif"','
<a href="http://www.adthree.com" target="_blank"><img src="/banners/adthree.gif"','
<a href="http://www.adfour.com/" target="_blank"><img src="/banners/adfour.gif"');

shuffle($banners);
?>

<?php
for ( $i = 0; $i < 13; $i++ ) {
echo "<center>";
echo $banners[$i];
echo " border=\"0\" width=\"140\" height=\"100\"></a></center><br>";
}
?>

Please let me know your thoughts on such an addition.

Thanks!

Hornstar
19 Oct 2006, 06:28
Really well done. Waiting for some info on how to fix the uncached template tho.

Thanks.

Frapegliko
19 Oct 2006, 08:46
Looks great!

I am getting this on the bottom of the page. How do I cache the template?
fixed.. reupload product

Frapegliko
19 Oct 2006, 08:54
I would like to place the $bannerads underneath the nav bar but right above where the main forum begins. Also would like to center it.
Any help is appreciated.
Edit your banner code

<center>Your Code here</center>

Frapegliko
19 Oct 2006, 09:03
If I wanted to create another location for a rotating banner.. can i simply rename the product and template?


I also tested it out with 1 banner and it seems like it disappears now and then. Is there a limit min and max banners it can hold?
there is no limit..

Frapegliko
19 Oct 2006, 09:11
Very well done my friend, piece of cake!

Hmmm would there be any way to make it rotate on its own without a page refresh?
u can use iframes in your code.

soletrader
19 Oct 2006, 17:08
How do I add a second set of banners on a different part of the forum.

$bannerads would simply give me the same set.

rinkrat
19 Oct 2006, 19:26
I'm still getting the uncached template after the upgrade.

Uncached templates: bannerbns (1)

VPREATR
19 Oct 2006, 19:55
Frapegliko:
What's the chance of you adding multiple image output? It works great for randomizing a single image from a listing of links; randomizing and outputting several images at the same time so each banner is displayed in a different sequence (as mentioned a few posts above) would be very helpful.

Thanks!

Frapegliko
19 Oct 2006, 21:13
I'm still getting the uncached template after the upgrade.

Uncached templates: bannerbns (1)
rinkrat.. disable all hacks exc. Banner Rotator

midirtrider
19 Oct 2006, 21:21
how do I get the rotating banner to go to the right of my BB's banner (which is on the left? ) Im talking in the header..

this site..

www.michiganreefers.com is how I want to do it..

www.midirtriders.com <-- is my site.. and I would like to intergrate this into the right side of my sites banner in the header? possible?

aycan555
19 Oct 2006, 21:41
wooooooooooow thats great hack man, thank you verry much...

dieselpowered
19 Oct 2006, 22:45
u can use iframes in your code.
if you want to add your ad codes in a file just deinstall vbbannerrotator product and upload this Plugin
In your forum rootfolder upload bannerbns.txt with your code
Not quite sure my friend how iframes would cause it to refresh on its own...you will have to forgive the ignornance :)

Stunner
20 Oct 2006, 17:42
For some reason this isn't working AT ALL for me.
Edit: fixed it....sorta

project-Buckfas
20 Oct 2006, 20:47
Looks great. Thanks Frapegliko

Greek76
20 Oct 2006, 23:24
Frapegliko with a little milk. How do you add php code for a banner? I honestly have no clue.. Thanks

Frapegliko
21 Oct 2006, 14:23
New Version available

Virtuosofriend
21 Oct 2006, 14:38
Awesome work. Sixaritiria ;)

dklassen
21 Oct 2006, 15:46
I installed the product but I don't see it in admincp. Did I miss a step?

Frapegliko
21 Oct 2006, 15:53
I installed the product but I don't see it in admincp. Did I miss a step?
In your vBulletin Settings

Category: vbBannerRotator

Frapegliko
21 Oct 2006, 18:38
Frapegliko with a little milk. How do you add php code for a banner? I honestly have no clue.. Thanks
:beard: :smoke:

soletrader
21 Oct 2006, 20:23
Lets say I want to add two different sets of rotating baners on the forum.

One on top and one on the bottom.

How would I go about doing this?

Frapegliko
21 Oct 2006, 22:47
Lets say I want to add two different sets of rotating baners on the forum.

One on top and one on the bottom.

How would I go about doing this?
added.. Check Description

Frapegliko
21 Oct 2006, 22:51
Awesome work. Sixaritiria ;)
Euxaristo :D

Stangsta
21 Oct 2006, 23:21
any chance on getting this for 3.5.x?

Criticize
22 Oct 2006, 04:42
Probably works for 3.5.x

soletrader
22 Oct 2006, 06:45
Thank you Frapegliko :)

soletrader
22 Oct 2006, 07:49
The banner-two... it says I have already installed it. Overwriting this will probably overwrite the initial product.

Coud you look into this? Thanks

Stangsta
22 Oct 2006, 08:13
Probably works for 3.5.xNo, it doesn't. Theres a DB entry that does not exist on 3.5, however he helped me out and removed it from the release and it works flawlessly. Im sure he will release it soon, as he has more enhancements planed, but lack of free time.

Frapegliko
22 Oct 2006, 22:02
The banner-two... it says I have already installed it. Overwriting this will probably overwrite the initial product.

Coud you look into this? Thanks
thats right

soletrader
22 Oct 2006, 23:34
thats right

Woudlnt that delete banner one?

Greek76
23 Oct 2006, 01:07
:beard: :smoke:
LOL Im serious I have no clue.

Frapegliko
23 Oct 2006, 11:46
Woudlnt that delete banner one?
yes, backup your codes

soletrader
23 Oct 2006, 13:47
What I meant to say is:

I want two set of banners. Banner one on top and banner two on the bottom at the same time.

How do I do this? Whats the point of using banner two if it deletes banner one???

Frapegliko
23 Oct 2006, 14:12
@soletrader

Install product bannerrotator two.xml
Add $bannerads in header
Add $banneradstwo in footer
Then insert your Codes in vBulletin Setting > vbBannerRotaror

Thats all

Luggruff
23 Oct 2006, 17:05
Is it possible to change this to make the "process" page random? Would be great, I want to use it for "comercial" use but I don't want alot of comercial on every single page, interfering with my forumstyle.

Sorry, didn't read the thread posts. Question answered ^^ *installs as soon as possible*

Luggruff
23 Oct 2006, 23:32
Ok, changed my mind about this.. I installed the hack, enabled the first one and two banners. Added the text "..Test.." in one field and "--Test--" in field number two.

I also wrote $bannerad in the header template (other templates too).. nothing shows up.
The hack has no hooks that aren't allowed to crash with others alike (global_start and cache_templates ..as I've understood it at least, it wont matter if those hooks are located in more than one product..)

How do i make it show up? (running vb 3.6.2)

farooqaaa
24 Oct 2006, 07:28
wooo000ohoooo! w00t

nice one. :). Installed.

Frapegliko
24 Oct 2006, 14:33
Ok, changed my mind about this.. I installed the hack, enabled the first one and two banners. Added the text "..Test.." in one field and "--Test--" in field number two.

I also wrote $bannerad in the header template (other templates too).. nothing shows up.
The hack has no hooks that aren't allowed to crash with others alike (global_start and cache_templates ..as I've understood it at least, it wont matter if those hooks are located in more than one product..)

How do i make it show up? (running vb 3.6.2)
Look in the Installation Description again
U must add $bannerads

patsalko
24 Oct 2006, 14:44
nice. will try it

Luggruff
24 Oct 2006, 14:53
Look in the Installation Description again
U must add $bannerads

Ahh thanks! Finally a hack that works xD
(I just copied the code from the post you made here on page 4 ;P)

Frapegliko
24 Oct 2006, 15:13
Ahh thanks! Finally a hack that works xD
(I just copied the code from the post you made here on page 4 ;P)
ups :paranoid: thank u

Frapegliko
24 Oct 2006, 15:14
Ahh thanks! Finally a hack that works xD
(I just copied the code from the post you made here on page 4 ;P)
and dont forget to click install

Luggruff
24 Oct 2006, 15:27
Done done and done! ;D

Frapegliko
24 Oct 2006, 15:29
today comes a new version...

Stangsta
25 Oct 2006, 00:35
today comes a new version...Hopefully a "tweaked" version for 3.5 as well? ;)

principino1984
25 Oct 2006, 02:01
Great hack man! It works awesome!!!

Marco

hitmanuk2k
25 Oct 2006, 11:12
I can't get it to show in vbadvanced. Any way to do it?

Frapegliko
25 Oct 2006, 23:57
do you edited the header template?

jeffro241
26 Oct 2006, 04:14
does this work with vBulletin Version 3.6.0?

Frapegliko
26 Oct 2006, 10:02
does this work with vBulletin Version 3.6.0?
yes it works

RobertPool
26 Oct 2006, 16:10
Placing $bannerads works fine in header / footer template but not at all in Postbit template... Why?

Luggruff
26 Oct 2006, 16:19
when do the new version come? You said today, the day before yesterday ;P

Devil Woman
26 Oct 2006, 23:30
Hi there, I have just installed this, must say it is a really nice hack and something I have been looking for however I have encoutered a few problems

This is the code I am using

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

Now I have added this in only the problem is, is that the banner then goes below the forum banner and the link doesn't link to the site that the banner is for instead it goes to www.mysite.com/%22www.urlforbanner.com/%22

Where am I going wrong? Is the code wrong and that is why the link isn't working correctly? And have I put the $bannerads in the wrong place on the header and that is why it is going under the forum banner rather than opposite the forum banner

Thanks in advance

Luggruff
26 Oct 2006, 23:44
Hi there, I have just installed this, must say it is a really nice hack and something I have been looking for however I have encoutered a few problems

This is the code I am using

<a href=\"URL/" target=\"_blank\" class=\"banner\"><img src=URL OF BANNERwidth=468 height=60 border=2></a>
Now I have added this in only the problem is, is that the banner then goes below the forum banner and the link doesn't link to the site that the banner is for instead it goes to www.mysite.com/%22www.urlforbanner.com/%22 (http://www.mysite.com/%22www.urlforbanner.com/%22)

Where am I going wrong? Is the code wrong and that is why the link isn't working correctly? And have I put the $bannerads in the wrong place on the header and that is why it is going under the forum banner rather than opposite the forum banner

Thanks in advance

Your code:
<a href=\"URL/" target=\"_blank\" class=\"banner\"><img src=URL OF BANNERwidth=468 height=60 border=2></a>

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

Get it?

And to get the banner above the logo of your forum, simply put the $bannerads above <!-- LOGO --> in the header template.

Devil Woman
27 Oct 2006, 00:10
Hi there, I have put the correct code in and all is working fine :) thanks for that

No what I want to do is have the banners on the opposite side of the forum banner.

The forum banner is on the left hand side, I want the banners to go on the right hand side of the header so that it is opposite the banner

Thanks

Luggruff
27 Oct 2006, 00:50
Hi there, I have put the correct code in and all is working fine :) thanks for that

No what I want to do is have the banners on the opposite side of the forum banner.

The forum banner is on the left hand side, I want the banners to go on the right hand side of the header so that it is opposite the banner

Thanks

In the header template find this:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions" /></a></td>
<td align="$stylevar[right]">
&nbsp;
</td>
</tr>
</table>
<!-- /logo --><br>

Each column are specified with the <td></td> tags, each new row are between the <tr></tr> tags, so to add another column just add another column tag (<td>$bannerads</td>) after the last <td></td> tag (in between the </td> and </tr> tag).

wich of course would turn out like this:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
&nbsp;
</td>
[B] <td>
$bannerads
</td>
</tr>
</table>
<!-- /logo --><br>


Basic table building..

Devil Woman
27 Oct 2006, 22:13
you learn something new everyday :) thanks for that its much appreciated :)

moley
28 Oct 2006, 21:24
Just installed this, done everything you said but its not appearing in my postbit!

Code Monkey
29 Oct 2006, 19:31
Does this track clicks to different banners?

d1150488
29 Oct 2006, 21:36
For those wanting to reference this variable in the postbit template you need to use...

$GLOBALS[bannerads]

Rather than

$bannerads

This has been driving me mad. Its to do with the scope of these variables in the postbit template....

rezapci
30 Oct 2006, 04:37
thanks for great hack, but I have a problem, when people click on hacks, the page well go like this http://www.domain.com/forum/adsurl error 404!

I am using this code <a href="www.islamicbookstore.org.uk" target="_blank" class="banner"><img src="http://www.absocs.com/advert.jpg" width=136 height=37 border=2></a>

what should I do?

Iamjine
30 Oct 2006, 10:00
I'm new to vBulletin.

I've downloaded the XML files but I don't know how to get them installed.

Would someone please show me ?

Thanks

Luggruff
30 Oct 2006, 10:53
I'm new to vBulletin.

I've downloaded the XML files but I don't know how to get them installed.

Would someone please show me ?

Thanks

go to http://www.yousite.com/admincp -> log in -> Plugins and products -> Products -> add new plugin (on the bottom of the page) -> browse -> submit.

THEN you go to the template manager in adminCP unde styles and templates and in the template drop-down you select "edit templates", then you doubbleclick the template you want to add the banners to and you write $bannerads or $banneradstwo at the location in the code that you want the banners to show up.

redlabour
31 Oct 2006, 13:54
Hi, please add $GLOBALS[bannerads] to the Installinstructions.

With that it is working everywhere and still at navbar, footer etc. ! ;)

(Postbit, vBadvanced, Arcade etc.)

redlabour
01 Nov 2006, 11:47
Anybody out there ?

sunnycher
01 Nov 2006, 17:45
Ok, If I want this banner to be to the RIGHT side of the forum, on top of ALL pages, how do I do this?
If you go to www.lgpphotographers.com/forum
I want the banner to rotate right above the convention banner.

Any ideas?

THANK YOU FOR THIS!

Luggruff
02 Nov 2006, 06:34
AdminCP -> Styles and templates -> Template Manager (or whatever, top link in that menu) -> << >> OR the top choice in the drop-down, does not matter, it's the HEADER template you want and that just happens to be in both places.

Take this:

<!-- logo -->
<a name="top"></a>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="27"><img src="images/LGP/q1.jpg" border="0" width="27" height="182" alt="" /></td>
<td width="100%" background="images/LGP/q3.jpg">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="100%"><img src="images/LGP/header3.jpg" border="0" width="234" height="182" alt="ProPs - ProPhotogs.com" /></td>
<td align="center"><ad what="zone:1" /><p><a href="http://www.lgpphotographers.com/convention/convention.htm"><img src="./images/convention.jpg" align="center" border="0"></a></p></td>
</tr>
</table>
</td>

<td width="28"><img src="images/LGP/q2.jpg" border="0" width="28" height="182" alt="" /></td>
</tr>
<tr>
<td width="27" background="images/LGP/q4.jpg"></td>
<td width="100%">
<!-- /logo -->
And change to something like this:

<!-- logo -->
<a name="top"></a>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="27"><img src="images/LGP/q1.jpg" border="0" width="27" height="182" alt="" /></td>
<td width="100%" background="images/LGP/q3.jpg">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="100%"><img src="images/LGP/header3.jpg" border="0" width="234" height="182" alt="ProPs - ProPhotogs.com" /></td>
<td align="center">$GLOBALS[bannerads]<br><ad what="zone:1" /><p><a href="http://www.lgpphotographers.com/convention/convention.htm"><img src="./images/convention.jpg" align="center" border="0"></a></p></td>
</tr>
</table>
</td>

<td width="28"><img src="images/LGP/q2.jpg" border="0" width="28" height="182" alt="" /></td>
</tr>
<tr>
<td width="27" background="images/LGP/q4.jpg"></td>
<td width="100%">
<!-- /logo -->

FPR
02 Nov 2006, 10:16
Awesome code.

How do I add the banner below the nav bar?

Cheers
FPR

redlabour
02 Nov 2006, 14:09
Awesome code.

How do I add the banner below the nav bar?

Cheers
FPR

Read the Instructions.... ;)

sunnycher
02 Nov 2006, 14:18
Thanks, not sure what I'm doing wrong but it's not showing up.

sunnycher
02 Nov 2006, 14:20
ok now it's showing! Yay! Thank you!!

sunnycher
02 Nov 2006, 15:11
Ok, 10 slots isn't enough LOL

So if I want this rotating system to go in another place, I just add the Global, correct?

Luggruff
02 Nov 2006, 15:12
ok now it's showing! Yay! Thank you!!

Now you could add a vanlign="middle" to the td tag where the banner is located and then wrap the bannerrotatortag with a [noparse]<p></p>[/norparse] tag and you will get some space between the two comercial banners, and they will align more symtetrical to your logo on the left. (at least I think the valign tag works xD)

sunnycher
02 Nov 2006, 15:22
Where exactly is this located that I would add that to?

Luggruff
02 Nov 2006, 15:25
Ok, 10 slots isn't enough LOL

So if I want this rotating system to go in another place, I just add the Global, correct?

You add the same code, only that you can write $GLOBALStwo] for another 5 banners somewhere else ;)

by writing $GLOBALS[bannerads or banneradstwo] you won't have to worry about the banners showing up, as you will have to if you only write $bannerads or $banneradstwo ;)

sunnycher
02 Nov 2006, 15:32
Where exactly would I put this?
and I noticed in FF, it's right on top of the convention baner but in IEit's not, they are seperated.

This code here would seperate it in FF? and not be on top of each other right? Will it affect IE?

Now you could add a vanlign="middle" to the td tag where the banner is located and then wrap the bannerrotatortag with a [noparse]<p></p>[/norparse] tag and you will get some space between the two comercial banners, and they will align more symtetrical to your logo on the left. (at least I think the valign tag works xD)

Luggruff
02 Nov 2006, 15:40
Where exactly would I put this?
and I noticed in FF, it's right on top of the convention baner but in IEit's not, they are seperated.

This code here would seperate it in FF? and not be on top of each other right? Will it affect IE?

First, change this:

<td align="center">

<BR>
<a href="http://www.acilab.com" target="_blank" class="banner"><img src="images/LGP/aci.gif" border=0></a>
<BR>


<a href="http://www.lgpphotographers.com/convention/convention.htm"><img src="./images/convention.jpg" align="center" border="0"></a></p></td>
</tr>
</table>

Into this:

<td align="center" valign="middle">

<p>
<a href="http://www.acilab.com" target="_blank" class="banner"><img src="images/LGP/aci.gif" border=0></a>
</p>


<a href="http://www.lgpphotographers.com/convention/convention.htm"><img src="./images/convention.jpg" align="center" border="0"></a></p></td>
</tr>
</table>

Secondly:
The $GLOBALS[banneradstwo], are to be put where ever you want it on your forum, just find the template you want it in (etc. footer) and put it there. Fine adjustments such as placements and such, are all up to you.

sunnycher
02 Nov 2006, 16:16
I added that, doesn't look any different to me in FF.

sunnycher
02 Nov 2006, 16:16
meaning, that the banner is laying right on top of the convention banner.

Luggruff
02 Nov 2006, 16:29
meaning, that the banner is laying right on top of the convention banner.

Ok, read my post again. I made two changes.. I forgot to bold out this part:

<td align="center" valign="middle">
<p>
<a href="http://www.studiocart.com/marketingkits.html" target="_blank" class="banner"><img src="images/LGP/studiocart.gif" border=0></a>
</p>


you currently have <br> and not <p>.

About the valign part, I can't say for sure it's not out of date, used to work back in the days ;P

sunnycher
02 Nov 2006, 16:38
Ok, got it that time! Thank you!!

gedsta
04 Nov 2006, 01:16
great hack :)

bada_bing
04 Nov 2006, 03:46
Any idea how I can get this to work on VBadvance if I want my banners to rotate in a center block ?

Frapegliko
05 Nov 2006, 03:25
Any idea how I can get this to work on VBadvance if I want my banners to rotate in a center block ?
vBa CMPS > Add Module >
Title: Banners
Column: Center Column
Template to Include: adv_portal_vbbannerrotator
Style: Select Style
Template Content:
<tr><td class="$getbgrow" align="center">
$GLOBALS[bannerads]
</td></tr>

Save

Frapegliko
05 Nov 2006, 03:27
Hi, please add $GLOBALS[bannerads] to the Installinstructions.

With that it is working everywhere and still at navbar, footer etc. ! ;)

(Postbit, vBadvanced, Arcade etc.)
Danke ;)

hotmasala4u
05 Nov 2006, 16:47
what does "Insert your Banner Code "1" means

what is the code]u guy want the link or html

baker011
05 Nov 2006, 19:07
I have installed this hack and think its great. I have got it working fine for ad providers code and also for .jpgs. However, how do I add a .swf to the rotation?

Thanks.

Luggruff
05 Nov 2006, 22:16
I have installed this hack and think its great. I have got it working fine for ad providers code and also for .jpgs. However, how do I add a .swf to the rotation?

Thanks.

Probably.. like you add a .swf to a webpage? -_-
www.google.com <- try.. say, ".swf embed html" or something?

tigrrra
06 Nov 2006, 02:00
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

radarhunter
07 Nov 2006, 03:01
it`s not showing on my site i dunno why is there sum template modification i ned to so first

Luggruff
07 Nov 2006, 04:06
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

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?

DPSR
07 Nov 2006, 08:25
Perfect! I was going to install phpadsnew... ;) It working perfect :)

voteforbird
07 Nov 2006, 20:38
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?

khfoong
10 Nov 2006, 12:42
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

project-Buckfas
10 Nov 2006, 13:24
Go to your admin cp --> Products --> upload product

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

Your done!

khfoong
10 Nov 2006, 14:00
thanks for your reply.
but what do u mean by put global in the template?

i am new to vbulletin

please guide me

libertate
10 Nov 2006, 14:17
Frapegliko, thank you very much. This is an excellent mod.

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?

Luggruff
10 Nov 2006, 15:00
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.

NathanMc
10 Nov 2006, 22:54
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

michaelsilvia
11 Nov 2006, 07:50
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

Luggruff
11 Nov 2006, 13:09
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.

VBUsers
13 Nov 2006, 09:42
just what i was looking for and thank you. clicked install

DDad
13 Nov 2006, 21:03
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!

Luggruff
13 Nov 2006, 21:22
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

DDad
13 Nov 2006, 21:36
Thank you!! quick too!!

Sjakie
16 Nov 2006, 00:28
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...

barbiedoll
16 Nov 2006, 14:12
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 ??

Luggruff
16 Nov 2006, 15:14
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 (:

barbiedoll
16 Nov 2006, 15:43
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??

Luggruff
16 Nov 2006, 16:24
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:


Download the xml files
Go to your AdminCP
Go to the Plugins and products menu
Go to Manage Products
[Add/Import Product]
Browse to the xml and then upload (and the banneradsTWO too, only with this one, ALLOW OVERWRITE)
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").
Put the code $GLOBALS[bannerads] and or $GLOBALS[banneradstwo] where you want it.
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:

<a href="http://www.google.com" target="_blank"><img src="http://www.google.com/intl/en_ALL/images/logo.gif"></a>

Ruthierhyme
18 Nov 2006, 00:07
To Frapegliko :) .. many many thanks for this :up:

lifesourcerec
19 Nov 2006, 01:29
Here's a simple detailed step-by-step:


Download the xml files
Go to your AdminCP
Go to the Plugins and products menu
Go to Manage Products
[Add/Import Product]
Browse to the xml and then upload (and the banneradsTWO too, only with this one, ALLOW OVERWRITE)
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").
Put the code $GLOBALS[bannerads] and or $GLOBALS[banneradstwo] where you want it.
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:

<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.

lifesourcerec
19 Nov 2006, 14:34
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.

DDad
19 Nov 2006, 17:57
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

GekkoPixie
10 Dec 2006, 16:07
If this were a sig-banner rotator, I'd be all over it. Cool hack though. :)

redwinger
11 Dec 2006, 03:57
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>

Luggruff
11 Dec 2006, 07:49
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

redwinger
11 Dec 2006, 19:01
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.

tobybird
12 Dec 2006, 23:12
This is perfect! Thanks! Clicked install.

SnapOff Racing
13 Dec 2006, 06:09
will this work with xtremepixels skins?

Luggruff
13 Dec 2006, 12:45
will this work with xtremepixels skins?

What skin you use should not be an issue.
How big banners you use, what they look like and where on your site you put them is all up to you.

ski diva
23 Dec 2006, 20:52
Is there a 3.5 version of this yet?

aerogear2002
25 Dec 2006, 11:28
hello recently purchase Vbulletin can you please explain how to installed this template, do I upload it on to my server if so where or which file.

ecansel
25 Dec 2006, 23:26
Thank you.. Working good.. Merry Xmas

aerogear2002
26 Dec 2006, 00:07
sorry I'm new this this how to installed it, do I use FTP to upload in my root folder or just upload in my admin page

aerogear2002
29 Dec 2006, 07:56
great mod love it but I want the banner to be inside the that box right on top of the blue nav bar, next to your user name when you log in.

AndyP
29 Dec 2006, 12:23
I've installed this on 3.6.4, and so far it seems to work great. Thanks.
FWIW I'm using it for images without links only as the main banner in the header.

For the newbies asking how to install, follow the instructions below.
Here's a simple detailed step-by-step:
Download the xml files
Go to your AdminCP
Go to the Plugins and products menu
Go to Manage Products
[Add/Import Product]
Browse to the xml and then upload (and the banneradsTWO too, only with this one, ALLOW OVERWRITE)
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").
Put the code $GLOBALS[bannerads] and or $GLOBALS[banneradstwo] where you want it.
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:

<a href="http://www.google.com" target="_blank"><img src="http://www.google.com/intl/en_ALL/images/logo.gif"></a>

kdemonte
05 Jan 2007, 22:36
Installed it, one of the few hacks I've been able to get installed correctly...love it!

Marc118
07 Jan 2007, 00:37
Forgive me I didnt read all 10 pages.

Im trying to use this to rotate the banner of my forum, not for ads. Anywho its installed an working. Except that it added a small space/break under my banner? Is there any way to fix?

Here is my header.

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]">$GLOBALS[bannerads]</a></td>
<td align="$stylevar[right]">
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

barbiedoll
08 Jan 2007, 00:12
Here is my header : As I have put in the code.. Does this look correct?? Right now I have a JPG file in the header space Would like banner to go under that..

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
$GLOBALS[banneradstwo]
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

And here is the code I put in for first banner I want.. but nothing changes on the site at all.

I am very very new to this & I know I am just missing something simple.. Any help would be greatly appreciated.. :D


<a hef="http://www.greatlakesoffshore.com" target="_blank"><img
src="http://www.greatlakesoffshore.com/greatlakesoffshore/images/banners/bobcardbanner.gif"></a>

Marc118
10 Jan 2007, 21:00
Anyone?

AndyP
10 Jan 2007, 23:38
The extra space under your banner may be within the code of this mob. I recall editing code to remove that space when I installed it.

coderphp
11 Jan 2007, 01:24
exactly what i needed!! installed!~ thank you

Marc118
14 Jan 2007, 06:44
The extra space under your banner may be within the code of this mob. I recall editing code to remove that space when I installed it.

Do you know what code to remove?

NFLfbJunkie
15 Jan 2007, 05:33
I have replaced the vBulletin logo with this Banner Rotator by removing

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
&nbsp;
</td>
</tr>
</table>
<!-- /logo -->

Thus leaving me with:

$GLOBALS[bannerads]

<!-- content table -->
$spacer_open

$_phpinclude_output

Was this okay to do? The Banner shows up okay, but how do I center it?

BudLeiser
19 Jan 2007, 20:45
This script is nice, but I use alot of small banners.

Can this be adapted to offer a variable # of sets and variable number o banners per set?
(I'm looking for 14+ sets, 3-10 banners each, so would be easier I can set variables on how many sets and how many banners)

Louise12
22 Jan 2007, 16:25
I know this has been asked bfore, but there was no answer.

Can this be made to automatically rotate? Like every 5 seconds or so?

Thanks in advance.

joethaman
30 Jan 2007, 20:56
I'm having trouble finding out where I need to place the code in my "header" for it to display correctly. I'm using a couple of "styles" that are a little confusing.

The site is www.turbo-owners.com and I would like it to appear on the right side across from the 'Turbo Owners" logo... I have 2 styles (light and dark) and have attached the header contents of each

style1 = light
style2 = dark

If anyone could help me out that would be appreciated.

Also, is there the possibility of having slots for more than 10 banner ads?

scart3r
03 Feb 2007, 12:39
Thanks for making this great mod :) Is very handy!

Can someone tell me if I can add more than 15 banners? Would love to know :)

Ta,
Cindy

Oh yeah, and if anyone wants to see mine working you can see it at http://www.nettrafficchat.com

gizmo01
06 Feb 2007, 18:41
Any way of using this banner rotator to place a banner above a particular Parent Forum in the forum home list of forums??

I know my way around coding PHP a tiny little bit, but this is stumping me.

Kopfgeldjaeger
09 Feb 2007, 03:16
I want to add:

This Plugin ROCKS!!!!

We have been looking for a way to rotate multiple banners for a long time since we had over 50 and it was dragging down the main page.

This was the answer!

You can add your HTML coding to show 2 rows of 3 or whatever you want into each box in the Admin CP and away you go.

We now have 6 banners showing at a time and it cut load times by approx. 30%!

Installation was simple and took less than a minute.

GREAT WORK and thank you!

Kopfgeldjaeger
09 Feb 2007, 03:22
Can someone tell me if I can add more than 15 banners? Would love to know :)


The only way I could figure out was to add more than one banner in each box.

Unless your page is hurting for space, I cleared enough room to place the banners under the forums but above the "Who's Online" area and made 2 rows of 6.

You could put 1 row of 2 or 3 depending on their size and set it to align centered.

This will not take up much space and therefore allows you to add 20-30 banners by showing 2-3 at once.

As I stated, we are showing 56 total banners (6 at a time).

See our board at: WarRifles Forums (http://www.warrifles.com)

Located right above "Who's Online" area.

Hope this helps!

sweetguy2004
09 Feb 2007, 13:02
could some one please tell me were does the xtlm codes for banner goes code 1 and code 2 im lost sorry for nasking this please help thanks

sweetguy2004
09 Feb 2007, 15:16
thanks good great the banner

Tom_S
14 Mar 2007, 23:40
Frapegliko, Are you giving any kind of support for this mod still? I am hoping so. I would really like to know how to increase the number of banners I can use.

Thanks

DieselMinded
18 Mar 2007, 09:19
How do I make a certain Banner # Shown when the Sponcers SubForum is opened

In this case ICE BOX .....

www.dieselbombers.com

Love the Rotator THANKS !!

Tom_S
18 Mar 2007, 15:55
Oh Frapegliko! Are you there? :rolleyes:

We need you :up:

trigon
25 Mar 2007, 12:35
i have (maybe a dumb) question about this hack:
i tried to made the 5 one only for a special area, but it seems my code is wrong, maybe someone can help me?
Here are my code:

<if condition="$thread[forumid] == 23">

$GLOBALS[banneradstwo]

</if>
also i tried it with


<if condition="$forum[forumid] == 23">

$GLOBALS[banneradstwo]

</if>
:confused:

trigon
27 Mar 2007, 05:15
bump

Panagioths
05 Apr 2007, 23:29
Thank you very much. Amazing mod

Finster
06 Apr 2007, 06:03
I see no provisions in this mod for uploading a graphic files as the banner but it hyperlinks to the respective advertiser.

I will guess this will probably be a stupid question but hey, a stupid question is better then a stupid mistake!

;)

ORACLE
07 Apr 2007, 21:19
Can some one tell me if there is any way of installing this twice or even three times (any help from the author) as i use this to rotate my adds...
great mod by the way.
thanks
ORACLE

melscamera
27 Apr 2007, 22:15
do you guys have any screen shots of what this banner looks like installed ?

YabbaDabba
03 May 2007, 22:12
POSSIBLE ERROR:

It appears that if I set "Activate Banner Code 1" to "No", the code treats it as "active, but empty" when it should treat it as not there at all.

For example, if I have ad code in both Banner Code 1 and Banner Code 2 positions, but "1" is set to "NO", the result is an empty ad display 50% of the time (and 50% is Banner 2 being displayed).

If I switch the activations (Banner Code 1 is ON and Banner Code 2 is OFF) the display shows Banner 1 all (100%) of the time.

Only the first position seems to behave this way. I did not see a problem with the other positions I tested.

juan71287
05 May 2007, 20:18
Hey, I have the STYLE/SKIN Enlighten. Now, the banner is located in the Main CSS. This is how it looks:
#logo {
background: url(enlighten/misc/header_logo.gif);
width: 197px;
height: 102px;
float: left;
margin: 0;
padding: 0;
}
How would I be able to make the banner rotate with the other banners I made?

ShackMaster
22 May 2007, 04:25
Great plugin... but we need more sets of banners so that we can rotate them in several forums.

Any plans on adding more sets?

Thanks!

axi
23 May 2007, 19:33
anyway of getting more banners going say 15 or 20 can someone make updated plugin please??

USAMustangs.com
24 May 2007, 23:46
i notice some times it takes 3 or 4 page refreshes to switch banners. how can you make it switch with every page refresh?

abdulla1
31 May 2007, 02:15
So in total we can make only two banners? and choose where to put them in the forum?

what if i want to add multiple banners in different places in the forum?

bugriders
31 May 2007, 15:53
We need more banners. Who van make an update please:erm:

Mrdby
02 Jun 2007, 18:33
any demos????

fpattberg
07 Jun 2007, 14:08
This hack works perfectly. Thanks.

Fabian

tjudy
08 Jun 2007, 02:13
Attempting to get banners to show in the header on the right side and not having much luck.

Here is my header code....

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
&nbsp;
</td>
<td>
$GLOBAL[bannerads]
</td>

</tr>
</table>
<!-- /logo -->


Here is what I have in Banner Code 1 under vBannerRotator under vBulletin Options

<a href="http://[URL]" target="_blank" class="banner"><img src="[IMAGE]" width=468 height=60 border=2></a>

Something is wrong but I don't see what
Please help...

wickedstangs
08 Jun 2007, 04:41
works nice on Vb 3.6.7PL1 (marked installed)

fpattberg
08 Jun 2007, 08:10
Hi tjudy.

Replace the &nbsp; with the $GLOBAL[bannerads] then it should work.

:)

Fabian

bugriders
09 Jun 2007, 08:55
We need more banners. Who van make an update please:erm:

BUMP please

The Bish
09 Jun 2007, 13:59
You know this seems to be a common request which is not being answered so how about you all try using Openads (formerly phpAdsnew) and you can have as many ads as you could ever want rotating in your header and footer and side columns for that matter.

tjudy
13 Jun 2007, 02:21
Hi tjudy.

Replace the &nbsp; with the $GLOBAL[bannerads] then it should work.



Fabian


Thank you Fabian, but it is still a no go. I can get teh banner itself to appear by insertingthe banner code directly into the header, so I know that there is not a problem with the skin or the space for the banners. I just cannot get the vbBannerRotator to work.

dmyre
13 Jun 2007, 05:51
Installed, and working well. Thanks...

VH Freak
22 Jul 2007, 14:47
The vbRotator does not come up under 'vBulletin Options'. Is this because I am on version 3.5.3? Does it work for that version?

Thanks in advance.

dismas
24 Jul 2007, 06:35
I needed something like this, thanks.
Does this work on vb 3.6.7 PL1?

Thanks.

See the previous page of this thread.

SVTCobraLTD
24 Jul 2007, 15:58
Installed, works great. Thank you.

If you come up with a rotater every so many seconds, that would be great. This way it doesn't just rotate on refreshes.

SVT

slosupra
31 Jul 2007, 14:19
installed thanks

anoob
20 Aug 2007, 20:00
Obviously I am too new to this, I've installed it,

When I place an ad, it stretches the banner beyond belief.

Appearantly I am doing something wrong.
Please can someone clarify?

SVT242
26 Aug 2007, 18:05
Awesome mod, works right out of the box!

ForosAbiertos
26 Aug 2007, 19:36
I have a multi tematic forum.

Is it possible to do a version of this hack with multiple banners?

That not only are two?

Thanks

Zerovb
27 Aug 2007, 06:43
Very Good Hack

ORP
11 Sep 2007, 16:07
For those wanting to reference this variable in the postbit template you need to use...

$GLOBALS[bannerads]

Rather than

$bannerads

This has been driving me mad. Its to do with the scope of these variables in the postbit template....

Just getting ready to give this a try ... but I'm confused as to what 'postbit' is. Would someone please explain and also tell me where the add would be placed if I did the above postbit addition ($GLOBALS[bannerads]) :confused:

ORP
11 Sep 2007, 20:13
Never mind.


Postbit - The postbit template is used to display posts, announcements and private messages.

FJCCrazy
14 Sep 2007, 20:15
This is an awesome little ap. I can use it for banner ads or events or whatever I can think of. Very easy to install and use...Thanks!

anoob
16 Oct 2007, 00:31
I am using your product and love it.
I'm looking for some additional help, I want to show a banner in the first and last post of every thread. Atleast the first anyway.

What template would I edit to accomplish that?

adivor
22 Oct 2007, 12:50
Thanks, work 100% on www.adivor.it

adivor
22 Oct 2007, 14:41
is possible add 10 banner in banneradstwo ?

afmarko99
27 Oct 2007, 20:54
Ignore this post.

afmarko99
27 Oct 2007, 21:16
Ok. This program works perfectly for what I want but for some reason in firefox when a graphic comes up it will take part of a google ad and push it to the right column on my page. I have refreshed over 50 times in internet explorer and it is fine. This only happens when a graphic banner shows up in firefox.

Check images below. Any suggestions?

john testo
22 Nov 2007, 11:13
Excellent hack. Works perfectly very easy to install and use. Thank you very much.

ryadm
04 Dec 2007, 21:38
great work, it what i wanted! nominated!

bigraph
06 Dec 2007, 00:41
Whenver i try to add html it doesnt work, what im putting in
<a href=http://google.com>Google</a>

laserterd
11 Dec 2007, 22:21
hmm i installed this, and it just seemed too easy.

My banners wont show up! I have three, and i put them in the first three boxes, checked off that i want them enabled, and refreshed my homepage. where are they?

Is there something im supposed to do? Like ad a code to a template or anything??

Ive been looking for something like this, but nothing has worked, so hopefully this will. I just have three different banners that all link to the same place, but they are different banners. They are in GIF file, and i want them to appear!

thanks

Greek76
14 Dec 2007, 14:55
hmm i installed this, and it just seemed too easy.

My banners wont show up! I have three, and i put them in the first three boxes, checked off that i want them enabled, and refreshed my homepage. where are they?

Is there something im supposed to do? Like ad a code to a template or anything??

Ive been looking for something like this, but nothing has worked, so hopefully this will. I just have three different banners that all link to the same place, but they are different banners. They are in GIF file, and i want them to appear!

thanks

Did you add $bannerads in your header?

pcoskat
16 Dec 2007, 02:58
Does this mod work with any banner code? I need it to work with Burst Media. Thanks.

ianskate
20 Dec 2007, 15:52
thanks so much for this!

Gersfan
20 Dec 2007, 16:50
Does this rotate your main site logo image? ...

What code to I use in the boxes? Just HTML?

River_rush
21 Dec 2007, 13:17
hi, installed it and it works great but it doesnt show gifs, is this something i am doing wrong? and it is possible to extend the hack to 20 banners in one form?
thanks again


http://www.anotherfordforum.com

Gez
21 Dec 2007, 13:36
hi, installed it and it works great but it doesnt show gifs, is this something i am doing wrong? and it is possible to extend the hack to 20 banners in one form?
thanks again


http://www.anotherfordforum.com

Great hack, Works like a charm, i have been using it a while now! 20 banners per form would be great, 15 banners in total isnt enough for me :(

CypherSTL
27 Dec 2007, 20:53
As of 3.7 Beta 3 this does work as designed

yuriy
28 Dec 2007, 19:31
this is awesome! THANKS :D

CypherSTL
07 Jan 2008, 01:46
ability to have unlimited banners would be nice, and footer support would be very nice.

ruhl
07 Jan 2008, 17:34
Would anyone be willing to give me some "detailed" instructions on how to install this mod please, new to this sort of thing.

I have the Xml file, but how do I install it? Also where exactly in the footer would I install the code at?

bestmilan
13 Jan 2008, 07:42
Would anyone be willing to give me some "detailed" instructions on how to install this mod please, new to this sort of thing.

I have the Xml file, but how do I install it? Also where exactly in the footer would I install the code at?


Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
Click [Add/Import Product] at the bottom of the page.
2. Browse to the location where you downloaded the xml file and then upload the XML file from your computer/server and click the "Import" button at the bottom of the top box.
3. Go to: AdminCP -> Styles & Templates -> Template Manager
Open your Header, Footer or any template you want and put "$GLOBALS" or "$GLOBALS[banneradstwo]" to desired line.

[b]Footer code placement:
You may insert the code to your Footer template and place it above or below the copyright stuff. It depends on how your footer is set up. But in most cases, you would find the code for the vBulletin copyright...


<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>


... and place it either above or below that.


To set options:
1. Go to: AdminCP > vBulletin Options > vbBannerRotator by Frapegliko
2. Insert your banner codes
3. And then click "Save" at the bottom of the page.

ginnser
18 Jan 2008, 08:57
Hi

I am a newbie!

When it says insert banner code, what does it mean? I have a banner, its a JPEG file and another is a SWF file.

Do I FTP these to the site and then some how reference them through this module?

Any help is appreciated

Regards

keithsan
31 Jan 2008, 01:19
quick problem (I hope)

Header, removed ad code which worked and added $globals.

installed product. In ad spot came the word array in small font (found this odd but who knows)

I then put my add in the same ad in the first banner box, tried both yes and no. and only have the word array


I find this sort of amusing but can't figure out the issue.

anyone? TIA

keithsan
31 Jan 2008, 02:16
I'm an azz, fixed it.

jambo_1969
04 Feb 2008, 18:27
Absolute AWESOME hack...

For everyones info - I put mine in the navbar template...

Top Man !!

3.6.8pl2 working !

nikki712
06 Feb 2008, 19:30
Can someone please tell me how to center the banners beneath the navbar? I cannot get it figured out.

I'd also like to know how to add a banner between the first and 2nd posts of each thread? Anyone know?

jambo_1969
07 Feb 2008, 06:41
Can someone please tell me how to center the banners beneath the navbar? I cannot get it figured out.

I'd also like to know how to add a banner between the first and 2nd posts of each thread? Anyone know?


<p align="center"><a href="http://www.URL" target="_new"><img src="http://www.IMAGEURL.gif" border="0"></a></p>

:)

That's what I do !

piraterevival
10 Feb 2008, 14:20
Hey all,

Got this working OK, great hack by the way.

However, I cannot get it to display in a module, the images display above the Module Title on my page.

Any idea's?

Cheers

Ste

Hache
17 Feb 2008, 22:20
i cannot find where to put the bannerads code!!!

this is what is in my header

<a name="top"></a>
<div id="side_borders_inner">
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="$stylevar[outertablewidth]" class="header_bg" >
<table width="$stylevar[outertablewidth]" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="header_bg"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td class="header_bg"> </td>
</tr>
<tr>
<td height="25" colspan="2" class="sub"> <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px" >
<tr align="center">

sedline
21 Feb 2008, 21:12
THX Man :up:

kansei
22 Feb 2008, 04:10
Anyone else have an issue where sometimes the banners just don't load (white space). I wouldn't care if I used this just for the ad banner top right of the screen, but I started using it for cycling through site logos too.

Right now it's just two logos to cycle through, but sometimes just.. nothing loads. I checked to make sure any empty boxes weren't enabled. Weird!

the site is www.themazdaforum.com if anyone wants to check it out.

edit: Apparently you can't disable the first banner in a set.. works fine now.

zeus_r6
26 Feb 2008, 05:07
Anybody able to get this hack to automatically cycle the banners say every 5 seconds or so?

zeus_r6
27 Feb 2008, 20:12
anybody?

montsa007
29 Feb 2008, 04:10
Nize Installed matey :)

cdi320
01 Apr 2008, 11:02
Thanks FrapeGlyko :)

valdet
15 Apr 2008, 21:02
This is a very nice banner rotator. Thanks friend.

PossumX
28 Apr 2008, 18:21
Any chance this will be updated (or need to be) for 3.7?

NIZMOZ
29 Apr 2008, 16:03
I am a noob to this, but not to plugins. Can someone tell me how to add the pictures for the banners to this program? I got it installed, and I see areas for banner code, but have no clue what to put in there for code.

leginag
06 May 2008, 01:47
This works fine in vb 3.7 gold, and to be honest, is the easiest banner rotator to use that I've found, as I don't need advanced options.

To add pictures, you have to add $bannerads to your templates where you want it to show up. Then you go Admin CP - > vBulletin options -> vbBannerRotator and add the banners there.

Tom_S
06 May 2008, 02:05
Did anyone ever attempt a product-bannerrotator-THREE.xml and product-bannerrotator-FOUR.xml or so on? I know it was mentioned way back in this thread.

Ditto on it working with Gold and being the easiest to work with ever.

PossumX
09 May 2008, 01:28
I expanded the bannerrotator to have 15 on the top and 10 for the bottom. Took a couple of tries to get it right, but I'm good now. I am willing to bet with some work, you could do much with it.

mystic10
19 Jul 2008, 00:31
is their anyway to put multiple ads at the same time

molieman
02 Aug 2008, 15:45
I expanded the bannerrotator to have 15 on the top and 10 for the bottom. Took a couple of tries to get it right, but I'm good now. I am willing to bet with some work, you could do much with it.

How were you able to get 15 banners to rotate rather then 10? Or are you talking about getting $GLOBALS & $GLOBALS[banneradstwo] to work?

ANYWAY, this has been asked many times, seems no one has the answer, but I'm willing to bet Frapegliko knows :) :) :)

[B]PLEASE, ANYBODY, let us know how we can increase $GLOBALS[bannerads] to more then 10 ads, PLEASE??????

USAMustangs.com
04 Aug 2008, 09:34
How were you able to get 15 banners to rotate rather then 10? Or are you talking about getting $GLOBALS & $GLOBALS[banneradstwo] to work?

ANYWAY, this has been asked many times, seems no one has the answer, but I'm willing to bet Frapegliko knows :) :) :)

[B]PLEASE, ANYBODY, let us know how we can increase $GLOBALS[bannerads] to more then 10 ads, PLEASE??????

I too use to use this Add-on. It works great, but is limited to 10 slots.

There is an alternate way to accomplish the same thing with virtually unlimited ad banner slots. I am using a javascript banner rotator script that I got from this (http://www.htmlbasix.com/banner.shtml) site. You make a couple of simple modifications to the code provided from the generator and you can run 15 or 20 banners if you wish. It will also auto rotate the banners and set the interval if you like. You simply take the script (after you've provisioned it with your links) and insert it at the bottom of the navbar template or wherever you wish them to display on your forum.

ORP
22 Aug 2008, 22:10
I've added a new banner and cannot get it to display like the others. I've used the same exact code but this one will only show a small little box, and if I click the little box it does go to the right link.
I've copied the path and posted it in the url and the gil file shows up just fine. Any ideas why it won't work in the banner roation? I'm lost. :confused:

ORP
22 Aug 2008, 22:47
Never mind.
I had the file under my top / public dir instead of under my forums dir. Opps!!!! :bonk:

ArnyVee
14 Sep 2008, 04:52
I have to tell you, this is easy to install and a fantastic mod which has helped me out tremendously!

Thanks! :D

ArnyVee
27 Oct 2008, 19:13
Has anyone edited this actual product for additional banners within the admincp? I know that I can get the javascript code and edit the templates myself. But, it's so much more convenient to do it within the admincp. Anyone have any tips or raising the 10 to 20 at least?

GlamRockTalk
20 Nov 2008, 05:16
This mod ROCKS! :D

Thanks Frapegliko

Peejay
03 Dec 2008, 21:20
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
14 Dec 2008, 22:37
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
16 Dec 2008, 03:51
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
19 Dec 2008, 22:36
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)

<!-- 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
20 Dec 2008, 03:15
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

<!-- content table -->
$spacer_open

$_phpinclude_output

$bannersads

$ad_location[ad_header_end]

HTH

jeremycards
20 Dec 2008, 04:09
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)

<!-- 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/l264/jeremycards/Dibujo-3.jpg

vbplusme
20 Dec 2008, 04:24
<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
20 Dec 2008, 05:12
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://www.vbulletin.org/forum/external/2008/12/50.jpg

jeremycards
20 Dec 2008, 05:24
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
27 Jan 2009, 07:47
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?