PDA

View Full Version : Logo Rotator


Seven Skins
16 Nov 2009, 21:29
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
17 Nov 2009, 03:09
Thanks mate been trying to get this done for four days now! Legend!

Alibass
17 Nov 2009, 05:37
Thanks, nice job. Tagged for later install. :)

Silencer Groans
18 Nov 2009, 01:54
Thanks

Prorockz
20 Nov 2009, 08:46
thanks . installed

Nightridr
21 Nov 2009, 04:34
Thanks tagged for install later.:up:

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

Tx
Christian

Extravagent
25 Nov 2009, 04:55
Ay, mate. Thank you so much! =)

cyclical
03 Dec 2009, 18:01
Tagged for install, thanks!

Delilahs
03 Dec 2009, 19:53
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
04 Dec 2009, 10:50
^ Edited.

Thanks

.

cyclical
05 Dec 2009, 04:46
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
05 Dec 2009, 17:19
Yes it is working on CMS and vb4.0 beta 5.

1st Post edited.

.

Baf_Jams
09 Dec 2009, 20:13
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
10 Dec 2009, 12:58
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
04 Jan 2010, 13:52
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
05 Jan 2010, 03:24
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
05 Jan 2010, 15:27
You have to make a folder on your webserver to make this work.

garretbyrne
05 Jan 2010, 16:04
Cheers Mate

molieman
05 Jan 2010, 20:23
Will the php code work in a Widget?

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

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

The_Gismo_Man
06 Jan 2010, 05:58
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
06 Jan 2010, 17:54
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
08 Jan 2010, 10:58
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
08 Jan 2010, 19:02
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
08 Jan 2010, 21:24
Titleimage folder has to be in images folder.
And then you need edit the stylevars of titleimage to "images/titleimage/logo.php"

.

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

bart6767
14 Jan 2010, 04:54
The only way i can get the logos to move is by hitting F5 ?

Version 4.0.1

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

.

bart6767
14 Jan 2010, 10:05
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
14 Jan 2010, 11:02
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
14 Jan 2010, 11:08
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
14 Jan 2010, 11:15
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
14 Jan 2010, 11:17
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
14 Jan 2010, 11:26
Sorry read my edit above. it isnt working correctly on your forum

bart6767
14 Jan 2010, 11:31
Sorry read my edit above. it isnt working correctly on your forum

dont know whats up with it .

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

.

bart6767
14 Jan 2010, 17:50
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
15 Jan 2010, 22:14
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
17 Jan 2010, 21:24
Thank you so much man! Used on our site!

http://gamerzcreed.com

Again thank you!

CrosseyedGamer
17 Jan 2010, 22:47
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
26 Jan 2010, 21:23
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
06 Mar 2010, 19:27
Life saver! :D
Thanks allot for this!

Manoel Júnior
07 Mar 2010, 01:24
Love hack man..

Thanks

Cloverfield
09 Mar 2010, 01:19
Worked like a charm. Thank you very much :)

Alan_SP
21 Mar 2010, 01:29
Excellent, really excellent!!!

Thank you!

goxy63
01 May 2010, 12:19
Can it rotate swf files in header?
Probably not, than any ideas how to menage this?

Thanks

Seven Skins
04 May 2010, 09:11
^ No it is not possible with this script.

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

War.Frog
03 Jun 2010, 12:29
I'll take that as a no. :D

shane greer
04 Jul 2010, 15:39
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
04 Jul 2010, 19:09
Anyone know what this 'array' thing is and why it changes a url to that word?

Gero50
29 Jul 2010, 04:04
Installed works great, very nice script

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

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

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

thunderclap82
27 Sep 2010, 04:30
As others have asked/requested, is it possible to have a different link with each logo?

speedracer68
09 Oct 2010, 03:32
Works great on 4.0.7

Thanks!

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

Seven Skins
03 Jan 2011, 18:13
^ Make sure there are more then one image in "titleimage" folder.

meissenation
17 Feb 2011, 22:59
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
17 Feb 2011, 23:42
Link to your site would be be nice, else I don't know how to fix the error.

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

Sorry - move along! :o

Seven Skins
18 Feb 2011, 00:07
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
06 Mar 2011, 08:29
Awesome Hack Thanks

Popa Andrei
13 Dec 2011, 19:30
for me the images are not laoding.
www.elitegamers.co

funinbc
14 Dec 2011, 00:49
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
14 Dec 2011, 16:52
tagged for later

Manoel Júnior
24 Jan 2012, 21:41
Very usefful!!

ProFifaLeagues
24 Jan 2012, 22:37
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 http://www.vbulletin.org/forum/showthread.php?t=265213&highlight=logo
Which auto centered Smaller banners we used with this mod!
Installed and working superb thank you

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

Raioneru
18 Feb 2012, 23:08
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
14 Aug 2012, 11:51
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
14 Aug 2012, 14:30
installed and working

ricardoNJ
24 Apr 2013, 06:18
Working on 3.8.4 thanks

Spangle
26 Apr 2013, 15:14
Installed and working on 4.2.0 PL3

Thanks