PDA

View Full Version : Miscellaneous Hacks - Banner Rotator


andrefedalto
01-30-2008, 10:00 PM
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 https://vborg.vbsupport.ru/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
01-31-2008, 05:14 PM
installed & nominated will give it a shot soon

Thanks

gwerzal
01-31-2008, 05:23 PM
Thanks gonna give it a go now

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

valdet
01-31-2008, 05:30 PM
Installed and will give it a shot soon. Thanks

socalrico
01-31-2008, 05:41 PM
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
01-31-2008, 05:55 PM
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
01-31-2008, 06:43 PM
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
01-31-2008, 07:22 PM
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
01-31-2008, 07:54 PM
Wow! great! Thanks!

gbox master
01-31-2008, 09:51 PM
can some one confirm that this one works with 3.6.8 pl2
and no conflicts with other mods

andrefedalto
02-01-2008, 01:30 AM
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
02-01-2008, 05:36 AM
first need to uninstal old version if not have data base error,in rest work ok

webspider
02-01-2008, 02:07 PM
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-02-2008, 08:18 AM
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-02-2008, 03:36 PM
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-02-2008, 08:32 PM
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-02-2008, 09:51 PM
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
02-02-2008, 11:06 PM
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
02-02-2008, 11:18 PM
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
02-02-2008, 11:22 PM
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
02-03-2008, 05:54 AM
Works Perfectly!! thanks

CypherSTL
02-03-2008, 08:39 AM
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
02-03-2008, 08:58 AM
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
02-03-2008, 09:22 AM
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
02-03-2008, 10:24 AM
<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
02-03-2008, 10:32 AM
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
02-03-2008, 12:43 PM
yeh it is but it dont work still :(

Stile2
02-03-2008, 03:32 PM
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
02-03-2008, 10:26 PM
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
02-04-2008, 03:45 PM
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
02-04-2008, 07:03 PM
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
02-18-2008, 10:33 PM
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
02-22-2008, 02:54 AM
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
02-27-2008, 11:03 AM
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
02-27-2008, 01:00 PM
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
02-27-2008, 02:44 PM
Can anybody help me?

Zekeman
03-01-2008, 12:03 AM
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
03-01-2008, 12:15 AM
thanks

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

cagbaazee
03-20-2008, 05:35 AM
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
03-20-2008, 06:58 AM
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
03-22-2008, 12:11 AM
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
04-01-2008, 04:55 PM
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
04-02-2008, 03:13 PM
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-04-2008, 07:59 PM
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
04-07-2008, 08:40 PM
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
04-16-2008, 10:07 AM
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
04-18-2008, 08:54 AM
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
04-19-2008, 02:55 AM
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
04-19-2008, 07:19 AM
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
04-20-2008, 05:21 AM
Ive been looking for a hack that allowed me to have a rotating banner

Excellent !

Britmovie
04-20-2008, 12:50 PM
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
04-20-2008, 04:01 PM
Hello!

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

some help ?

reg

macc

atlambros83
04-20-2008, 04:05 PM
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
04-27-2008, 05:28 PM
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
04-28-2008, 03:38 AM
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
04-30-2008, 02:27 AM
Everything is installed properly but I do not see a banner, I have v3.7
Is there something I am missing?

karrerax
05-04-2008, 08:03 PM
Clicks INstall

This pluguins is wonderful!! Thanks

DawnsWebDesigns
05-05-2008, 12:20 AM
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
05-06-2008, 04:45 AM
very nice mod..

fourat
05-06-2008, 07:43 AM
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
05-06-2008, 08:32 AM
Is it also possible to add different codes of afflinate-partners, or adsense etc.?

maclean_cherry
05-06-2008, 11:04 AM
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
05-06-2008, 03:28 PM
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
05-08-2008, 04:36 AM
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
05-09-2008, 12:10 AM
Anyone? Been fooling with it all day.. still stumpped.

mikkitine
05-10-2008, 06:49 PM
Seriously? Are there any instructions to operate this mod?

animate
05-11-2008, 09:55 AM
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
05-11-2008, 01:52 PM
ok problem was SEO that has overwrite the a href tag to standard forum.php

Scooterpig
05-15-2008, 04:52 AM
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
05-15-2008, 07:14 AM
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
05-15-2008, 07:58 AM
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
05-29-2008, 10:28 AM
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
05-31-2008, 04:27 AM
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
06-01-2008, 06:39 PM
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
06-02-2008, 08:48 AM
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
06-02-2008, 05:30 PM
When i click the banner it opens a new window/tab rather than _blank..how do i set this?

Thanks,

baker011
06-03-2008, 12:42 PM
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
06-03-2008, 07:09 PM
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
06-05-2008, 06:37 PM
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
06-09-2008, 03:25 PM
could this work with ads ?

Finster
06-10-2008, 01:11 PM
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
06-11-2008, 04:56 PM
Mine is working in firefox but not in IE..anyone facing the same problem...is there any solution
for it

RobParker
06-11-2008, 05:06 PM
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
06-15-2008, 08:58 PM
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
06-17-2008, 12:06 AM
if i want to put the banners in another place ... not header
what i do ?

Tapage
06-18-2008, 10:36 PM
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
06-18-2008, 11:17 PM
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
06-18-2008, 11:45 PM
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
06-19-2008, 04:34 PM
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
06-19-2008, 04:42 PM
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
06-20-2008, 04:00 PM
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
06-20-2008, 04:26 PM
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
06-26-2008, 01:46 AM
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..

https://vborg.vbsupport.ru/showthread.php?p=1559089#post1559089

tru1
06-28-2008, 06:26 AM
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
06-28-2008, 07:25 PM
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
07-03-2008, 08:13 AM
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
07-03-2008, 09:10 PM
I keep getting "The selected file type is not allowed." anyone seen this? I've tried png and gif...

hpmustangs
07-05-2008, 12:49 AM
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
07-05-2008, 01:01 AM
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
07-05-2008, 01:15 AM
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
07-05-2008, 01:34 AM
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
07-05-2008, 01:45 AM
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
07-10-2008, 04:01 PM
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
07-10-2008, 04:24 PM
PS, Thanks for the Mod.

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

:up:

ArnyVee
07-10-2008, 07:08 PM
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
07-11-2008, 04:09 AM
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
07-11-2008, 08:35 AM
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
07-12-2008, 10:13 AM
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
07-18-2008, 10:09 PM
I need a little more in depth product, would you be interested on adding some features for a fee?

jkcerda
07-19-2008, 03:44 AM
how can you ad two banners?
one on top of the other on the right?

jkcerda
07-19-2008, 04:18 AM
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
07-25-2008, 11:38 AM
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
07-25-2008, 03:09 PM
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
07-25-2008, 03:57 PM
No errors just no banners. A comma? Where does it go? Sorry.

Thanks

jtraub
07-26-2008, 02:40 AM
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
07-27-2008, 01:17 AM
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
08-02-2008, 05:33 AM
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
08-02-2008, 07:46 AM
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
08-10-2008, 06:08 PM
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
08-11-2008, 07:09 PM
thanx alot for this

RrCoX22
08-12-2008, 05:08 PM
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
08-26-2008, 04:14 PM
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
08-26-2008, 04:16 PM
ok just changed the filename to banner.gif now i get this

The selected file type is not allowed. image/gif

RrCoX22
08-26-2008, 07:59 PM
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
08-27-2008, 04:12 PM
brill that worked great :)

Volvoholic
08-28-2008, 05:39 PM
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
08-28-2008, 09:16 PM
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
09-05-2008, 04:03 AM
Can an automatic rotate feature be added?

PS. Flash banners are showing on the left.

Regards

TheWhite
09-05-2008, 04:20 PM
Can the banners be rotated automatically?

acast
09-08-2008, 01:42 AM
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?
09-08-2008, 12:36 PM
Excellent work andrefedalto (https://vborg.vbsupport.ru/member.php?u=122172) :)

TheWhite
09-11-2008, 02:59 AM
Can an automatic rotate feature be added?

PS. Flash banners are showing on the left.

Regards

space?
09-11-2008, 05:36 PM
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
09-13-2008, 04:34 PM
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
09-17-2008, 02:54 AM
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
09-17-2008, 05:01 AM
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
09-23-2008, 10:34 AM
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
09-28-2008, 09:41 PM
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
09-29-2008, 05:16 PM
There was an error while moving your file. Please retry.

gentz
09-29-2008, 10:28 PM
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
09-30-2008, 12:57 AM
how do i make this not popup a new windows when clicked?

coberr
09-30-2008, 01:13 PM
Help !!!

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

vividbreeze
09-30-2008, 03:37 PM
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
10-01-2008, 08:32 AM
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
10-01-2008, 04:35 PM
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-10-2008, 02:51 AM
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-10-2008, 03:18 AM
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
10-11-2008, 02:31 PM
How come I cant upload PNG and other files and It cant reszie my pic automoatically.

Twisted Shifter
10-22-2008, 04:33 AM
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
10-23-2008, 05:05 AM
I worked it all out! all is good now

Twisted Shifter
10-25-2008, 07:18 AM
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
10-25-2008, 04:22 PM
Disregard, I have uninstalled and moved on to Rotating Banner System.

raznaran
10-26-2008, 10:03 PM
Disregard

Tralala80
10-31-2008, 02:23 AM
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
11-06-2008, 04:12 AM
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
11-14-2008, 07:52 PM
Installed today. I'm a complete vb newb and this is working out just fine so far.

THANKS!

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

HabbStar
11-15-2008, 09:52 PM
Surely somebody must know by now? Please say if you do

axi
11-16-2008, 01:56 AM
i am putting hyperlinks in but they do not work anyone know??

minty_fresh
11-21-2008, 12:25 AM
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
11-22-2008, 05:15 AM
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
11-22-2008, 09:38 AM
<a href="http://forum.cruznstreeterz.com/forumdisplay.php?f=8" target="_blank">http://forum.cruznstreeterz.com/forumdisplay.php?f=8</a>

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
11-24-2008, 12:03 AM
bumpidy bump? ^_^

HabbStar
12-07-2008, 04:23 PM
Does anyone know how i can use separate banners on different themes?

HabbStar
12-07-2008, 06:08 PM
Bump.. surely somebody must know

wmlvb
12-08-2008, 12:31 AM
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
12-08-2008, 01:59 AM
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
12-08-2008, 02:15 AM
Just tried this with 3.6.9 and it works just fine.

AllenMead
12-21-2008, 09:40 PM
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
12-22-2008, 07:24 PM
All sorted now.

Reycer
12-26-2008, 06:43 PM
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
01-04-2009, 03:38 PM
install was easy, but now I get this...

The selected file type is not allowed. image/pjpeg

wmlvb
01-04-2009, 04:28 PM
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
01-04-2009, 04:31 PM
it is on the list already.

mongothetrucker
01-04-2009, 04:38 PM
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
01-04-2009, 05:07 PM
fixed.

bydosangel
01-05-2009, 03:31 PM
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
01-06-2009, 01:37 AM
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
01-07-2009, 10:42 PM
How come it isn't working with IE?

ErnestA
01-08-2009, 02:51 AM
I'm using it with IE7 and it works just fine.

ErnestA
01-09-2009, 08:24 PM
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
01-11-2009, 02:55 PM
will it works with version 3.8

jkcerda
01-14-2009, 01:26 PM
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
01-14-2009, 04:52 PM
I would be cool if this could let you set a different banner depending on the date...

ErnestA
01-17-2009, 02:11 PM
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
01-17-2009, 02:13 PM
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
01-17-2009, 02:18 PM
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
01-20-2009, 09:51 PM
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
01-22-2009, 12:33 PM
Thanks

Xencored
01-25-2009, 08:46 PM
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
01-30-2009, 01:26 PM
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
02-04-2009, 11:01 AM
Worked perfectly first time!

Thank you , great mod - Installed and Nominated..

Cheers,
Dave

ZXeno
02-04-2009, 02:44 PM
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
02-07-2009, 10:06 AM
I have the banner program working, how/where can I change it's location?
Thanks

bposner
02-07-2009, 04:36 PM
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
02-11-2009, 02:48 AM
Not only rotation banner but also single/Continous banner anywhere with many other banner?

Thanks and best regards!

jonbaker
02-16-2009, 01:46 AM
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
02-20-2009, 04:38 AM
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
03-01-2009, 08:39 PM
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
03-09-2009, 03:01 PM
Are there any screen shots of the AdminCP options and how/where banners show in the forums?

Rodimus
03-18-2009, 11:26 AM
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
03-18-2009, 06:12 PM
"The selected file type is not allowed. image/pjpeg" any suggestions would be helpful.:confused:

Chevy_dreamZ
04-08-2009, 06:54 PM
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
04-12-2009, 05:47 AM
forget that..

LegionStar
04-15-2009, 08:07 AM
There was an error while moving your file. Please retry.

please help i keep getting this message above

Quads
04-17-2009, 03:44 AM
Anyone have this running on 3.8.X?

odln018
05-01-2009, 01:06 PM
"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
05-01-2009, 01:09 PM
fixed.

How did you fix this?

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

Reycer
06-14-2009, 01:47 AM
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
06-14-2009, 01:54 AM
Anyone have this running on 3.8.X?

I have this running on 3.8.3 and it works fine.

Feanor_87
06-25-2009, 03:41 AM
Is there anyway to get this working with vBadvanced?

Sirb13
06-26-2009, 03:43 PM
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
06-26-2009, 11:04 PM
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
07-14-2009, 02:50 PM
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
07-18-2009, 08:22 PM
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
07-29-2009, 04:51 AM
how do I put this hac in the navbar?

eric8476
08-05-2009, 02:46 PM
is there a banner rotator for for under the first post?

eric8476
08-10-2009, 12:57 AM
How do I add different ads for different places?

wreckless
08-15-2009, 12:57 AM
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
08-28-2009, 12:38 PM
is there a banner rotator for for under the first post?

I have this same question.....

xlguy
09-09-2009, 10:48 AM
"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 (https://vborg.vbsupport.ru/showpost.php?p=1701477&postcount=174).

davew
10-15-2009, 11:07 PM
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
12-09-2009, 04:44 PM
waiting for new version for VB4

bigtree
12-31-2009, 12:54 AM
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
03-25-2010, 05:08 AM
Anyone have this working for VB4?

xony
03-25-2010, 05:52 PM
+1 :)

deepak7
04-02-2010, 05:15 AM
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
04-11-2010, 01:37 AM
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
04-14-2010, 10:19 PM
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
04-17-2010, 10:54 PM
I also had to add this:

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

:D

Keesa
05-08-2010, 04:19 AM
Hmmm. I cannot delete banners, has anyone had that problem?

YYOMERO
08-24-2010, 08:33 PM
i want this mod for vbulletin 4.06

HATED
09-28-2010, 01:53 AM
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
09-29-2010, 08:53 AM
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
03-10-2011, 11:05 PM
Working on 3.8.7 with custom theme!!