PDA

View Full Version : Miscellaneous Hacks - Banner Rotator


andrefedalto
31 Jan 2008, 18:34
DID YOU LIKE THIS MODIFICATION? MAKE A DONATION TO SUPPORT THE CREATOR (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=andrefedalto%40gmail%2ecom&item_name=Banner%20Rotator%20%2d%20Donations&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=BR&bn=PP%2dDonationsBF&charset=UTF%2d8)

New version of http://www.vbulletin.org/forum/showthread.php?t=133954, compliant with vB 3.7 and with new features!!!

So, what does this hack do?
- This mod allows you to add lots of forum banners.
- The banners will be randomly showed everytime you reload your forums.

How can i work with it?
- It's all controlable through AdminCP.
- NOT NEEDED ftp access to upload banners.
- You CAN upload banners (jpg, gif & png) through AdminCP.
- You can upload flash (SWF) banners!
- You can set a description for individual banners.
- You can set size (width & height) for each banner individually
- You can edit the description easily and individually.
- You can delete the banners through AdminCP (this function delete the banner from the ftp)
- You can enable/disable you banners.
- Disabled banners remains in the ftp, but will not be shown on forum home.
- NEW: You can set different URLs for each banner!
- NEW: You can select the forums you want the banner to appear!!! (with inherit option)
- NEW: Mass delete banners is now possible.
- NEW: You can set default values for new banners on vBulletion Options

How can i install? (Time to install: 1 minute if you are fast enough )
- Unzip the package and upload the content of the "upload" folder to your forum directory.
- Install product-brotator.xml
- Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find:
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
replace it to:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>
- Refresh your admincp index and Banner Rotator menu should appear!

The improvements over the last version werent tested a lot, so please report any bugs you find!

Thanks!

SUPPORT GIVEN ONLY FOR WHO CLICKED "INSTALL"

UPGRADE IS NOT AVAILABLE, SO YOU NEED TO UNINSTALL THE OLD VERSION AND INSTALL THIS ONE

DID YOU LIKE THIS MODIFICATION? MAKE A DONATION TO SUPPORT THE CREATOR (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=andrefedalto%40gmail%2ecom&item_name=Banner%20Rotator%20%2d%20Donations&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=BR&bn=PP%2dDonationsBF&charset=UTF%2d8)

nyqnzguju
31 Jan 2008, 19:14
installed & nominated will give it a shot soon

Thanks

gwerzal
31 Jan 2008, 19:23
Thanks gonna give it a go now

Can you add different banners to each seperate forum with this.

valdet
31 Jan 2008, 19:30
Installed and will give it a shot soon. Thanks

socalrico
31 Jan 2008, 19:41
Ok I tried to upgrade from the previous version and got SQL DB errors, crashed the whole site. So next I unistalled and reinstalled brotator. OK so far,

I went to upload the first banner, and I got "There was an error while moving your file. Please retry."

I then ftp to check if maybe the old banners are still in the banners folder. They are so I delete them and try again. I still get "There was an error while moving your file. Please retry."

Um? where do I go from here?

socalrico
31 Jan 2008, 19:55
Duh!!!!! I figured out why the images weren't uploading. (image directory)
yours is images/brotator min is images/banner
Now I got to figure out why the banners aren't linking.

andrefedalto
31 Jan 2008, 20:43
Duh!!!!! I figured out why the images weren't uploading. (image directory)
yours is images/brotator min is images/banner
Now I got to figure out why the banners aren't linking.

Hey, i renamed the folder/table to "brotator", so they have the same name as the php file :)

socalrico
31 Jan 2008, 21:22
Alright I got mine fixed. I had to remove some old code from the header and add the new code listed above.

Great Mod!!!!! Thanks for the ad links!!!!

iogames
31 Jan 2008, 21:54
Wow! great! Thanks!

gbox master
31 Jan 2008, 23:51
can some one confirm that this one works with 3.6.8 pl2
and no conflicts with other mods

andrefedalto
01 Feb 2008, 03:30
can some one confirm that this one works with 3.6.8 pl2
and no conflicts with other mods

as far as i tested, it works with 3.6.8 pl2... i dont know about conflicts because i dont have all mods installed, but conflict shouldnt be a problem

GsmHelp
01 Feb 2008, 07:36
first need to uninstal old version if not have data base error,in rest work ok

webspider
01 Feb 2008, 16:07
I like this mod very much. Many Thanks!!

I have one suggestion. It would be nice to be able instead of uploading each banner that we could link to an external banner.

Cheers

gforce75
02 Feb 2008, 10:18
A new one? I've been using ur old one and that still rocks. If you need to see a demo, check out http://myffnet.com and hit refresh. I have 3 that work great :p

Stile2
02 Feb 2008, 17:36
I have installed and the banner shows up, and the link works.

But I would like to keep my forum's name in the header as well as the new banner.
So I put the code in after the code to put my forum name(banner) in. Problem is that the new banner shows up below my name banner and centered.

How would I get them to show up next to each other?

http://www.iemas.us

Right now I am just using the same image twice, for testing.

Thanks
Keith

PS I tried to just make my name banner simply include the as banner, but then I can't have my name banner link to my forums, and the ad link to the vendor.

Help Please.

andrefedalto
02 Feb 2008, 22:32
I have installed and the banner shows up, and the link works.

But I would like to keep my forum's name in the header as well as the new banner.
So I put the code in after the code to put my forum name(banner) in. Problem is that the new banner shows up below my name banner and centered.

How would I get them to show up next to each other?

http://www.iemas.us

Right now I am just using the same image twice, for testing.

Thanks
Keith

PS I tried to just make my name banner simply include the as banner, but then I can't have my name banner link to my forums, and the ad link to the vendor.

Help Please.

Hey there, the modification was centering the banner by default. I removed the center tags from the code and added them to the template. So now you gotta download the zip file again from here (i updated it) and reinstall de product. And when replacing/adding the code to your header template, be sure to remove the "<center>" and "</center>" tags from it.

Hope it works!

River_rush
02 Feb 2008, 23:51
Hi, I am getting he selected file type is not allowed. image/gif when uploading err gifs, help!

Site url http://anotherfordforum.com/forums/index.php

andrefedalto
03 Feb 2008, 01:06
Hi, I am getting he selected file type is not allowed. image/gif when uploading err gifs, help!

Site url http://anotherfordforum.com/forums/index.php

Go to your AdminCP > vBulletin Options > Banner Rotator

There will be a field for allowed file types, just add "image/gif" there (dont forget the comma).

gforce75
03 Feb 2008, 01:18
Well, the centered is most likely to the banner being between a centered tag. Check your html code, i.e. HEADER - if t hat's where it's at. I use dreamweaver to easily see my vb layouts and will spot all these simple errors.

River_rush
03 Feb 2008, 01:22
Go to your AdminCP > vBulletin Options > Banner Rotator

There will be a field for allowed file types, just add "image/gif" there (dont forget the comma).

Your a star, I now confirm this banner rotator to be the current top of its class :) working with 3.6.8 patch 3 btw :)

Stile2
03 Feb 2008, 07:54
Works Perfectly!! thanks

CypherSTL
03 Feb 2008, 10:39
What if you dont have the code in your header?

- Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find:
Code:
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
replace it to:
Code:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

My Header does not contain the code to look for, so not sure what to replace.

andrefedalto
03 Feb 2008, 10:58
What if you dont have the code in your header?

- Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find:
Code:
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
replace it to:
Code:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

My Header does not contain the code to look for, so not sure what to replace.

You have to find the code for your current header logo, and replace it with the code from brotator.

Reecey
03 Feb 2008, 11:22
i try to add image and get this error :

Warning: move_uploaded_file(./images/banners/jobs.gif) [function.move-uploaded-file]: failed to open stream: No such file or directory in /admincp/brotator.php on line 62

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpDGSgso' to './images/banners/jobs.gif' in /admincp/brotator.php on line 62

pow6713
03 Feb 2008, 12:24
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner $banner</a></center>I add a " $banner " to header and it still works...

And is it possible to locate more than one banner ...

2 or more lines and 2 - 4 - 6 banners and we are going to have more banners on our forums ...

and maybe we can add google addsense ... :D

is it possible ?

andrefedalto
03 Feb 2008, 12:32
i try to add image and get this error :

Warning: move_uploaded_file(./images/banners/jobs.gif) [function.move-uploaded-file]: failed to open stream: No such file or directory in /admincp/brotator.php on line 62

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpDGSgso' to './images/banners/jobs.gif' in /admincp/brotator.php on line 62

be sure you have a folder called "banners" inside your forum images folder.

<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner $banner</a></center>I add a " $banner " to header and it still works...

And is it possible to locate more than one banner ...

2 or more lines and 2 - 4 - 6 banners and we are going to have more banners on our forums ...

and maybe we can add google addsense ... :D

is it possible ?

If you add just $banner you will miss the linking function :)
You can put the banner anywhere you want, but it'll show the same banner in all places, to change u gotta refresh the page. Maybe with a little tweak you can add the option to get more then one banner from the database.

No, google adsense is not supported :(

Reecey
03 Feb 2008, 14:43
yeh it is but it dont work still :(

Stile2
03 Feb 2008, 17:32
This is how I added banners to my forum. Works great!! I ended up with my original header with an ad banner right next to it. Both are centered, and both are links to separate sites. My original header links to my forum home page and the ad banner links to page that I told it to when I added the banner. Hope that makes sense.

<td align="$stylevar[left]"><center><a href="http://www.iemas.us/index.php"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>
</td>

BTW, I really like how I can tell the banner which forums to show up in.
Good job on this mod.

Thanks
Keith

andrefedalto
04 Feb 2008, 00:26
yeh it is but it dont work still :(

Please try uninstalling the entire modification and reinstalling from the beggining. If that doesnt work, please provide more information, like server configuration.

uReside.com
04 Feb 2008, 17:45
I'm getting the error 65 error

Warning: move_uploaded_file(./images/brotator/templogo1.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /admincp/brotator.php on line 65

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phppPu2IT' to './images/brotator/templogo1.jpg' in /admincp/brotator.php on line 65

I needed to change permissions on the folder.

andrefedalto
04 Feb 2008, 21:03
I'm getting the error 65 error

Warning: move_uploaded_file(./images/brotator/templogo1.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /admincp/brotator.php on line 65

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phppPu2IT' to './images/brotator/templogo1.jpg' in /admincp/brotator.php on line 65

I needed to change permissions on the folder.

change permissions on "brotator" folder to 0777 (chmod 777 it)

superthang
19 Feb 2008, 00:33
Please consider adding support for raw html so we can put google adsense or cpx ..

also, banner id? so we can add more than 1 unique banner to the forums?

start with banner1 banner2 and banner3 ?

thanks!

iow_bg
22 Feb 2008, 04:54
When trying to add banners... I keep getting this message.

I am uploading a file named "banner.jpg"

The selected file type is not allowed. image/pjpeg

Please help...

Gersfan
27 Feb 2008, 13:03
Is this safe to use in VB 3.6.8 ? ... Is it still causing problems in that version..

Just wondering since it's still in Beta.

Mrquarter
27 Feb 2008, 15:00
I keep getting this MySQL error:


Database error in vBulletin 3.7.0 Beta 4:

Invalid SQL:
INSERT INTO banners (bid, name, width, height, alt, flash, active) VALUES ('', 'quarterx1.gif', '800', '120', 'QuarterX', '0', '1');

MySQL Error : Table '6241_forum.banners' doesn't exist
Error Number : 1146
Date : Wednesday, February 27th 2008 @ 02:59:45 PM
Script : http://www.quarterx.org/forums/admincp/brotator.php?do=add
Referrer : http://www.quarterx.org/forums/admincp/brotator.php?do=add
IP Address : xxx.xxx.xxx.xxx
Username : Tyler
Classname : vB_Database
MySQL Version : 5.0.45

Mrquarter
27 Feb 2008, 16:44
Can anybody help me?

Zekeman
01 Mar 2008, 02:03
When trying to add banners... I keep getting this message.

I am uploading a file named "banner.jpg"

The selected file type is not allowed. image/pjpeg

Please help...


Me too!

7lanet
01 Mar 2008, 02:15
thanks

cagbaazee
20 Mar 2008, 07:34
i hv install , every one is okay, but i didnot see where are the banner. do someone explain it. Thanks

cagbaazee
20 Mar 2008, 07:35
Me too!

Go to your AdminCP > vBulletin Options > Banner Rotator

There will be a field for allowed file types, just add "image/pjpeg" there (dont forget the comma).

cagbaazee
20 Mar 2008, 08:58
I hv install and everything is working fine but one problem is time, how to make it appear after 30 sec or so. do any one know about it.

Satoshikai
22 Mar 2008, 02:11
ok ok. I just installed it on my vB 3.6.8 works great, no problems. But I do want to know something real quick.

I want the banner (when clicked on) to take you to the forum index BUT NOT open a new tab or window. I want it in the same page. What should I do for that and is it possible?

uReside.com
01 Apr 2008, 18:55
Go to your AdminCP > vBulletin Options > Banner Rotator

There will be a field for allowed file types, just add "image/pjpeg" there (dont forget the comma).


The selected file type is not allowed. image/x-png

I know |png| and |images/png| is in there am i missing something trying to upload a .png file.

ginnser
02 Apr 2008, 17:13
great mod

Just like another user I want my forum logo on the left and then the banners on the same line but centered

here is my 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 href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a>
</td>
</tr>
</table>
<!-- /logo -->

can anyone suggest where i need to alter the code?

have a look at it at the moment, you can see the logo and banner are both on the left !

www.dbplaza.hk

Thanks

Britmovie
04 Apr 2008, 21:59
The selected file type is not allowed. image/x-png

get the above rel error message when i try to up png, jpg, gif banners? using betaPowered by vBulletin® Version 3.7.0 Beta 5?

Chevy II
07 Apr 2008, 22:40
Installed and works great, for me... However, I have one user that says that none of the banners are being displayed... Only a blank area, has anyone else heard a user with this issue?

Thanks!

veb
16 Apr 2008, 12:07
that's probably because they have something that disables banners and stuff... thinks they are adware.

I'm atm trying to get this to work on 3.6.7

EDIT: Works great! Thanks man, keep up the good work :) *hits install*
EDIT: I have a suggestion, a counter to keep track of how many times a banner has been clicked, and is displayed in the EDIT screen in the Admin control panel?

atlambros83
18 Apr 2008, 10:54
marked as installed and nominated. works great for me on 3.6.8 pl2. thanks!


.....is there any way to change it so that when the banner is clicked it doesn't open a new window and just refreshes to the forum index? (im using it to display different styles of forum banners on my page rather than for advertisements)

veb
19 Apr 2008, 04:55
marked as installed and nominated. works great for me on 3.6.8 pl2. thanks!


.....is there any way to change it so that when the banner is clicked it doesn't open a new window and just refreshes to the forum index? (im using it to display different styles of forum banners on my page rather than for advertisements)

Edit the style. :)

From:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

To:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>">$banner</a></center>

(Notice I took away the "Target" part?)

tmiland
19 Apr 2008, 09:19
Hi all, i need some help, i wanted to show the banners below the navbar, with a border around it like this:

<!-- banner -->
<if condition="$ban">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<div align="left"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></div>
</td>
</tr>
</table>
<br />
</if>
<!-- / banner -->So, what i need to know is what to add to the if condition
to make the border not show when the banner isnt showing: if condition="whatdoiputhere"

Hope you know what i mean :D

*edit*
i figured it out! if condition="$ban" :D

baymortgage99
20 Apr 2008, 07:21
Ive been looking for a hack that allowed me to have a rotating banner

Excellent !

Britmovie
20 Apr 2008, 14:50
There will be a field for allowed file types, just add "image/gif" there (dont forget the comma).
This was the reason why i was unable to upload the files.

I have put image/png and now I can upload pings, but when i added gif as in 'image/png,gif' I could not upload gifs. I also tried image/png,image/gif so what format should it be.

macc
20 Apr 2008, 18:01
Hello!

in IE 7 is ok but in Firefox banners is not in center , much outside - right side !

some help ?

reg

macc

atlambros83
20 Apr 2008, 18:05
Edit the style. :)

From:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

To:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>">$banner</a></center>

(Notice I took away the "Target" part?)

ahhh....much better. thank you. :)

yaoren
27 Apr 2008, 19:28
I uploaded a banner but couldn't see the image on my actual forum. Also is there any way to have it so you can upload a banner to a particular skin?

cerbdawg
28 Apr 2008, 05:38
I've installed this on my testing server (using 3.6.8) and it works according to spec (so far).

My question!

Is there a way to make this banner function "only" on the forumhome?

Rather than using this as the site banner, I am using it as a "Sponsors" banner Ad Manager.

Any thoughts?
------------------------------------------------------------
Ignore this post. I came up with my own very ghetto solution (encapsulated the header modification in an If statement to check the forumid).

Still, if anyone gets a more elegant solution - I'm all ears!

old7888
30 Apr 2008, 04:27
Everything is installed properly but I do not see a banner, I have v3.7
Is there something I am missing?

karrerax
04 May 2008, 22:03
Clicks INstall

This pluguins is wonderful!! Thanks

DawnsWebDesigns
05 May 2008, 02:20
This is how I added banners to my forum. Works great!! I ended up with my original header with an ad banner right next to it. Both are centered, and both are links to separate sites. My original header links to my forum home page and the ad banner links to page that I told it to when I added the banner. Hope that makes sense.

<td align="$stylevar[left]"><center><a href="http://www.iemas.us/index.php"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>
</td>

BTW, I really like how I can tell the banner which forums to show up in.
Good job on this mod.

Thanks
Keith

Thanks for this. But with the default theme the logo's centered left. How can I get the banners to go right? Or if I simply lose the logo how could I add some space between the banners & the top of the forum?

Also with my main theme the headers left. How do I add space between it & the banners to make them go right. http://x.dawnswebdesigns.com if you want to see what I'm talking about.

Thanks for any help.

Also to be helpful to others the creator of this mod may want to add to the instructions: create a folder under images called brotator & chmod it to 777. And although the settings have added pnglgifletc. you must add image/ before every single one before they'll work. And since it already has image/jpeg you'll have to delete one else have 2.

Otherwise thanks very much. I've been looking for this a while...glad I finally found it. ;)

wickedstangs
06 May 2008, 06:45
very nice mod..

fourat
06 May 2008, 09:43
thank you nominated
can you show me an example ?
can i use the banner rotator in any zone i select it like Navbar or Forumdisplay ?

stonner
06 May 2008, 10:32
Is it also possible to add different codes of afflinate-partners, or adsense etc.?

maclean_cherry
06 May 2008, 13:04
Installed into VB 3.7 and received this error

Database error in vBulletin 3.7.0:

Invalid SQL:

SELECT force_read_thread.force_read_threadid AS threadid
FROM force_read_thread AS force_read_thread
LEFT JOIN force_read_read AS force_read_read ON (force_read_thread.force_read_threadid = force_read_read.force_read_threadid AND force_read_read.force_read_userid = '1')
WHERE force_read_read.force_read_userid IS NULL
AND force_read_thread.force_read_usergroupid IN (0,6)
AND (force_read_thread.expire_date = 0 OR force_read_thread.expire_date > '1210075108')
AND
(
force_read_thread.force_read_forumid IN ()
OR force_read_thread.force_read_forumid = 0 AND (force_read_thread.force_read_location = 0 OR force_read_thread.force_read_location & 64)
);

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
OR force_read_thread.force_read_forumid = 0 AND (force_read_thread.forc' at line 9
Error Number : 1064
Request Date : Tuesday, May 6th 2008 @ 09:58:28 PM
Error Date : Tuesday, May 6th 2008 @ 09:58:28 PM
Script : http://www.canberracruises.com/forum/
Referrer :
IP Address : 59.167.45.38
Username : maclean_cherry
Classname : vB_Database
MySQL Version : 4.1.22-standard-log

zatzy
06 May 2008, 17:28
Nice and useful mod. What I wish for is to see how many times each banner has been showed and clicked and to be able to set at time between when the banner is to be shown.

That would make the hack excellent :)

CoryHawk
08 May 2008, 06:36
Can anyone assist?

When I updated to 3.7 gold I had to update my style like everyone else.

Now my issues is the banner is not where is used to be.

The rotation works... however I can't get it to the right spot.

You will notice it is off as it should be right beside the user info/login box and indented from the left about 5 spaces. http://forums.prisonofficer.org/


Anyone help me narrow down how to get it back it its correct spot?

CoryHawk
09 May 2008, 02:10
Anyone? Been fooling with it all day.. still stumpped.

mikkitine
10 May 2008, 20:49
Seriously? Are there any instructions to operate this mod?

animate
11 May 2008, 11:55
if i define a other url for each banner it does not work, it linked always to forumhome,(forum.php) and i need it for index.php , i have changed the style to the defined line on the description.

have anyone the same problem?

thanks

animate
11 May 2008, 15:52
ok problem was SEO that has overwrite the a href tag to standard forum.php

Scooterpig
15 May 2008, 06:52
Good mod but need to know how to get banner over to right and also if we can have how many times banner been clicked please.

Shill360
15 May 2008, 09:14
After messing around I have worked out how to put the banner on the right on the same line as the site logo.

Here is the 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]"></td> <td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a>
</td>
</tr>
</table>
<!-- /logo -->

Hornstar
15 May 2008, 09:58
Is it possible to add multiple banners, and have only certain banners show in certain skins?

eg, I add 10 banners. in skin 1. they all show randomly, in skin 2. only 2 of them will be shown randomly, and in skin 3. only 1 banner will be shown.

This would be really useful :)

Thanks.

Skyrider
29 May 2008, 12:28
I'm having problems with this addon/plugin. The "forum selection" is not working properly. I've set a banner to show in a specific section, and when I go there it doesn't change at all. If I go to a thread of specific sub-section of the forums, then it changes. Can you update / fix this please?

Finster
31 May 2008, 06:27
There are provisions for putting in the url destination to the banner the banners do not hyperlink so clicking on it goes nowhere.

The previous version worked fine.

Resolution?

TaBsiCore
01 Jun 2008, 20:39
Is it possible to add multiple banners, and have only certain banners show in certain skins?

eg, I add 10 banners. in skin 1. they all show randomly, in skin 2. only 2 of them will be shown randomly, and in skin 3. only 1 banner will be shown.

This would be really useful :)

Thanks.

I'm looking for the same feature. It would be great if you could add it to this product.

RobParker
02 Jun 2008, 10:48
I need to add some style information to the banner code

I need to add

style="float:left;margin-top:15px;"


to the IMG tag for the banner. Is there an easy way to do this?

Gersfan
02 Jun 2008, 19:30
When i click the banner it opens a new window/tab rather than _blank..how do i set this?

Thanks,

baker011
03 Jun 2008, 14:42
I have installed this mod and marked as installed, so firstly thanks for that! However, as more of a feature request I would love to be able to track how many clicks each banner has received as we need to report on how successful a particular campaign has been. Do you have any plans to include stat tracking in future versions?

Finster
03 Jun 2008, 21:09
Well, the banners still don't hyperlink. Do they hyperlink for you guys? The old banner rotator hyperlinked just fine, although it is easier in this mod to post the url destination of where one is to be taken if one clicks on the link, but if it doesn't take anyone anywhere, it would be nice if this intended feature actually worked.

HP10T
05 Jun 2008, 20:37
I can't locate <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>

in my header template file :(

dannykilla
09 Jun 2008, 17:25
could this work with ads ?

Finster
10 Jun 2008, 15:11
The coder was last here 3 months ago, so it looks like we're on our own.

For me the banners don't even hyperlink anywhere. Anyone know how to fix this?

MalluCastle
11 Jun 2008, 18:56
Mine is working in firefox but not in IE..anyone facing the same problem...is there any solution
for it

RobParker
11 Jun 2008, 19:06
I need to add some style information to the banner code

I need to add

style="float:left;margin-top:15px;"


to the IMG tag for the banner. Is there an easy way to do this?

Anyone any idea about this?

wreckless
15 Jun 2008, 22:58
Great mod but banners will not upload using IE.. It thinks the image format is not jpg, gif or png even when it is.. Works fine with Firefox..

fourat
17 Jun 2008, 02:06
if i want to put the banners in another place ... not header
what i do ?

Tapage
19 Jun 2008, 00:36
I've been reading this a lot today .. and I'm ready to do the funny things ..

Just wanna make sure not trash all ..

I have this in my header ..

<td width="43" height="29"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img id="nav_home" src="$stylevar[imgdir_misc]/nav_home.gif" width="43" height="29" border="0" alt="" /></a></td>

That's looks a little diferent that the code you place to replace here ..

do it any case .. ?

Thanks !

Tapage
19 Jun 2008, 01:17
Just one more question .. I'm seen in the Settings Group the Banner Rotation group .. but where other place I need to seach to start uploading banners .. ?

Supose to appear in my side bar Cpanel ?

thanks !

Tapage
19 Jun 2008, 01:45
I've been reading this thread and the other one with the first version .. enable and disable the product several times and still can't see it in my side bar ..

Something simple that I need to perform to it appears ?

Tapage
19 Jun 2008, 18:34
My bad and post here that I made a mistake uploading a file .. ( seems that I'm learing little bit more about how function the forum ) ..

Now I get this message ..

" Sorry, but there is already a file with that name. Rename and retry. "

Tapage
19 Jun 2008, 18:42
My bad and post here that I made a mistake uploading a file .. ( seems that I'm learing little bit more about how function the forum ) ..

Now I get this message ..

" Sorry, but there is already a file with that name. Rename and retry. "

Edit on it ..

Was a img in the brotator file in the server that have the same name as the img that I was triying to upload ..

Doh !

wreckless
20 Jun 2008, 18:00
This is a great mod, thanks!

I am already running this as my forum header but can it be used in other places as a banner ad rotator? Say between sections on the main forum?

Tapage
20 Jun 2008, 18:26
This is a great mod, thanks!

I am already running this as my forum header but can it be used in other places as a banner ad rotator? Say between sections on the main forum?

I use it in my nav bar .. but how much dificult ( things to edit ) would be use it in the header at top right corner ?

wreckless
26 Jun 2008, 03:46
I am trying to put it between forums, not sure if it is possible. I also have it installed as the main banner. Here is the thread..

http://www.vbulletin.org/forum/showthread.php?p=1559089#post1559089

tru1
28 Jun 2008, 08:26
When I upload flash banners, they are not aligned in the center, they are aligned to the left. How can I fix this?

Also, the links to the flash banners do not work. When I try to manually add the link to the banner, it goes to http://myurl.com<domain added>

How can i make it so that the swf banner goes to a desired link?

wwolf27
28 Jun 2008, 21:25
I am having trouble with people seeing what is in the banner some see it as they are suppose to and some are just seeing a white box. Thanks for the help in advance!

rajosing
03 Jul 2008, 10:13
Nice . Work ........ But i have 1 problem with URL Link : my forum link is ( www.desikaraokeshop.com ) when i load banner and type there my other site URL Link LIke (www.desikaraokeshop.net ) also Try Like (desikaraokeshop.net) this not work when i click on banner i got this error ...........http://www.desikaraokeshop.com/www.desikaraokeshop.net...................... Not Found ......... please explain me about this thanks

mdonnelson
03 Jul 2008, 23:10
I keep getting "The selected file type is not allowed." anyone seen this? I've tried png and gif...

hpmustangs
05 Jul 2008, 02:49
did nothing but got ride of my logo ..

not working at all .. I upload the files and edit the header .. and I loss my logo now.. and nothing change in the admincp area ..

also your install info. say .. "Install product-brotator.xml" what do that mean?

copy the file to some the forum? if so what folder? and I am talking only about

"Install product-brotator.xml"

the other files are in the right place ..

anyways I loss my logo after editing the header file, and I don't see any way to mng .. banners

hpmustangs
05 Jul 2008, 03:01
well .. I had to "import" the product-brotator.xml file .. IMO you should .. not assume anyone know what " Install product-brotator.xml" meant .. you should take the time and write the steps needed to do a proper install .. e.g. go to admincp/plugins & products/Manage Products/[Add/Import Product] then click .. browse and load product-brotator.xml

takes only a few sec. to write that done ... for ppl new to vB ..

anyways my logo is still gone .. how to I put back my logo? I was using the default vB logo file name..

hpmustangs
05 Jul 2008, 03:15
omg and its not even working ..


so I try to add a banner and I get this error

The selected file type is not allowed. image/gif


so what gives? even made the folders image and gif .. wtf!!

hpmustangs
05 Jul 2008, 03:34
Go to your AdminCP > vBulletin Options > Banner Rotator

There will be a field for allowed file types, just add "image/gif" there (dont forget the comma).

I looked at that and all the ext. was in there .. separated with a | ... not a ","

Extensions accepted for upload (separated by |) jpeg|jpg|png|bmp|gif|image/jpeg|application/x-shockwave-flash

I am running vB 3.7.2

hpmustangs
05 Jul 2008, 03:45
well I got it working .. by adding "image/gif|" to the line up.. even tho you had "gif|" in the ext. box ..

well my website logo is still gone .. you should make a NOTE of that to everyone doing thing install that is using the "vbulletin3_logo_white.gif" for thir logo..

Antwerp
10 Jul 2008, 18:01
Fix to that is simple

Undo the Template Modifcations Above.

Now, goto the bottom of the "Header" Template and add the second line;
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

This will add the banner below your Forum Logo.

I opted to have my banners left justified, so I'm using <left> rather than <center>

:)

Antwerp
10 Jul 2008, 18:24
PS, Thanks for the Mod.

Needed a little tweaking, but it's exactly what I was looking for.

:up:

ArnyVee
10 Jul 2008, 21:08
Does this do all of my banners constantly rotating while the screen is up? Or, is it a new banner on every page refresh?

napy8gen
11 Jul 2008, 06:09
Warning: move_uploaded_file(/images/brotator/banner1.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/admincp/brotator.php on line 65

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpzWfRmL' to '/images/brotator/banner1.jpg' in [path]/admincp/brotator.php on line 65

get this error when uploading a .jpg file

thecricketzone
11 Jul 2008, 10:35
well i have installed this but it doesnt seem to do anything at all...even when i copy a banner to the file location or try uploading it through ACP. it doesnt work. I am on VB 3.7.2 - I would have thought it would be OK since its only a couple of patches up form the one supported in the intro?!

Gersfan
12 Jul 2008, 12:13
It seems to be on my style that on the right hand side there is a space and the banner is not fitting the tthe header where it should as it's a fixed table.

There is the space on the right hand side ..werid..
h**p://gersfans.co.uk/Forum/index.php

pitzerwm
19 Jul 2008, 00:09
I need a little more in depth product, would you be interested on adding some features for a fee?

jkcerda
19 Jul 2008, 05:44
how can you ad two banners?
one on top of the other on the right?

jkcerda
19 Jul 2008, 06:18
I got mine working, but it shows the same 2 banners on the right side by side:mad:.

I need both on the right, but on on top and one on the bottom.
here is my code.
for single banners.

fixed 1 logo only

<!-- 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]"></td> <td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a>
</td>
</tr>
</table>
<!-- /logo -->



for 2 banners as described.

2 logos on right.
<!-- 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]"></td><td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a>
</td> <td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a>
</td>
</tr>
</table>
<!-- /logo -->

any Help to get the second logo below the other one would be appreciated, and for those of you that have had issues, if you go back & READ thru the post, youll find your answers there, i came back a few times & read the post to get mine going, its amazing how many times the same problem was described, hope this helps some of you and I hope someone helps me out.
.
thanks.

jtraub
25 Jul 2008, 13:38
I have uploaded cpnav_brotator.xml in includes/xml, brotator.php in admincp, created a brotator folder with 777 permissions in the forum/images dir. I then added images/ to all extension types in settings and then replaced code in header template. I loaded a .jpg file in the forum/images/brotator dir and it still shows no banner.

Am I missing something? TIA

Jim

jkcerda
25 Jul 2008, 17:09
I have uploaded cpnav_brotator.xml in includes/xml, brotator.php in admincp, created a brotator folder with 777 permissions in the forum/images dir. I then added images/ to all extension types in settings and then replaced code in header template. I loaded a .jpg file in the forum/images/brotator dir and it still shows no banner.

Am I missing something? TIA

Jim

are you getting an eror message?
you may need to add a , after jpeg.

jtraub
25 Jul 2008, 17:57
No errors just no banners. A comma? Where does it go? Sorry.

Thanks

jtraub
26 Jul 2008, 04:40
So my problem was simply not being able to "Refresh your admincp index ". I loaded VBULL Admin and now see the control panel for adding, editing and deleting banners. The refresh must have happened overnight (server maint.?)

So how do you Refresh your admincp index?

szpectre
27 Jul 2008, 03:17
I have been using your rotator for a while now and have never had a problem with it. I think it works great. Thank you.

RrCoX22
02 Aug 2008, 07:33
why won't it upload my .gif file?

i get this message:

The selected file type is not allowed. image/gif

EDIT: nevermind, i edited the accepted extensions :D

RrCoX22
02 Aug 2008, 09:46
i have this mod placed in two different area on my forum, one below the navbar and the other in the footer of my template.

is there any way to not have the same ad in both places or will this always be the case? I have several different sponsors/advertisers and would like it to be setup where it may not always be the same ad in both places.

is there something i can edit with this code?

<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

Nuguru
10 Aug 2008, 20:08
Hello,

Great looking mod!

I was wondering if this will work on the vBadvanced CMPS page as well?

And what do I need to do to make it also work on that page?

Thank You

PHILIPS-08
11 Aug 2008, 21:09
thanx alot for this

RrCoX22
12 Aug 2008, 19:08
i have this mod placed in two different area on my forum, one below the navbar and the other in the footer of my template.

is there any way to not have the same ad in both places or will this always be the case? I have several different sponsors/advertisers and would like it to be setup where it may not always be the same ad in both places.

is there something i can edit with this code?

<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

any word on this? help?

michael5472
26 Aug 2008, 18:14
I am trying to upload a .gif image and get this error
The selected filename contains prohibited chars. Rename it and retry.

But when i upload a .jpg it works fine can anyone shed some light ?

michael5472
26 Aug 2008, 18:16
ok just changed the filename to banner.gif now i get this

The selected file type is not allowed. image/gif

RrCoX22
26 Aug 2008, 21:59
ok just changed the filename to banner.gif now i get this

The selected file type is not allowed. image/gif

you need to go to vb Options > Banner Rotator > Extentions > Add image/gif

michael5472
27 Aug 2008, 18:12
brill that worked great :)

Volvoholic
28 Aug 2008, 19:39
Hi,

I installed the mod and it worked initially. I could see the .swf file in both the forum and in the banner rotater manager (edit banner).

For some reason I cannot see the .swf image in the forum or the image in rotating banner manager anymore.

I do not know what I have done in Vbulletin to cause this. The last edit I made was to the header template but that should not cause the .swf file not to show up in the 'edit banner' manager.

I have disabled my firewall and also used my Mac but still the .swf image is not showing up when it originally did.

I would really appreciate it if someone could come up with an idea.

Cheers
Volvoholic

struff
28 Aug 2008, 23:16
well .. I had to "import" the product-brotator.xml file .. IMO you should .. not assume anyone know what " Install product-brotator.xml" meant .. you should take the time and write the steps needed to do a proper install .. e.g. go to admincp/plugins & products/Manage Products/[Add/Import Product] then click .. browse and load product-brotator.xml

takes only a few sec. to write that done ... for ppl new to vB ..


THANK YOU! I had no idea what he meant and I just read through every page of this thread trying to find out.

TheWhite
05 Sep 2008, 06:03
Can an automatic rotate feature be added?

PS. Flash banners are showing on the left.

Regards

TheWhite
05 Sep 2008, 18:20
Can the banners be rotated automatically?

acast
08 Sep 2008, 03:42
Hi, i have the enlighten style, this is the code in the CSS (the logo is there, not in header):

/* ***** SETS LOGO AREA FOUND IN HEADER AND ALL OF IT'S PROPERTIES ***** */
#logo {
background: url(enlighten/misc/header_logo.gif);
width: 470px;
height: 102px;
float: left;
margin: 0;
padding: 0;
}

/* ***** sets background for header area - No need to change this ***** */
#hdr {
background: #F7632F url(enlighten/misc/header_back.gif) ;
width: 100%;
height: 102px;
margin: 0;
padding: 0;
}


/* ***** SETS HEADER RIGHT SIDE AREA FOUND IN HEADER AND ALL OF IT'S PROPERTIES ***** */
#hdr_rs {
background: url(enlighten/misc/header_rs.gif);
width: 34px;
height: 102px;
float: right;
padding: 0;
}


/* ***** SETS HEADER RIGHT SIDE AREA FOUND IN HEADER AND ALL OF IT'S PROPERTIES ***** */
#hdr_rs {
background: url(enlighten/misc/header_rs.gif);
width: 34px;
height: 102px;
float: right;
padding: 0;
}

What i have to do to have the banners where is the header_logo. Thanks if someone can help me.

space²
08 Sep 2008, 14:36
Excellent work andrefedalto (http://www.vbulletin.org/forum/member.php?u=122172) :)

TheWhite
11 Sep 2008, 04:59
Can an automatic rotate feature be added?

PS. Flash banners are showing on the left.

Regards

space²
11 Sep 2008, 19:36
Can an automatic rotate feature be added?
I think it's allready in. Try to set up a slideshow, the effect should be similiar.

PS. Flash banners are showing on the left.
Try to put them into a seperate div or table and put it on the right.

But on the other hand - sometimes left & sometimes right -> higher click rate -> more income -> cool feature and no bug:D


Regards,
Stefan

BirdOPrey5
13 Sep 2008, 18:34
Installed it but every banner I try and upload it tells me that the extension isn't allowed to be uploaded... First was jpg, then a gif, then I changed the default allowed extensions to just:
jpg|gif|png
Still nothing will upload.
Useless.

TheWhite
17 Sep 2008, 04:54
I think it's allready in. Try to set up a slideshow, the effect should be similiar.


Try to put them into a seperate div or table and put it on the right.

But on the other hand - sometimes left & sometimes right -> higher click rate -> more income -> cool feature and no bug:D


Regards,
Stefan

i just want a 728x90 center banner but i'd like an auto refresh feature so that they'll rotate without having to wait for a manual reload

inciarco
17 Sep 2008, 07:01
Installed it but every banner I try and upload it tells me that the extension isn't allowed to be uploaded... First was jpg, then a gif, then I changed the default allowed extensions to just:
jpg|gif|png
Still nothing will upload.
Useless.

In the Error Message you have to Select the Text that Indicates the Type of Image and include it in the Banner Rotator Options for Extensions, separated with Pipeline "|".

In my case I was Uploading a jpeg File and I receiven an Error that referenced the File as image/pjpeg so I included that text on the Text Box for "Extensions accepted for upload (separated by |)" and that was it, after that the Upload worked Ok.

Thank You andrefedalto for Sharing this Great Mod. :up:

My Best Regards.

:)

TheWhite
23 Sep 2008, 12:34
I think it's allready in. Try to set up a slideshow, the effect should be similiar.


Try to put them into a seperate div or table and put it on the right.

But on the other hand - sometimes left & sometimes right -> higher click rate -> more income -> cool feature and no bug:D


Regards,
Stefan


The auto rotate is too slow can it be speed up a bit?????

Sandgrinder
28 Sep 2008, 23:41
How do you make it so it doesn't open the site index in a new window when you click the banner? I just want it to refresh the page.

vlllad
29 Sep 2008, 19:16
There was an error while moving your file. Please retry.

gentz
30 Sep 2008, 00:28
Well it seems support for this nice banner rotator is dead...how would we repair the hyperlink problem, it tries to send you to the home site/ the banner site? any ideas?????

GoTTi
30 Sep 2008, 02:57
how do i make this not popup a new windows when clicked?

coberr
30 Sep 2008, 15:13
Help !!!

http://img504.imageshack.us/img504/892/93968162yl4.png

vividbreeze
30 Sep 2008, 17:37
how can I find out the click-out stats? It never shows clickouts and I even have it checked....

Many ppl have clicked it, I am positive of it..

Sandgrinder
01 Oct 2008, 10:32
THIS IS HOW YOU FIX SO THE BANNER DOESN'T OPEN A NEW WINDOW!

Edit the style.

From:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

To:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>">$banner</a></center>

GoTTi
01 Oct 2008, 18:35
THIS IS HOW YOU FIX SO THE BANNER DOESN'T OPEN A NEW WINDOW!

Edit the style.

From:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

To:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>">$banner</a></center>


thanks. didnt even think to look at the code for some reason. right under my nose.

gentz
10 Oct 2008, 04:51
any way to fix the double link? this is what i get ;http://www.ftahispano.com/www.cowmix.com how do i fix this????

gentz
10 Oct 2008, 05:18
never mind i figured it out.. if you dont put the complete url http://www.xxxxxxx.com it wont work......so put it all complete....

GetBleach
11 Oct 2008, 16:31
How come I cant upload PNG and other files and It cant reszie my pic automoatically.

Twisted Shifter
22 Oct 2008, 06:33
I have installed, ran the xml file, edited the header and nothing. I am BRAND new to this so any advice would be great.

Twisted Shifter
23 Oct 2008, 07:05
I worked it all out! all is good now

Twisted Shifter
25 Oct 2008, 09:18
Two things,

Can/will we ever be able to get ad click stats?

I keep getting an error with FF and it looks like it might be coming from the ad rotator

AJAX error, please try again. (HTTP status: 0 / communication failure)

Any ideas?

Twisted Shifter
25 Oct 2008, 18:22
Disregard, I have uninstalled and moved on to Rotating Banner System.

raznaran
27 Oct 2008, 00:03
Disregard

Tralala80
31 Oct 2008, 04:23
I have installed it sucessfully and it works good.

I have a small problem though, and that is that the LOGO is cached from the frontpage, and is displayed in different categories aswell. Is there any way to force re-loading of the images ?

I found a way of doing it, but i would have to disable cache for the whole site. :(

Abomination
06 Nov 2008, 06:12
I have a small problem though, and that is that the LOGO is cached from the frontpage, and is displayed in different categories as well.

Believe you mean the only way to put up an image on the main forums page is to select an image to be displayed on FORUMHOME and if that is done it will show up on all other subforums on the site.

I've not found a clean way around that from by coding, but will offer that as a way to sell 'premium' advertising for an extra fee. A more advanced banner system is another alternative.

It does seem the person who wrote this software has not been on this site since late August.

abqtj
14 Nov 2008, 21:52
Installed today. I'm a complete vb newb and this is working out just fine so far.

THANKS!

HabbStar
15 Nov 2008, 17:08
Anyone know how to make the banners centered with the forum? I tried removing <Center> but that didnt do anything..

HabbStar
15 Nov 2008, 23:52
Surely somebody must know by now? Please say if you do

axi
16 Nov 2008, 03:56
i am putting hyperlinks in but they do not work anyone know??

minty_fresh
21 Nov 2008, 02:25
Ok i have a small issue i hope someone can help me out on this. Iam running a style on my forum and i cannot locate

<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>

To edit. It dosnt seem to be in the header section of the template. The style iam using seems to be using 2 images (One on the left which i can click and one on the right that i cant)
Any advice?

Here's what i have found in my header on my style

<td><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="images/lily/lily_logo.gif" alt="$vboptions[bbtitle]" width="446" height="140" border="0" id="lily_logo" /></a></td>

and the other image is
</td>
<td class="headerR">&nbsp;</td>

Id like these to both rotate randomly with a selected few on refresh, is this possibly with this mod?

yamahapaul
22 Nov 2008, 07:15
Can this be used to simply rotate the header/ logo in the default position as shown on my forum here-

http://www.midlandsheritage.co.uk/

if so can anyone advise please?? :o

xcesivvs
22 Nov 2008, 11:38
http://forum.cruznstreeterz.com/forumdisplay.php?f=8

Having a bit of trouble with the top banner on this skin. Carbon Fibre..

The Banner i want to install is 150mm tall.... but i ant get the menu bar to lower... can anyone help out please

thanks

Warren

minty_fresh
24 Nov 2008, 02:03
bumpidy bump? ^_^

HabbStar
07 Dec 2008, 18:23
Does anyone know how i can use separate banners on different themes?

HabbStar
07 Dec 2008, 20:08
Bump.. surely somebody must know

wmlvb
08 Dec 2008, 02:31
Hi this code I ma suppose to replace in my header is not there

<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>

wmlvb
08 Dec 2008, 03:59
Hi this code I ma suppose to replace in my header is not there

<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>



I got the menu to show up! I had the xml in wrong file!

bigevil
08 Dec 2008, 04:15
Just tried this with 3.6.9 and it works just fine.

AllenMead
21 Dec 2008, 23:40
I've been installing, and all seems nearly good. I've installed into the header but am getting the "target blank" above the banner.. any ideas how i can sort this?

AllenMead
22 Dec 2008, 21:24
All sorted now.

Reycer
26 Dec 2008, 20:43
question: It says that I CAN upload Jpeg images, but when I try to all I am getting is that this: The selected file type is not allowed. image/jpeg

mongothetrucker
04 Jan 2009, 17:38
install was easy, but now I get this...

The selected file type is not allowed. image/pjpeg

wmlvb
04 Jan 2009, 18:28
install was easy, but now I get this...

I can't believe I actually can answer a question. :D I know this answer because I had the same problem. You need to go to the setting of Banner rotators and then in the setting for type of extensions allowed you need to add image/jpeg to the list.

make sure you use the separators they request. it looks like a "l" but not.

I hope that helps!!

mongothetrucker
04 Jan 2009, 18:31
it is on the list already.

mongothetrucker
04 Jan 2009, 18:38
it seems like it's not understanding the file. I try to add a jpg and it says this

The selected file type is not allowed. image/pjpeg

wtf is a pjpeg?

I try to add a PNG and it says this

The selected file type is not allowed. image/x-png

mongothetrucker
04 Jan 2009, 19:07
fixed.

bydosangel
05 Jan 2009, 17:31
Now that's what i call a Perfect Thing...
Thanks for the good mod, But u know, It missing a Tiny small thing, witch is how many clicks the users clicked on the Adv..

Thanks Again

ErnestA
06 Jan 2009, 03:37
Finally... Easy to install, rotates banners and can assign to each category, simple interface. The rest of the banner mods could learn something from this one.

Installed in vBulletin 3.7.4 PL1 with no issues. The only problem I had was the error: "There was an error while moving your file". Just had to create the brotator subfolder under the vbulletin images folder (images/brotator).

One small note, I noticed that the Vbulletin Logo at the top of my screen is gone now. Is there anyway to have the logo and banner?

Lionsloser07
08 Jan 2009, 00:42
How come it isn't working with IE?

ErnestA
08 Jan 2009, 04:51
I'm using it with IE7 and it works just fine.

ErnestA
09 Jan 2009, 22:24
Track Banner Usage!

I've read a few posts from people with the same issue that I have. This product would be perfect if you could track which banners are displayed and how often. If you're charging for advertising, this is almost a requirement.
Well, being a programmer myself, I decided to figure out a very simple way to track it. Now, you'll have to query the database manually yourself to get the statistics, if I get adventurous down the road I might add that. But for now, at least the database will track the banners that get displayed and when.

This information is provided AS IS with no warranty or liability at all. Use it at your own risk!

First of all, open a connection to your database (I assume Mysql). Use the following create table statement. If you don't have command line access, you may want to try integrating this create table statement with the product.xml file.

We're going to create a new table to track banners. So issue the following command at the Mysql command prompt:
CREATE TABLE brotatorlog (bid smallint(20) unsigned, name varchar(255), bannerdate TIMESTAMP);

Next, go into the admincp of vbulletin, go to "Plugins & Products" and click on "Plugin Manager"
Click on the link to edit banner rotator. In the plugin PHP code window, scroll all the way to the bottom of the window.

The last statement in this window should be:
$defaultdir . "/" . $ban['name'] . "' alt='" . $ban['alt'] . "' width='".$ban['width']."' height='".$ban['height']."' border='0'>";
}

Don't delete or modify any of the existing code. Insert the following code AFTER the above line.


if (!$ban['bid']) {
}
else
{
$db->query("INSERT INTO brotatorlog (bid, name) VALUES (".$ban['bid'].",'".$ban['name']."')");
}



Display a few banners then go into your mysql database and issue the following query:

select * from brotatorlog;

You should see something like this (excuse the poor formatting):

+------+-----------------------+---------------------+
| bid | name | bannerdate |
+------+-----------------------+---------------------+
| 1 | mybannera.jpg | 2009-01-08 18:14:32 |
| 2 | mybanner1.gif | 2009-01-08 18:16:37 |
+------+-----------------------+---------------------+

using the bid field, you can cross reference it back to the original brotator table with an SQL join query. Remember to periodically purge that table.

Enjoy.

Ernest.:D

cagbaazee
11 Jan 2009, 16:55
will it works with version 3.8

jkcerda
14 Jan 2009, 15:26
getting an error that I did not get previously



Warning: move_uploaded_file(./images/brotator/FobNationBanner.gif) [function.move-uploaded-file]: failed to open stream: Permission denied in [path]/admincp/brotator.php on line 65

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpYuMkT9' to './images/brotator/FobNationBanner.gif' in [path]/admincp/brotator.php on line 65


Any help will be appreciated

hope I am in the right area.

mmblz
14 Jan 2009, 18:52
I would be cool if this could let you set a different banner depending on the date...

ErnestA
17 Jan 2009, 16:11
will it works with version 3.8

I'm running it in 3.8 and it it seems to be OK (even with the hack I made to it).

ErnestA
17 Jan 2009, 16:13
I haven't seen a post from the guy maintaining this mod for a while and he hasn't been online since Aug 2008. Is this mod dead? Because I really like it and would like to see it improved. If the original author doesn't want to maintain it any longer I'd consder taking it over.

ErnestA
17 Jan 2009, 16:18
getting an error that I did not get previously



Warning: move_uploaded_file(./images/brotator/FobNationBanner.gif) [function.move-uploaded-file]: failed to open stream: Permission denied in [path]/admincp/brotator.php on line 65

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpYuMkT9' to './images/brotator/FobNationBanner.gif' in [path]/admincp/brotator.php on line 65


Any help will be appreciated

hope I am in the right area.


You have not mentioned much about your setup. Is it being hosted or is it your own server? Do you have root access? When you created the images/brotator sub directory did you chown it to your webuser (ex: apache)?

Is your PHP install running in SAFE mode? Because that could be the problem as well.
If your system is running selinux, check your audit.log file to see if httpd is being denied write access.

Post some real details about your setup and I'll try to help you out.

jkcerda
20 Jan 2009, 23:51
You have not mentioned much about your setup. Is it being hosted or is it your own server? Do you have root access? When you created the images/brotator sub directory did you chown it to your webuser (ex: apache)?

Is your PHP install running in SAFE mode? Because that could be the problem as well.
If your system is running selinux, check your audit.log file to see if httpd is being denied write access.

Post some real details about your setup and I'll try to help you out.

Fixed the issue, I have access to the server, its being hosted, now I need to find out hoew to get different images to show instead of the same on

Graphictr
22 Jan 2009, 14:33
Thanks

Xencored
25 Jan 2009, 22:46
Hi thanks for this great addon
but is there anyway to get it so when clicked it Dont open in a new window/Tab ?

sebil
30 Jan 2009, 15:26
working perfectly..
but when i click on the banner an another page is opening.. i want it to set as.. my forumhome page url.. working in the same window..

is therea nyway

davew
04 Feb 2009, 13:01
Worked perfectly first time!

Thank you , great mod - Installed and Nominated..

Cheers,
Dave

ZXeno
04 Feb 2009, 16:44
This is a great mod and I've used it for quite a while now. But I do have a question:

I currently have a set of horizontal ad banners setup across the top of the page. We are looking to get a separate set of banners set up on the left-hand side of the page for commissioned sales banners. Is there any way to do a different grouping of banner rotations so that only a certain group of banners can be rotated?

For reference: http://lsxnation.net We are wanting a separate set of banners below COTM.

bposner
07 Feb 2009, 12:06
I have the banner program working, how/where can I change it's location?
Thanks

bposner
07 Feb 2009, 18:36
Now I'm getting an error about image/pjpg??? the file I'm uploading is a .jpg, whay is it telling me pjpg?

Thank you for time

longgsm
11 Feb 2009, 04:48
Not only rotation banner but also single/Continous banner anywhere with many other banner?

Thanks and best regards!

jonbaker
16 Feb 2009, 03:46
i would like to see more than one banner code, like a previous poster, $banner1, $banner2... etc


also, how do we use SWF files???

vbplusme
20 Feb 2009, 06:38
also, how do we use SWF files???

Add a block like this to your banner manager in vboptions.

<a href="http://www.yourdomain.com/forums/yourlink/ rel="no follow"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="468" height="60" id="header" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.yourdomain.com/images/swf/banner.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="http://www.yourdomain.com/images/swf/banner.swf" quality="high" bgcolor="#ffffff" width="468" height="60" name="header" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object></a>

Reycer
01 Mar 2009, 22:39
I have this already (had it for a while and love it), but I want to be able to use it on my VBAdvanced page. How do I go about putting the code as a module so that it shows up?

I tried copying the

<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

into the module template, but it's not working. hmm...... any thoughts.

Merriweather
09 Mar 2009, 17:01
Are there any screen shots of the AdminCP options and how/where banners show in the forums?

Rodimus
18 Mar 2009, 13:26
Might sound like a dumb question, but is there a way to have a set of banners to work on 1 style and another set of banners to work on a different style?

donnyaz
18 Mar 2009, 20:12
"The selected file type is not allowed. image/pjpeg" any suggestions would be helpful.:confused:

Chevy_dreamZ
08 Apr 2009, 20:54
Is there anything i can do so that when it's clicked it wont open another window?
I have it and it works flawlessly.
I just dont like how it opens another window when it is clicked.

Thanks,

www.texastruckscene.com

WEBDosser
12 Apr 2009, 07:47
forget that..

LegionStar
15 Apr 2009, 10:07
There was an error while moving your file. Please retry.

please help i keep getting this message above

Quads
17 Apr 2009, 05:44
Anyone have this running on 3.8.X?

odln018
01 May 2009, 15:06
"The selected file type is not allowed. image/pjpeg" any suggestions would be helpful.:confused:

Was this ever resolved? I'm encountering the same problem.

odln018
01 May 2009, 15:09
fixed.

How did you fix this?

System69
03 Jun 2009, 04:07
until it worked very well. suddenly i also get this message "The selected file type is not allowed. image/pjpeg". what to do?

Reycer
14 Jun 2009, 03:47
until it worked very well. suddenly i also get this message "The selected file type is not allowed. image/pjpeg". what to do?

you need to read all of the responses. The fix is there.



In the Error Message you have to Select the Text that Indicates the Type of Image and include it in the Banner Rotator Options for Extensions, separated with Pipeline "|".

In my case I was Uploading a jpeg File and I receiven an Error that referenced the File as image/pjpeg so I included that text on the Text Box for "Extensions accepted for upload (separated by |)" and that was it, after that the Upload worked Ok.

Thank You andrefedalto for Sharing this Great Mod. :up:

My Best Regards.

:)

Reycer
14 Jun 2009, 03:54
Anyone have this running on 3.8.X?

I have this running on 3.8.3 and it works fine.

Feanor_87
25 Jun 2009, 05:41
Is there anyway to get this working with vBadvanced?

Sirb13
26 Jun 2009, 17:43
I have this running on 3.8.3 and it works fine.

Im having trouble too...how do you install the product-brotator.xml ? i placed all files in the upload folder to the correct directories...

DjiveWMD
27 Jun 2009, 01:04
Whay every time whwn I try upload banner appears this two mistake:?????

"Warning: move_uploaded_file(./images/brotator/003.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/admincp/brotator.php on line 65"

"Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpVkCj7r' to './images/brotator/003.jpg' in [path]/admincp/brotator.php on line 65"

I create in CPanel ---> /public_html/images --> brotator and in "Change Permission" put "777"

Pleas if cant somebody halp?? Thanks

My screenshot:
http://img44.imageshack.us/img44/2198/imagenkz.jpg

ispots
14 Jul 2009, 16:50
There was an error while moving your file. Please retry.
This issue is occuring for me and I cannot figure out why.

According to the posts I've read, I should create the folder images/brotator (which I have). For some reason, however, the images are not uploading.

Please assist.

EnigmaVariation
18 Jul 2009, 22:22
Great product and it installed easily with a few preparatory fixes. I am running it on 3.8.3. I removed the < center > coding around the banner though as my style already places the banner where I want it to be. I also took the advice of some of the other posters in the thread with a few necessary fixes. So I might suggest rewording your install instructions to be really clear like this:

How can i install? (Time to install: 1 minute if you are fast enough )
- Download and unzip the brotator.zip file
- Create a folder within the Images folder on your FTP and name it brotator
- Within the Upload folder, click on admincp and upload the brotator file to your admincp folder for your forums via FTP
- Within the includes folder, upload the xml folder via FTP as a subfolder in your includes folder so that the cpnav_rotator file is in the xml folder in your includes folder (if for some reason you can't upload a folder and the contents, then create a folder within your includes folder called xml and then upload the cpnav_rotator file to your xml folder)
- Go to your admin control panel for your forums and click on Plugins & Products and choose Manage Products, then click Add/Import Product
- Click Browse to find the product-brotator file in your unzipped brotator folder and then click Save
- Refresh your admin control panel and then you will see Banner Rotator (mine is located near the top of my control panel listing)
- Then add the coding to the HEADER template of the style you want to use the rotator on
- Click on Banner Rotator and then Add Banner
- Browse to find the banner file you want to upload, be sure to edit the width and height to the same dimensions your banner file is
- Type in an alt name to display when users hover over the banner if you want and also add a URL link if desired, click Submit and then repeat for all of the banners you want in the rotation

jkcerda
29 Jul 2009, 06:51
how do I put this hac in the navbar?

eric8476
05 Aug 2009, 16:46
is there a banner rotator for for under the first post?

eric8476
10 Aug 2009, 02:57
How do I add different ads for different places?

wreckless
15 Aug 2009, 02:57
Whay every time whwn I try upload banner appears this two mistake:?????

"Warning: move_uploaded_file(./images/brotator/003.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]/admincp/brotator.php on line 65"

"Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpVkCj7r' to './images/brotator/003.jpg' in [path]/admincp/brotator.php on line 65"

I create in CPanel ---> /public_html/images --> brotator and in "Change Permission" put "777"

Pleas if cant somebody halp?? Thanks

My screenshot:
http://img44.imageshack.us/img44/2198/imagenkz.jpg

Worked fine for a year now I am getting the same error when I upload a new banner..

Mavs00
28 Aug 2009, 14:38
is there a banner rotator for for under the first post?

I have this same question.....

xlguy
09 Sep 2009, 12:48
"The selected file type is not allowed. image/pjpeg" any suggestions would be helpful.:confused:

Was this ever resolved? I'm encountering the same problem.

Go in to the vBulletin Options page and edit the settings for the Banner Rotator and add image/pjpeg to the list, using the | as a separator. I was having a problem with a .gif upload and had to add image/gif to get mine to work just now on 3.8.3. Works fine now.

PS. Thanks to wmlvb for the solution earlier in this thread (http://www.vbulletin.org/forum/showpost.php?p=1701477&postcount=174).

davew
16 Oct 2009, 01:07
Might sound like a dumb question, but is there a way to have a set of banners to work on 1 style and another set of banners to work on a different style?


I'd love a way to be able to do this also :)

The only thing I can think of is to duplicate the entire mod with another name (haven't tried that yet) but maybe there is a better way?

Regards,
Dave W.

Alecsmith
09 Dec 2009, 18:44
waiting for new version for VB4

bigtree
31 Dec 2009, 02:54
waiting for new version for VB4

Same. I can't understand why a banner rotating sytem isn't part of vb in the first place. WTF! a $200 price tag for this software and you don't get basics with it.

Thanks vb org for all your extra help.

Jpax
25 Mar 2010, 07:08
Anyone have this working for VB4?

xony
25 Mar 2010, 19:52
+1 :)

deepak7
02 Apr 2010, 07:15
I have vb 3.8.3.

I can't find this in the header template
"<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>"

So its not working for me.

Keesa
11 Apr 2010, 03:37
Installed on 3.8.5 and it works, except clicking the header opens a new window every time which is NOT a fun feature


<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

Remove target="_blank" and it will work better

caff.com
15 Apr 2010, 00:19
Hello...I've had this mod up and running for a while but just changed hosts (from siteground to godaddy) and now when I try to upload a new banner, I get the "There was an error while moving your file. Please retry." error.

I've noticed a few posts on this in the forum but no answers. Anybody had any luck? The /images/brotator folder still exists and the banners that were previously uploaded prior to the move still work.

Thanks for your assistance.

Keesa
18 Apr 2010, 00:54
I also had to add this:

|image/png| to get it to accept PNG banners. If that helps anyone.

:D

Keesa
08 May 2010, 06:19
Hmmm. I cannot delete banners, has anyone had that problem?

YYOMERO
24 Aug 2010, 22:33
i want this mod for vbulletin 4.06

HATED
28 Sep 2010, 03:53
Ok no matter what i do it gives me a error that the file type can not be uploaded..... even jpgs. I have tried every single version I can find of this mod... Please help!!! This is a awsome mod!!

MorrisVideos
29 Sep 2010, 10:53
i've created the brotator subfolder under images and everything and it still says there was error while moving your file. I've seen this same error stated several times in this thread before, and the only answer given was to create the subfolder which I've done, i also have subdomain which the forums uses and have added the brotator subfolder under the images folder there as well and still nothing works! Please help ASAP.

Thanks

EddyMaxx
11 Mar 2011, 01:05
Working on 3.8.7 with custom theme!!