PDA

View Full Version : Miscellaneous Hacks - Logo Rotator


Seven Skins
11-15-2009, 10:00 PM
LOGO ROTATOR

This small hack/scrpit will rotate logo in vb4.x (In fact I have been using this script since vb 3.6)

I got this script from the Internet long time back so all the credit goes to the author of the script.

Installation:
1) You need to upload the contents of the folder "upload" to the root directory of your site.
2) Then upload the logo's you want to rotate to "images/titleimage/" directory. (Delete example images from this folder else they will be used by rotation script)
---Images must be of all same size else the page jumps as the images gets taller or shorter.
--- Images can be in jpg, gif and png format.
3) Edit the title image path in stylevars to "images/titleimage/logo.php". (See screenshot)


Updates:

22 Dec 09: Working with vBulletin 4.0.0 (Gold)

.

merk_aus
11-17-2009, 02:09 AM
Thanks mate been trying to get this done for four days now! Legend!

Alibass
11-17-2009, 04:37 AM
Thanks, nice job. Tagged for later install. :)

Silencer Groans
11-18-2009, 12:54 AM
Thanks

Prorockz
11-20-2009, 07:46 AM
thanks . installed

Nightridr
11-21-2009, 03:34 AM
Thanks tagged for install later.:up:

CThiessen
11-24-2009, 10:21 AM
Hi,
i try that on my Test Forum.
It works with CMS also (Beta 4).

Tx
Christian

Extravagent
11-25-2009, 03:55 AM
Ay, mate. Thank you so much! =)

cyclical
12-03-2009, 05:01 PM
Tagged for install, thanks!

Delilahs
12-03-2009, 06:53 PM
fault in the label of the directories.

3) Edit the title image path in stylevars to "images/titleimages/logo.php". (See screenshot)

Should read

3) Edit the title image path in stylevars to "images/titleimage/logo.php". (See screenshot)

all done and working on my site

Seven Skins
12-04-2009, 09:50 AM
^ Edited.

Thanks

.

cyclical
12-05-2009, 03:46 AM
Hi,
i try that on my Test Forum.
It works with CMS also (Beta 4).

Tx
Christian



I confirm this... running beta 4 and this works on the CMS page, flawlessly.

Seven Skins
12-05-2009, 04:19 PM
Yes it is working on CMS and vb4.0 beta 5.

1st Post edited.

.

Baf_Jams
12-09-2009, 07:13 PM
Cant get my pics to show
I know i done i'm in the right area cause when i change the stylevar back to default the original pic appears
I using Gif images and also the default 1.png wont show
I get a x instead of a image
When i right click/properties tells me that i i am in the correct place
I uploaded all the upload file to root file and edited the stylevar ?

Seven Skins
12-10-2009, 11:58 AM
You need to upload the "titleimage" folder to "images" folder then it will work.
Or you can uplaod it anywhere but make sure you use correct path in stylevars.

VonDoom
01-04-2010, 12:52 PM
Installed again. actually now this is standard on every one of my forums. this might be the only mod that i have installed on every single vB forum i own.. good stuff

Cmangum
01-05-2010, 02:24 AM
I believe I followed the instructions as mentioned, I don't have a titleimage directory, the original vbulletin log is in misc. I tried there but could not make it work

Seven Skins
01-05-2010, 02:27 PM
You have to make a folder on your webserver to make this work.

garretbyrne
01-05-2010, 03:04 PM
Cheers Mate

molieman
01-05-2010, 07:23 PM
Will the php code work in a Widget?

Thinking of rotating pics in a widget or forum side blocks, if possible?

HuntAmerica.com
01-06-2010, 01:25 AM
how do i link a banner image (logo) to the website that it represents

The_Gismo_Man
01-06-2010, 04:58 AM
This is a great addon, however, could it be coded to run on the right hand side of the header or even the footer areas?
I already have a logo placed in titleimage but feel this banner addon would suit me if i could place it to the right of my header but under the my profile and settings part in VB4.

Sadly, i'm no coder, so, any help greatly appreciated for this fantastic idea

HuntAmerica.com
01-06-2010, 04:54 PM
Apparently this program only rotates the logo it isnt a banner rotation program. Does anyone know where i can find a banner rotation program for VB 4

Seven Skins
01-08-2010, 09:58 AM
how do i link a banner image (logo) to the website that it represents

You need to find ad banner rotator. there are many on google. This only rotates the images.

This is a great addon, however, could it be coded to run on the right hand side of the header or even the footer areas?
I already have a logo placed in titleimage but feel this banner addon would suit me if i could place it to the right of my header but under the my profile and settings part in VB4.

Sadly, i'm no coder, so, any help greatly appreciated for this fantastic idea

This can be used anywhere, on any site, footer, header, what ever. you just to put full url of the rotator script.

e.g. www.site.com/logo.php

Cmangum
01-08-2010, 06:02 PM
I have created a folder in images named titleimage, I placed 3 images in the folder, I added the logo.php and the index to public_html which is where my forum is located. won't work. I'm sure I'm doing something wrong cause apparently it works

Seven Skins
01-08-2010, 08:24 PM
Titleimage folder has to be in images folder.
And then you need edit the stylevars of titleimage to "images/titleimage/logo.php"

.

Cmangum
01-11-2010, 01:08 AM
That's where it is and I made the edit change as well

bart6767
01-14-2010, 03:54 AM
The only way i can get the logos to move is by hitting F5 ?

Version 4.0.1

Seven Skins
01-14-2010, 09:01 AM
You have refresh the page or click on the logo.
This mod does not rotate the logo automatically.

.

bart6767
01-14-2010, 09:05 AM
You have refresh the page or click on the logo.
This mod does not rotate the logo automatically.

.

Is there another which does rotate automatically ?

As i see on the link below it works everythime you move page ?

http://www.doberman-chat.com/forums.php

VonDoom
01-14-2010, 10:02 AM
Is there another which does rotate automatically ?

As i see on the link below it works everythime you move page ?

http://www.doberman-chat.com/forums.php

This is the hack im using on my site. It works on every page refresh or page change. you can upload as many images as you like. one of my favorite hacks that allowed my to closely replicate my old 3.8 site. (i have not modified this product in any way.)

bart6767
01-14-2010, 10:08 AM
This is the hack im using on my site. It works on every page refresh or page change. you can upload as many images as you like. one of my favorite hacks that allowed my to closely replicate my old 3.8 site. (i have not modified this product in any way.)

wont refesh for me unless i hit f5 .

http://www.randalstowncsc.net/

I have 5 banners and have did what was said in the 1st post .

VonDoom
01-14-2010, 10:15 AM
It is refreshing on page load for me. i just went to your site and seen no problems. although it doesn't change every time, It is working properly as far as i can tell. Tip the more pictures you load in your header the more likely the random image wont repeat 2 times in a row on refresh. Thats all thats happening on your board. it just repeat the same picture once in awhile. In other words its randomly choosing the same picture now and then. add more pics that will reduce the likelihood of a repeating picture twice in a row. I actually have over 30 pictures in my logo rotator.

-------------------------
Edit i take that back you are correct it only changes on refresh and is static when browsing page to page. this is something the hack author Seven Skins will have to look into for you.

bart6767
01-14-2010, 10:17 AM
It is refreshing on page load for me. i just went to your site and seen no problems. although it doesn't change every time, It is working properly as far as i can tell. Tip the more pictures you load in your header the more likely the random image wont repeat 2 times in a row on refresh. Thats all thats happening on your board. it just repeat the same picture once in awhile. In other words its randomly choosing the same picture now and then. add more pics that will reduce the likelihood of a repeating picture twice in a row. I actually have over 30 pictures in my logo rotator.

ok thanks i will try that .

VonDoom
01-14-2010, 10:26 AM
Sorry read my edit above. it isnt working correctly on your forum

bart6767
01-14-2010, 10:31 AM
Sorry read my edit above. it isnt working correctly on your forum

dont know whats up with it .

Seven Skins
01-14-2010, 11:28 AM
Check for "Add No-Cache HTTP Headers" in the settings and you are using some HTML compressor, that might be casuing an issue.

.

bart6767
01-14-2010, 04:50 PM
Check for "Add No-Cache HTTP Headers" in the settings and you are using some HTML compressor, that might be casuing an issue.

.

I have turned then two off and its still the same .

CrosseyedGamer
01-15-2010, 09:14 PM
This thing is nice! Working well.

I do have a question, there is a small gap between my image and the navbar. I don't think it has anything to do with this mod but if someone can tell me how to make the image flush to the navbar I would appreciate it.

Thank you.

GrayFox24
01-17-2010, 08:24 PM
Thank you so much man! Used on our site!

http://gamerzcreed.com

Again thank you!

CrosseyedGamer
01-17-2010, 09:47 PM
Thank you so much man! Used on our site!

http://gamerzcreed.com

Again thank you!

Grayfox ?? You got something new going again. :-)
The GameDen theme works well. We used it prior to the upgrade. Hit me up if you want to chat and compare notes. (CEG Highlander)

FYI - we have resolved the gap issue I posted on and it had nothing to do with this mod which is again, very good and working well.

thanks.

GrossKopf
01-26-2010, 08:23 PM
This only rotates the logo on top of your banner. What setting do I change in the admin CP to have it rotate out the actual banner?

vortodox
03-06-2010, 06:27 PM
Life saver! :D
Thanks allot for this!

Manoel J?nior
03-07-2010, 12:24 AM
Love hack man..

Thanks

Cloverfield
03-09-2010, 12:19 AM
Worked like a charm. Thank you very much :)

Alan_SP
03-21-2010, 12:29 AM
Excellent, really excellent!!!

Thank you!

goxy63
05-01-2010, 11:19 AM
Can it rotate swf files in header?
Probably not, than any ideas how to menage this?

Thanks

Seven Skins
05-04-2010, 08:11 AM
^ No it is not possible with this script.

War.Frog
05-24-2010, 06:07 PM
Does this allow for changing the header background as well or just the logo image itself?

War.Frog
06-03-2010, 11:29 AM
I'll take that as a no. :D

shane greer
07-04-2010, 02:39 PM
Really need some help guys... I somehow have mucked this up. I deleted the files in images/titleimage by accident so I redownload the files form here and placed them in the correct folder. Nothing is showing on my forum but a big X. When I go to stylevars to point to the logo.php file it doesnt keep that url and instead it just says 'array' and the images dont display on my forum.

shane greer
07-04-2010, 06:09 PM
Anyone know what this 'array' thing is and why it changes a url to that word?

Gero50
07-29-2010, 03:04 AM
Installed works great, very nice script

kingharrison
09-05-2010, 12:22 PM
Would it be possible to only rotate banners on forumhome, and then display a different constant banner for the rest of the forum?

Arae
09-21-2010, 08:19 AM
Does this add-on make my headers(banners) rotate every refresh?

charl13dontsurf
09-26-2010, 10:14 PM
This is awesome. Thanks man. Especially the reusable quality of it for different sections of my site. Wicked..

thunderclap82
09-27-2010, 03:30 AM
As others have asked/requested, is it possible to have a different link with each logo?

speedracer68
10-09-2010, 02:32 AM
Works great on 4.0.7

Thanks!

LichtMann
01-03-2011, 03:43 PM
It's strange but I get always the same image. Any suggestions?

Seven Skins
01-03-2011, 05:13 PM
^ Make sure there are more then one image in "titleimage" folder.

meissenation
02-17-2011, 09:59 PM
Really need some help guys... I somehow have mucked this up. I deleted the files in images/titleimage by accident so I redownload the files form here and placed them in the correct folder. Nothing is showing on my forum but a big X. When I go to stylevars to point to the logo.php file it doesnt keep that url and instead it just says 'array' and the images dont display on my forum.

Anyone know what this 'array' thing is and why it changes a url to that word?


I don't know how I did it but I'm having the same problem. I copied the line exactly as it was in the instructions - "images/titleimage/logo.php" and pasted it into titleimage and it's changing it to "Array" and won't work. Thankfully it's somehow still showing the logo I was using so it's not noticeable to visitors but it's definitely not rotating.

Seven Skins
02-17-2011, 10:42 PM
Link to your site would be be nice, else I don't know how to fix the error.

meissenation
02-17-2011, 10:59 PM
Fixed it - was conflicting with the CSS edit I made hardcoding the logo image into the vbulletin.css

Sorry - move along! :o

Seven Skins
02-17-2011, 11:07 PM
Yes I was going to say that ... logo has been removed from your skin.
This is working fine: http://www.mifbody.com/vbulletin/images/titleimage/logo.php

.

MJDalton
03-06-2011, 07:29 AM
Awesome Hack Thanks

Popa Andrei
12-13-2011, 07:30 PM
for me the images are not laoding.
www.elitegamers.co

funinbc
12-14-2011, 12:49 AM
Will the php code work in a Widget?

Thinking of rotating pics in a widget or forum side blocks, if possible?


can anyone tell if this would work and how to do it?

Jonm
12-14-2011, 04:52 PM
tagged for later

Manoel J?nior
01-24-2012, 09:41 PM
Very usefful!!

ProFifaLeagues
01-24-2012, 10:37 PM
We have our images in the Center of the Forum home but is there a way we could keep them positioned there with this mod??


EDIT:

Forgot we have this to use https://vborg.vbsupport.ru/showthread.php?t=265213&highlight=logo
Which auto centered Smaller banners we used with this mod!
Installed and working superb thank you

Toorak Times
01-29-2012, 01:32 PM
Love this mate, suits my purposes down to the ground, I'll download soon

Raioneru
02-18-2012, 11:08 PM
I'm using it and it works great, except that every time you load a new page it loads a banner like if it was a new picture, is there any way to avoid this?

Dark Pulse
08-14-2012, 10:51 AM
Works wonderfully on 4.2.0. Just what I needed, since I'm running a contest on my forums to let users make banners that will be rotated. :)

Thanks for making this very painless!

Jonm
08-14-2012, 01:30 PM
installed and working

ricardoNJ
04-24-2013, 05:18 AM
Working on 3.8.4 thanks

Spangle
04-26-2013, 02:14 PM
Installed and working on 4.2.0 PL3

Thanks

NoMatt3r
06-06-2013, 09:53 AM
Using it with 4.2.1

Very easy installation without any problems but you have to refresh the cache so banner changes take affect. But still very nice :)

Toorak Times
06-06-2013, 02:43 PM
Using it with 4.2.1

Very easy installation without any problems but you have to refresh the cache so banner changes take affect. But still very nice :)

Hi have same, so it doesn't rotate automatically, only on refresh? cheers

NoMatt3r
06-06-2013, 03:27 PM
It changes now. Just takes some time. Not on every refresh but like every 2 minutes :)

scdurwood
06-12-2013, 01:40 PM
using this to rotate the header background.

in the stylevar:

url(yourheaderimagefolder/logo.php)

Stan993
08-22-2013, 11:21 AM
a guide? I can not

infaddict
11-14-2013, 03:23 PM
Working great under 4.2.2. Thanks!

Harpo
11-15-2013, 09:05 AM
Doesn't work for me here. Not rotating for me. I uploaded everything and added two logos to the folder to rotate.

Should I add my path to the logos in the logo.php file?

I'm on 4.2.2 I also have the full width logo mod (https://vborg.vbsupport.ru/showthread.php?t=245702)installed. could that be conflicting?

EDIT: Got it working now.

Toorak Times
05-19-2014, 03:02 PM
Got this working on 4.2.2pl1 working fine, love it!