vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Banner Rotator (Definitive Mod) **UPDATED** (https://vborg.vbsupport.ru/showthread.php?t=133954)

Caddyman 08-26-2007 03:10 PM

ok call me dumb, how do i replace this image with the banner? sidebar_top.gif

Code:

<td style="width: 200px; height: 99px; background-image:url($stylevar[imgdir_misc]/sidebar_top.gif); background-repeat:no-repeat;"></td>

AquilaEagle 08-26-2007 03:22 PM

I've fixed it - removed the files and it sorted itself :)

CrashPush 08-30-2007 05:26 PM

Installed and works great! I love this mod! My favorite mod of this board! 35 different banners rotating on my site!

I'm just waiting for a 'per forum banner' rotator.

stevebullman 08-30-2007 05:38 PM

try this then
https://vborg.vbsupport.ru/showthread.php?t=132716

what i found particulary useful was the coding on the second post in, you can paste that anywhere and have a rotating banner!

kylewood 09-02-2007 02:50 PM

There was an error while moving your file. Please retry.

I get that error, help anyone?

AnabolicResourc 09-03-2007 02:33 PM

Works great !

apokphp 09-15-2007 05:14 AM

Quote:

Originally Posted by Junkie (Post 1142200)
The banner folder is in the images folder correctly with 777 mod. The banner shows up at work on IE6, but not on home cpu with IE7.

I had a similar problem. Turns out it was my anti-virus program. I use Kaspersky (could be others that do it as well). The program is more than just an anti-virus program, it's also anti-spyware, firewall, pop-up, etc...

One of the other things it does, is "anti-spy". It prevents sites from using invasive scripts, often found in banners. I fixed mine by turning off my "anti-banner" protection in my Anti-Spy settings.

If you don't use Kapersky but another system, try to find the settings for anti-banners, turn it off, all should be fixed.

bigraph 09-16-2007 12:43 AM

is it possible for you to come up with a hack that would load X banner in X forum and sub forums, and Y banner for Y forum and subforums. I would appreciate it :)

BrotherX 09-24-2007 01:42 PM

How to call banners outside of the header template, for example in postbit template, becouse it is obvius banners will not load outside of the header with code

Code:

$banner
?

IS300luver 09-28-2007 02:51 AM

After all the mods I still cannot get this work. Does anyone have the files that have been modded so that you can actually upload images? I found those other files a few pages back and it is still not working for me. Thanks -Brandon

plastourgos 10-11-2007 12:12 PM

not working on 3.6.x version

z0diac 10-13-2007 01:07 PM

Ok...

1: It does not allow me to import JPG images.
http://img91.imageshack.us/img91/3418/screen01ye4.jpg

2: I manually copied all my banners from my /graphics directory into my images/banners directory (which I had to create myself) and it's still not loading banners.

http://forum.icedogfans.com

Now I have a forum with no banners at all!

z0diac 10-13-2007 01:15 PM

On top of not working, uninstalling does not revert your header script back to normal, so you have to replace the code back into it that you changed. Sorry, but I have to give this script a low rating. Not working, requires user to create own directories, doesn't uninstall properly, etc... if it's not meant to work on 3.6.8 there should be a huge bold text statement saying so. Says it works on 3.6.4, but doesn't say it doesn't work on 3.6.8

qtouch 10-15-2007 04:34 AM

great hack man just installed and works like a charm.

EDIT : Any ideas why I can't see the banners with Internet Explorer ? works fine firefox but not IE.....

sylar 10-17-2007 06:56 AM

Does any one have the code on how to have the banners link back to the site wiht the $banner on it. Also how can I align them to the left instead of center. I have tried the <left> tag but it does not work.

Thanks in advance.

sylar 10-17-2007 09:44 AM

WellI could not get the code working that people suggested here for the links on the banners. I was only concerned with poiting my banners to my own forum so I used the code below to do this.

<div id="logostrip">$banner<alt="$vboptions[bbtitle]" /> </div>

I was also able to align my banner to the left using the info provided in the code on post 54.

Now the MOD is running flawlessly for me. Love it. I use another product for advertisement banners as this one is not well suited for that.

Thanks for everyones help and insight.

Khashayar581 10-25-2007 02:21 PM

thanks. installed and work fine,
but for me, i doesnt any sence without clickable banners!!!

Jenkins 11-13-2007 01:53 PM

selected image not allowed

*edit* nevermind I'm an idiot, this question was address on the first page :P haha. i had to add image/pjpeg and now it works fine.!

SaltyOnionBalls 11-26-2007 09:16 PM

This hack is the best!

Sorry if this hasn't been asked, but how many banners can we add? Unlimited? :D

ginnser 11-27-2007 04:39 PM

working but dont having problems. how do i mod 0777 ??? whats that all about ?

Cheers

rwoscott 11-27-2007 06:00 PM

Quote:

Originally Posted by ginnser (Post 1390413)
working but dont having problems. how do i mod 0777 ??? whats that all about ?

Cheers

You have to change the read/write/Execute permissions of the uploaded files.

You can usually do this through your FTP client, by looking at the properties or attributes of the file.

I use WinSCP, right click on the uploaded file in the admincp directory, then select properties.
Click all the permission R/W/X boxes, The Octal will change to 0777, and you will be able to use the admincp functions properly.

As you are not having any problems then the above is for your information only.

rwoscott 11-27-2007 06:06 PM

Thanks For the mod, installed and working. nicely.

Is it possible to split the banner?

We used to have a left and right banner, right for display only, left took you to another part of the site. Is it easy/possible to do this?

phonepro 12-04-2007 03:23 AM

i got the Banner rotaror in admin cp when i click add banner i get
this message

The selected file type is not allowed. image/gif

i have checked the chmod ok also jpg file same issue

this is my header can anyone tell me where to add $banner
<!-- logo -->
<a name="top"></a>
<center>
<table border="0" width="100%" cellpadding="0" cellspacing="0" style="background-image:url($stylevar[imgdir_misc]/back.jpg)">
<tr>
<td valign="top"><td valign="top" width="100"><img src="$stylevar[imgdir_misc]/link_02.gif" width="100" border="0" alt="Reviews"/></td>
<td valign="top" width="100">
$banner</td <img src="$stylevar[imgdir_misc]/link_03.gif" width="100" border="0" alt="Articles"/></td>
<td valign="top" width="100"><img src="$stylevar[imgdir_misc]/link_04.gif" width="100" border="0" alt="Downloads"/></td>
<td align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/link_05.gif" alt=""/></td>
$banner
</tr>
</table>
</center>

phonepro 12-06-2007 03:45 AM

can anyone help on this?

rwoscott 12-06-2007 05:38 AM

Quote:

Originally Posted by phonepro (Post 1395951)
can anyone help on this?

Under AdminCP > vBulletin Options > Banner Rotator > Extensions

Do you have image.gif in there??

Also, in the same location what does this field contain?
Default dir for images.

realsumon 12-06-2007 06:50 AM

working fine! Thanks for module

rigodiaz 12-11-2007 12:05 PM

Quote:

Originally Posted by gsmlover4u (Post 1198558)
what is this error
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to access ./images/banners/iklkiu_468x60_01_01.gif/iklkiu_468x60_01_01.gif in /admincp/brotator.php on line 62

Just create a new folder in the images folder with the name "banners", and change mod 777.


Grate Mod, thanks!

mofeu 12-17-2007 07:31 PM

I have a problem when I am trying to upload a banner I have the following error message

The selected file type is not allowed. image/gif

the allowed extensions are jpeg|jpg|png|bmp|gif|image/jpeg|application/x-shockwave-flash

rwoscott 12-17-2007 09:31 PM

Quote:

Originally Posted by mofeu (Post 1403022)
I have a problem when I am trying to upload a banner I have the following error message

The selected file type is not allowed. image/gif

the allowed extensions are jpeg|jpg|png|bmp|gif|image/jpeg|application/x-shockwave-flash

Include image.gif in the allowed extensions. Remember to include a pipe | to separate each item.

Robert Paulson 12-18-2007 01:48 AM

Nice hack. It took some work to get up and running, but I'm a total noob so it's to be expected.

And I apologize if this has been covered, but is there a way to keep an existing logo on the left of the header and load the banners to the right, like below. :o

I've been back and forth for an hour with other issues like the installation, new file extensions, etc., I'm just spent and need a quick fix.

http://i243.photobucket.com/albums/f...willis/bnr.jpg

Mary517 12-21-2007 12:51 AM

I'm doing something wrong. I've uploaded the 2 files into the file manager (into several places, was confused by "root" vs "admincp" folders.) Have made all R/W/X 777. Have uploaded in Plugins & Products - Manage Products. The "Banner Rotator" appears in vBulletin Options list of stuff. Have edited the header to display the banner. (Have edited settings to show it on the right, 468 x 60.)

But after refreshing the admincp the Banner Rotator dropdown does not show up on the left. That is, the dropdown to banner functions, like the Styles & Templates, Languages & Phrases and so on.

I'm guessing there is one simple thing I haven't done, but I haven't figured it out. (Have read this thread.)

Thanks for any suggestions and help! :)

Robert Paulson 12-21-2007 02:48 AM

Quote:

Originally Posted by Mary517 (Post 1405848)
I'm doing something wrong. I've uploaded the 2 files into the file manager (into several places, was confused by "root" vs "admincp" folders.) Have made all R/W/X 777. Have uploaded in Plugins & Products - Manage Products. The "Banner Rotator" appears in vBulletin Options list of stuff. Have edited the header to display the banner. (Have edited settings to show it on the right, 468 x 60.)

But after refreshing the admincp the Banner Rotator dropdown does not show up on the left. That is, the dropdown to banner functions, like the Styles & Templates, Languages & Phrases and so on.

I'm guessing there is one simple thing I haven't done, but I haven't figured it out. (Have read this thread.)

Thanks for any suggestions and help! :)

Try logging out of your Admin CP, close out the browser, then open it up again and log back in.

ReadOrDie 12-21-2007 03:01 AM

If I have multiple skins how do I make it so certain banners only appear for certain skins? If I have two different skins I don't want the same banners appearing for each one.

CMGU 12-21-2007 10:45 PM

thats great thanks


*install

CMGU 12-21-2007 10:49 PM

- Go to your AdminCP > Style Manager > YOUR SKIN > Edit HEADER template and find:

Quote:

<img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" />
and replace with
$banner
You have to do this in all skins

Mary517 12-22-2007 12:09 AM

Quote:

Originally Posted by Robert Paulson (Post 1405894)
Try logging out of your Admin CP, close out the browser, then open it up again and log back in.

thx - no luck

In the Plugin - Manage Products I am not sure which file was to be uploaded. I have tried it with product-brotator.xml and with brotator.php. (Deleting the previous try and starting over each time.) I don't know where the Manage Products places the actual file, so perhaps that one isn't 777'd and that is the problem.

I have uploaded the files brotator.php and product-brotator.xml into several places in the file manager in the attempt to get it running. Both files are now located at the root-root of the server, one level down in the public_html folder, in public_html/admin (with a number of admin php files,) public_html/admincp (created because it was mentioned in this thread,) public_html/forums/, public_html/images. All are chmod 777. If I figure out which is the working folder/file I'll delete the others.

Appreciate any tips. I look forward to being another happy brotator user. :)

Leon44 12-22-2007 08:10 PM

Hello I have a small question. Can you select what skin you want each banner to display on?

xcesiv 12-24-2007 09:59 AM

How Can i make the banner rotator left aligned

Yaqoob 12-24-2007 10:10 AM

nice work but i need by arabic Language if you can support me then i will be install :)

parash 12-31-2007 06:46 PM

i have a question to devloper and and others as well .. i need exactly something like this .. which can change banner whenever you refresh and reload the forum .. but the position is diffrent ..in my site ( its a radio site ) i have made groups .. Rj group .. dj Group .. spammer group and staff group .. so like people are in that group ..so i would upload few banner banner for certain group and .. banners should appear in the user posts and threads .. and everytime they refresh it changes .. banner rotater ..here is how it should looks .. this is my forum without banner i made a box where banner should appear ..
https://vborg.vbsupport.ru/

and this is a site that already have that banner thing in them .. this is how it looks there ( dont know if links are allowded so i didnt mention it here)
https://vborg.vbsupport.ru/


All times are GMT. The time now is 10:52 AM.

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

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

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete