Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[release] Random header image Details »
[release] Random header image
Mod Version: 1.00, by filburt1 (Member) filburt1 is offline
Developer Last Online: May 2007 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 3
Released: 29 Nov 2002 Last Update: Never Downloads: 22
Not Supported  

Author: filburt1
Description: Makes the header image a different image (or likely to be a different image) for each page.
Demo: http://www.webdesignforums.net/?styleid=3 (please don't constantly refresh the page to see all four header images)
Screenshot: n/a, see demo

A simple mod but I'm sure somebody could benefit from it.

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
[Release vb2.0] Send random password instead of activation code bira vBulletin 2.x Full Releases 49 09 Dec 2001 09:51

Comments
  #2  
Old 29 Nov 2002, 03:05
Rufus69's Avatar
Rufus69 Rufus69 is offline
 
Join Date: Oct 2002
hmm is it that thing that goes from all Pixelated to clear texT?

if so I'm installing
Reply With Quote
  #3  
Old 29 Nov 2002, 03:06
filburt1 filburt1 is offline
 
Join Date: Feb 2002
No, and I already posted a tutorial at my forums on how to do that transition
Reply With Quote
  #4  
Old 29 Nov 2002, 04:00
MustangBST MustangBST is offline
 
Join Date: Sep 2004
What does this do. I know you hate to have that question but I didnt see anything



Larry
Reply With Quote
  #5  
Old 29 Nov 2002, 04:23
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Real name: ITS A SECRET
Nice mod filburt, anything thats rotational I like!
Reply With Quote
  #6  
Old 29 Nov 2002, 14:11
Rufus69's Avatar
Rufus69 Rufus69 is offline
 
Join Date: Oct 2002
bah where on your forums?
Reply With Quote
  #7  
Old 29 Nov 2002, 16:02
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Okay, let's say you have four title images: header1.jpg, header2.jpg, header3.jpg, and header4.jpg. The header image you see in your forums will be one of these chosen randomly.

Rufus: top of the page (alternates between clouds, mountains, earth, and the default one)
Reply With Quote
  #8  
Old 29 Nov 2002, 16:28
Rufus69's Avatar
Rufus69 Rufus69 is offline
 
Join Date: Oct 2002
ah Isee it now :0 nice work
Reply With Quote
  #9  
Old 13 Dec 2002, 18:02
MacKenzie's Avatar
MacKenzie MacKenzie is offline
 
Join Date: Oct 2002
Excellent modification, Filburt. I'd seen this done with one of the skins at the relicforums, and liked the idea, especialy as it'll be usefull for my forums where we have a couple title images that everyone wants to use. Thank you for sharing this
Reply With Quote
  #10  
Old 13 Dec 2002, 19:29
MacKenzie's Avatar
MacKenzie MacKenzie is offline
 
Join Date: Oct 2002
Minor problem... I can't get this to work. I changed the header as the instructions noted, and put the code into the phpinclude template as well, changing the paths to where I have my images located... but they don't show.

Here's my phpinclude:

// This code is PHP4 only:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
//AdminCP/ModCP Login Link
if ($bbuserinfo[usergroupid]==6) { //Admins
$adminlogin = "| <a href=\"admin/\">Administrator CP</a><br>";
} elseif ($bbuserinfo[usergroupid]==5) { //Mods
$adminlogin = "| <a href=\"mod/\">Moderator CP</a><br>";
} else { //Everyone else
$adminlogin = "";
}
$totalheaderimages = 4;
$randomindex = rand(1, $totalheaderimages);
$headerimage = "images/$randomindex.jpg";

Here's my header:

<!-- logo and buttons -->
<center>
<table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" align="left" background="{imagesfolder}/menu_background.gif"><a href="index.php?s=$session[sessionhash]"><img src="$headerimage" border="0" alt="$bbtitle"></a></td>
<td valign="bottom" align="right" nowrap background="{imagesfolder}/menu_background.gif">
<!-- toplinks -->
<a href="usercp.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a>
<a href="register.php?s=$session[sessionhash]&action=signup"><img src="{imagesfolder}/top_register.gif" alt="Registration is free!" border="0"></a>
<a href="calendar.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_calendar.gif" alt="Calendar" border="0"></a>
<a href="memberlist.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_members.gif" alt="Find other members" border="0"></a>
<a href="misc.php?s=$session[sessionhash]&action=faq"><img src="{imagesfolder}/top_faq.gif" alt="Frequently Asked Questions" border="0"></a>
<a href="search.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_search.gif" alt="Search" border="0"></a>
<a href="index.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_home.gif" alt="Home" border="0"></a>
<a href="member.php?s=$session[sessionhash]&action=logout"><img src="{imagesfolder}/top_logout.gif" alt="Logout" border="0"></a>
&nbsp;
<!-- /toplinks -->
</td>
</tr>
</table>
<!-- /logo and buttons -->

<!-- content table -->
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="10" cellspacing="0" border="0">
<tr>
<td>
Reply With Quote
  #11  
Old 13 Dec 2002, 19:30
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Are your images in /images/1.jpg, /images/2.jpg, etc?
Reply With Quote
  #12  
Old 13 Dec 2002, 19:35
MacKenzie's Avatar
MacKenzie MacKenzie is offline
 
Join Date: Oct 2002
... no... oops. I named them header1.jpg, header2.jpg, ect. I am guessing that makes a huge differance?
Reply With Quote
  #13  
Old 13 Dec 2002, 19:36
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Just change:

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

to

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

Reply With Quote
  #14  
Old 13 Dec 2002, 19:50
MacKenzie's Avatar
MacKenzie MacKenzie is offline
 
Join Date: Oct 2002
Thanks!

I already changed the names of the files to just numbers, but thank you anyway for that hint. I may go and change it to that method so my other admins know better what the images are and such.

Cheers!
Reply With Quote
  #15  
Old 31 Dec 2002, 17:01
imported_WvD imported_WvD is offline
 
Join Date: Dec 2002
very very nice dude!! many thnx 2 u!!
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 05:58.

Layout Options | Width: Wide Color: