Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Random Logo in Header Details »
Random Logo in Header
Mod Version: 1.00, by Daniel (Designer) Daniel is offline
Developer Last Online: Jan 2019 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.8 Rating: (3 votes - 5.00 average) Installs: 44
Released: 27 Oct 2005 Last Update: Never Downloads: 3
Not Supported Template Edits  

What This Does
This will make a random logo which you select appear on the top of your board.

You must have JavaScript enabled.

Now let's get started, shall we?
Go to your admincp and open up the "header" template.

At the very begining of your header template, add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And replace it with:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And you're done

To add more images, go back to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And after, you can add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And so on.

I know this can be done with a plugin or some sort of installer, but since I have no idea on how to do that, I suppose there won't be one unless someone creates one, or until I figure out how.

If you would like to recieve updates on this modification, please click the 'Install' button.

Daniel
www.mmoccforum.com

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Major Additions vBFlash Header (Lite) - Alternative to default vBulletin logo/header syrus.xl vBulletin 3.6 Add-ons 78 12 Apr 2009 08:52
Random Logo in Header Daniel vBulletin 3.6 Template Modifications 21 21 Sep 2007 09:02

  #16  
Old 30 Oct 2005, 01:58
admiralapril admiralapril is offline
 
Join Date: Nov 2001
Thank you!

I look forward to a plugin for this too, but with the template changes it works nicely.

Ten and fourteen, wow. I'm very impressed.
Reply With Quote
  #17  
Old 03 Dec 2005, 15:44
CSS59 CSS59 is offline
 
Join Date: Nov 2004
Daneil, I can't get this to align with a 3 paert fluid logo.

Here is the code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

you can see it on my test site at http://cardraft.com (not vb cuz it's my test site for php but i have 3 vb's)


can you help me align the 3? They were aligned b4 i put in the script.

Last edited by CSS59; 03 Dec 2005 at 16:01.
Reply With Quote
  #18  
Old 03 Dec 2005, 17:31
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Real name: Daniel
Originally Posted by CSS59
Daneil, I can't get this to align with a 3 paert fluid logo.

Here is the code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

you can see it on my test site at http://cardraft.com (not vb cuz it's my test site for php but i have 3 vb's)


can you help me align the 3? They were aligned b4 i put in the script.
Talked over via AIM.
__________________
Daniel
Reply With Quote
  #19  
Old 03 Dec 2005, 18:11
CSS59 CSS59 is offline
 
Join Date: Nov 2004
here is a simple one that I ended up using.
http://photomatt.net/scripts/randomimage
Reply With Quote
  #20  
Old 28 Jan 2006, 23:58
ambumann ambumann is offline
 
Join Date: Jun 2004
Great one, installed here!
__________________
www.ambulanse-norge.no
Reply With Quote
  #21  
Old 03 Feb 2006, 12:48
Gripemaster Gripemaster is offline
 
Join Date: Oct 2005
I LOVE THIS HACK!!! My only question is... how do I center the headers? As soon as I figure out how to center them the install button will be happily clicked!
Reply With Quote
  #22  
Old 04 Feb 2006, 07:10
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
This is a great hack Daniel. But the only problem I had with it was that you could not click on the banner and have it bring you to the web site that you were advertising. All it did was display a banner. Most people that user banners using them to advertise and they want users to go the advertisors web site. You can not do this unless you have the banner as a active link.

I created this little hack here that seems to do it all. This hack may have room for improvement but it is basic and the banners rotate and are active links.
http://www.vbulletin.org/forum/showthread.php?t=106682
Reply With Quote
  #23  
Old 08 Feb 2006, 20:44
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
i can't seem to find the first bit..

im using element skin.

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



And replace it with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

please help
Reply With Quote
  #24  
Old 10 Feb 2006, 17:05
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
anyhelp?
Reply With Quote
  #25  
Old 13 Feb 2006, 00:10
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Real name: Daniel
Originally Posted by Smiry Kin's
i can't seem to find the first bit..

im using element skin.

Find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



And replace it with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

please help
I don't have any experience with the element skin, but it's just replacing

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with the image that displays your logo.
__________________
Daniel
Reply With Quote
  #26  
Old 20 Feb 2006, 14:28
MarkyD MarkyD is offline
 
Join Date: Jan 2006
Originally Posted by Gripemaster
I LOVE THIS HACK!!! My only question is... how do I center the headers? As soon as I figure out how to center them the install button will be happily clicked!
that's my issue as well. How do I center?
Reply With Quote
  #27  
Old 20 Feb 2006, 15:21
tbaleno tbaleno is offline
 
Join Date: Feb 2006
I changed the line

document.write('<img src="'+theImages[whichImage]+'">');

to

document.write('<center><img src="'+theImages[whichImage]+'"></center>');


I don't know if thats the cleanest way to do it but thats what I did.
Reply With Quote
  #28  
Old 20 Feb 2006, 15:24
MarkyD MarkyD is offline
 
Join Date: Jan 2006
Originally Posted by tbaleno
I changed the line

document.write('<img src="'+theImages[whichImage]+'">');

to

document.write('<center><img src="'+theImages[whichImage]+'"></center>');


I don't know if thats the cleanest way to do it but thats what I did.
thanks so much! that did the trick.
Reply With Quote
  #29  
Old 21 Feb 2006, 18:02
tbaleno tbaleno is offline
 
Join Date: Feb 2006
One comment. I found that when you don't have javascript enabled it shows no image at all. So what I have done is found:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And added this right after:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I think this should work to keep the site consistant when a non java script enabled person visits your site. Also note that the <center> and </center> are optional. I just use them on my board because I like my logo centered.
Reply With Quote
  #30  
Old 22 Feb 2006, 00:37
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Real name: Daniel
Nice idea, thanks for sharing.

And thanks tbaleno for helping out.
__________________
Daniel
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:56.

Layout Options | Width: Wide Color: