PDA

View Full Version : Miscellaneous Hacks - vbBannerRotator


Pages : [1] 2

Frapegliko
10-17-2006, 10:00 PM
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 (https://vborg.vbsupport.ru/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 (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=129418)

Frapegliko
10-18-2006, 07:31 PM
~~~~~~~~~~~~~~~~~~~~

rajuthan
10-18-2006, 07:54 PM
Sick

Snake
10-18-2006, 08:23 PM
Oh my... this is AWESOME!

dieselpowered
10-18-2006, 08:39 PM
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
10-18-2006, 09:22 PM
amazing. Wanted this badly. Thank you.

soletrader
10-18-2006, 09:28 PM
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
10-19-2006, 12:24 AM
Looks great!

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


Uncached templates: bannerbns (1)

rinkrat
10-19-2006, 12:25 AM
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
10-19-2006, 01:32 AM
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
10-19-2006, 03:14 AM
Most ad companies frown on autorefreshing ads.
Ya you are probably right.

VPREATR
10-19-2006, 04:21 AM
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
10-19-2006, 04:28 AM
Really well done. Waiting for some info on how to fix the uncached template tho.

Thanks.

Frapegliko
10-19-2006, 06:46 AM
Looks great!

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

Frapegliko
10-19-2006, 06:54 AM
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
10-19-2006, 07:03 AM
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
10-19-2006, 07:11 AM
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
10-19-2006, 03:08 PM
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
10-19-2006, 05:26 PM
I'm still getting the uncached template after the upgrade.

Uncached templates: bannerbns (1)

VPREATR
10-19-2006, 05:55 PM
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
10-19-2006, 07:13 PM
I'm still getting the uncached template after the upgrade.

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

midirtrider
10-19-2006, 07:21 PM
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
10-19-2006, 07:41 PM
wooooooooooow thats great hack man, thank you verry much...

dieselpowered
10-19-2006, 08:45 PM
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
10-20-2006, 03:42 PM
For some reason this isn't working AT ALL for me.
Edit: fixed it....sorta

project-Buckfas
10-20-2006, 06:47 PM
Looks great. Thanks Frapegliko

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

Frapegliko
10-21-2006, 12:23 PM
New Version available

Virtuosofriend
10-21-2006, 12:38 PM
Awesome work. Sixaritiria ;)

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

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

Category: vbBannerRotator

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

soletrader
10-21-2006, 06:23 PM
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
10-21-2006, 08:47 PM
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
10-21-2006, 08:51 PM
Awesome work. Sixaritiria ;)
Euxaristo :D

Stangsta
10-21-2006, 09:21 PM
any chance on getting this for 3.5.x?

Criticize
10-22-2006, 02:42 AM
Probably works for 3.5.x

soletrader
10-22-2006, 04:45 AM
Thank you Frapegliko :)

soletrader
10-22-2006, 05:49 AM
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
10-22-2006, 06:13 AM
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
10-22-2006, 08:02 PM
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
10-22-2006, 09:34 PM
thats right

Woudlnt that delete banner one?

Greek76
10-22-2006, 11:07 PM
:beard: :smoke:
LOL Im serious I have no clue.

Frapegliko
10-23-2006, 09:46 AM
Woudlnt that delete banner one?
yes, backup your codes

soletrader
10-23-2006, 11:47 AM
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
10-23-2006, 12:12 PM
@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
10-23-2006, 03:05 PM
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
10-23-2006, 09:32 PM
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
10-24-2006, 05:28 AM
wooo000ohoooo! w00t

nice one. :). Installed.

Frapegliko
10-24-2006, 12:33 PM
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
10-24-2006, 12:44 PM
nice. will try it

Luggruff
10-24-2006, 12:53 PM
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
10-24-2006, 01:13 PM
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
10-24-2006, 01:14 PM
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
10-24-2006, 01:27 PM
Done done and done! ;D

Frapegliko
10-24-2006, 01:29 PM
today comes a new version...

Stangsta
10-24-2006, 10:35 PM
today comes a new version...Hopefully a "tweaked" version for 3.5 as well? ;)

principino1984
10-25-2006, 12:01 AM
Great hack man! It works awesome!!!

Marco

hitmanuk2k
10-25-2006, 09:12 AM
I can't get it to show in vbadvanced. Any way to do it?

Frapegliko
10-25-2006, 09:57 PM
do you edited the header template?

jeffro241
10-26-2006, 02:14 AM
does this work with vBulletin Version 3.6.0?

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

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

Luggruff
10-26-2006, 02:19 PM
when do the new version come? You said today, the day before yesterday ;P

Devil Woman
10-26-2006, 09:30 PM
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
10-26-2006, 09:44 PM
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
10-26-2006, 10:10 PM
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
10-26-2006, 10:50 PM
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
10-27-2006, 08:13 PM
you learn something new everyday :) thanks for that its much appreciated :)

moley
10-28-2006, 07:24 PM
Just installed this, done everything you said but its not appearing in my postbit!

Code Monkey
10-29-2006, 05:31 PM
Does this track clicks to different banners?

d1150488
10-29-2006, 07:36 PM
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
10-30-2006, 02:37 AM
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
10-30-2006, 08:00 AM
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
10-30-2006, 08:53 AM
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
10-31-2006, 11:54 AM
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
11-01-2006, 09:47 AM
Anybody out there ?

sunnycher
11-01-2006, 03:45 PM
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
11-02-2006, 04:34 AM
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
11-02-2006, 08:16 AM
Awesome code.

How do I add the banner below the nav bar?

Cheers
FPR

redlabour
11-02-2006, 12:09 PM
Awesome code.

How do I add the banner below the nav bar?

Cheers
FPR

Read the Instructions.... ;)

sunnycher
11-02-2006, 12:18 PM
Thanks, not sure what I'm doing wrong but it's not showing up.

sunnycher
11-02-2006, 12:20 PM
ok now it's showing! Yay! Thank you!!

sunnycher
11-02-2006, 01:11 PM
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
11-02-2006, 01:12 PM
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
11-02-2006, 01:22 PM
Where exactly is this located that I would add that to?

Luggruff
11-02-2006, 01:25 PM
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
11-02-2006, 01:32 PM
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
11-02-2006, 01:40 PM
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
11-02-2006, 02:16 PM
I added that, doesn't look any different to me in FF.

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

Luggruff
11-02-2006, 02:29 PM
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
11-02-2006, 02:38 PM
Ok, got it that time! Thank you!!

gedsta
11-03-2006, 11:16 PM
great hack :)

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

Frapegliko
11-05-2006, 01:25 AM
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
11-05-2006, 01:27 AM
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
11-05-2006, 02:47 PM
what does "Insert your Banner Code "1" means

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

baker011
11-05-2006, 05:07 PM
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
11-05-2006, 08:16 PM
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
11-06-2006, 12:00 AM
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
11-07-2006, 01:01 AM
it`s not showing on my site i dunno why is there sum template modification i ned to so first

Luggruff
11-07-2006, 02:06 AM
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
11-07-2006, 06:25 AM
Perfect! I was going to install phpadsnew... ;) It working perfect :)

voteforbird
11-07-2006, 06:38 PM
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
11-10-2006, 10:42 AM
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
11-10-2006, 11:24 AM
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
11-10-2006, 12:00 PM
thanks for your reply.
but what do u mean by put global in the template?

i am new to vbulletin

please guide me

libertate
11-10-2006, 12:17 PM
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
11-10-2006, 01:00 PM
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
11-10-2006, 08:54 PM
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-11-2006, 05:50 AM
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-11-2006, 11:09 AM
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
11-13-2006, 07:42 AM
just what i was looking for and thank you. clicked install

DDad
11-13-2006, 07:03 PM
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
11-13-2006, 07:22 PM
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
11-13-2006, 07:36 PM
Thank you!! quick too!!

Sjakie
11-15-2006, 10:28 PM
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
11-16-2006, 12:12 PM
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
11-16-2006, 01:14 PM
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
11-16-2006, 01:43 PM
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
11-16-2006, 02:24 PM
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
11-17-2006, 10:07 PM
To Frapegliko :) .. many many thanks for this :up:

lifesourcerec
11-18-2006, 11:29 PM
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
11-19-2006, 12:34 PM
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
11-19-2006, 03:57 PM
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
12-10-2006, 02:07 PM
If this were a sig-banner rotator, I'd be all over it. Cool hack though. :)

redwinger
12-11-2006, 01:57 AM
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
12-11-2006, 05:49 AM
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
12-11-2006, 05:01 PM
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-12-2006, 09:12 PM
This is perfect! Thanks! Clicked install.

SnapOff Racing
12-13-2006, 04:09 AM
will this work with xtremepixels skins?

Luggruff
12-13-2006, 10:45 AM
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
12-23-2006, 06:52 PM
Is there a 3.5 version of this yet?

aerogear2002
12-25-2006, 09:28 AM
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
12-25-2006, 09:26 PM
Thank you.. Working good.. Merry Xmas

aerogear2002
12-25-2006, 10:07 PM
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
12-29-2006, 05:56 AM
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
12-29-2006, 10:23 AM
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
01-05-2007, 08:36 PM
Installed it, one of the few hacks I've been able to get installed correctly...love it!

Marc118
01-06-2007, 10:37 PM
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
01-07-2007, 10:12 PM
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
01-10-2007, 07:00 PM
Anyone?

AndyP
01-10-2007, 09:38 PM
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
01-10-2007, 11:24 PM
exactly what i needed!! installed!~ thank you

Marc118
01-14-2007, 04:44 AM
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
01-15-2007, 03:33 AM
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
01-19-2007, 06:45 PM
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
01-22-2007, 02:25 PM
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
01-30-2007, 06:56 PM
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
02-03-2007, 10:39 AM
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
02-06-2007, 04:41 PM
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
02-09-2007, 01:16 AM
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
02-09-2007, 01:22 AM
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
02-09-2007, 11:02 AM
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
02-09-2007, 01:16 PM
thanks good great the banner

Tom_S
03-14-2007, 09:40 PM
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
03-18-2007, 07:19 AM
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
03-18-2007, 01:55 PM
Oh Frapegliko! Are you there? :rolleyes:

We need you :up:

trigon
03-25-2007, 10:35 AM
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
03-27-2007, 03:15 AM
bump

Panagioths
04-05-2007, 09:29 PM
Thank you very much. Amazing mod

Finster
04-06-2007, 04:03 AM
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
04-07-2007, 07:19 PM
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
04-27-2007, 08:15 PM
do you guys have any screen shots of what this banner looks like installed ?

YabbaDabba
05-03-2007, 08:12 PM
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-05-2007, 06:18 PM
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
05-22-2007, 02:25 AM
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
05-23-2007, 05:33 PM
anyway of getting more banners going say 15 or 20 can someone make updated plugin please??

USAMustangs.com
05-24-2007, 09:46 PM
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
05-31-2007, 12:15 AM
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
05-31-2007, 01:53 PM
We need more banners. Who van make an update please:erm:

Mrdby
06-02-2007, 04:33 PM
any demos????

fpattberg
06-07-2007, 12:08 PM
This hack works perfectly. Thanks.

Fabian

tjudy
06-08-2007, 12:13 AM
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
06-08-2007, 02:41 AM
works nice on Vb 3.6.7PL1 (marked installed)

fpattberg
06-08-2007, 06:10 AM
Hi tjudy.

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

:)

Fabian

bugriders
06-09-2007, 06:55 AM
We need more banners. Who van make an update please:erm:

BUMP please

The Bish
06-09-2007, 11:59 AM
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
06-13-2007, 12:21 AM
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
06-13-2007, 03:51 AM
Installed, and working well. Thanks...

VH Freak
07-22-2007, 12:47 PM
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
07-24-2007, 04:35 AM
I needed something like this, thanks.
Does this work on vb 3.6.7 PL1?

Thanks.

See the previous page of this thread.

SVTCobraLTD
07-24-2007, 01:58 PM
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
07-31-2007, 12:19 PM
installed thanks

anoob
08-20-2007, 06:00 PM
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
08-26-2007, 04:05 PM
Awesome mod, works right out of the box!

ForosAbiertos
08-26-2007, 05:36 PM
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
08-27-2007, 04:43 AM
Very Good Hack

ORP
09-11-2007, 02:07 PM
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
09-11-2007, 06:13 PM
Never mind.


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

FJCCrazy
09-14-2007, 06:15 PM
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
10-15-2007, 10:31 PM
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
10-22-2007, 10:50 AM
Thanks, work 100% on www.adivor.it

adivor
10-22-2007, 12:41 PM
is possible add 10 banner in banneradstwo ?

afmarko99
10-27-2007, 06:54 PM
Ignore this post.

afmarko99
10-27-2007, 07:16 PM
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
11-22-2007, 09:13 AM
Excellent hack. Works perfectly very easy to install and use. Thank you very much.

ryadm
12-04-2007, 07:38 PM
great work, it what i wanted! nominated!

bigraph
12-05-2007, 10:41 PM
Whenver i try to add html it doesnt work, what im putting in
<a href=http://google.com>Google</a>

laserterd
12-11-2007, 08:21 PM
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
12-14-2007, 12:55 PM
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
12-16-2007, 12:58 AM
Does this mod work with any banner code? I need it to work with Burst Media. Thanks.

ianskate
12-20-2007, 01:52 PM
thanks so much for this!

Gersfan
12-20-2007, 02:50 PM
Does this rotate your main site logo image? ...

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

River_rush
12-21-2007, 11:17 AM
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
12-21-2007, 11:36 AM
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
12-27-2007, 06:53 PM
As of 3.7 Beta 3 this does work as designed

yuriy
12-28-2007, 05:31 PM
this is awesome! THANKS :D

CypherSTL
01-06-2008, 11:46 PM
ability to have unlimited banners would be nice, and footer support would be very nice.

ruhl
01-07-2008, 03:34 PM
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
01-13-2008, 05:42 AM
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
01-18-2008, 06:57 AM
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
01-30-2008, 11:19 PM
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
01-31-2008, 12:16 AM
I'm an azz, fixed it.

jambo_1969
02-04-2008, 04:27 PM
Absolute AWESOME hack...

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

Top Man !!

3.6.8pl2 working !

nikki712
02-06-2008, 05:30 PM
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
02-07-2008, 04:41 AM
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
02-10-2008, 12:20 PM
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
02-17-2008, 08:20 PM
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
02-21-2008, 07:12 PM
THX Man :up:

kansei
02-22-2008, 02:10 AM
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
02-26-2008, 03:07 AM
Anybody able to get this hack to automatically cycle the banners say every 5 seconds or so?

zeus_r6
02-27-2008, 06:12 PM
anybody?

montsa007
02-29-2008, 02:10 AM
Nize Installed matey :)

cdi320
04-01-2008, 09:02 AM
Thanks FrapeGlyko :)

valdet
04-15-2008, 07:02 PM
This is a very nice banner rotator. Thanks friend.

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

NIZMOZ
04-29-2008, 02:03 PM
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
05-05-2008, 11:47 PM
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
05-06-2008, 12:05 AM
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
05-08-2008, 11:28 PM
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
07-18-2008, 10:31 PM
is their anyway to put multiple ads at the same time

molieman
08-02-2008, 01:45 PM
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
08-04-2008, 07:34 AM
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
08-22-2008, 08:10 PM
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
08-22-2008, 08:47 PM
Never mind.
I had the file under my top / public dir instead of under my forums dir. Opps!!!! :bonk:

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

Thanks! :D

ArnyVee
10-27-2008, 05:13 PM
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
11-20-2008, 03:16 AM
This mod ROCKS! :D

Thanks Frapegliko

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

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

<!-- 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)

<!-- 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
12-20-2008, 02:24 AM
<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?