vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Logo Rotator (https://vborg.vbsupport.ru/showthread.php?t=228130)

Seven Skins 11-15-2009 10:00 PM

Logo Rotator
 
1 Attachment(s)
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.

Quote:

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

Quote:

Originally Posted by CThiessen (Post 1920054)
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

Quote:

Originally Posted by HuntAmerica.com (Post 1948397)
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.

Quote:

Originally Posted by The_Gismo_Man (Post 1948492)
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

Quote:

Originally Posted by Seven Skins (Post 1955274)
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

Quote:

Originally Posted by bart6767 (Post 1955276)
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

Quote:

Originally Posted by VonDoom (Post 1955317)
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

Quote:

Originally Posted by VonDoom (Post 1955331)
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

Quote:

Originally Posted by VonDoom (Post 1955338)
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

Quote:

Originally Posted by Seven Skins (Post 1955378)
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

1 Attachment(s)
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!


All times are GMT. The time now is 06:05 PM.

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.01221 seconds
  • Memory Usage 1,817KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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