|
|
 |
 | Changing The Header from .jpg to .swf |  |
Posted: Sat Dec 13, 2003 12:17 am |
|
|
| whatworks |
| Newbie |
|
 |
| Joined: 12 Dec 2003 |
| Posts: 2 |
| Location: Baltimore |
|
|
 |
 |
 |
|
I want to change the Header_(number).jpg to .swf
I know the header.php contains the images source.
What changes to I make to accept a Flash file in the header?
 |
|
|
|
|
 | Hi Ya |  |
Posted: Sat Dec 13, 2003 1:06 am |
|
|
| aboutweb |
| Visitor |
|
 |
| Joined: 21 Oct 2003 |
| Posts: 27 |
| Location: Seattle Wa |
|
|
 |
 |
 |
|
Upload .swf in the rimage folder
In header.php change to reflect the flash ext.
That should do it
Jim |
|
|
|
|
 | |  |
Posted: Sun Dec 14, 2003 11:45 am |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
Actually you will probably have to work with an object command to make it work. In the header.php file you will find these lines.
<td id=heading><? $pic = array();
$pic[0]="$CONFIG->siteurl/rimages/header_1.jpg";
$pic[1]="$CONFIG->siteurl/rimages/header_5.jpg";
$pic[2]="$CONFIG->siteurl/rimages/header_6.jpg";
$pic[3]="$CONFIG->siteurl/rimages/header_7.jpg";
$pic[4]="$CONFIG->siteurl/rimages/header_2.jpg";
$pic[5]="$CONFIG->siteurl/rimages/header_8.jpg";
$nr=rand(0,5);
echo"<img src=$pic[$nr] border=0>";?>
These are the lines that pic the random picture for the header. To put in a flash header you will end up with some thing like the below instead of the lines above.
<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="690" height="240">
<param name="movie" value="header.swf">
<param name="quality" value="high">
<embed src="intro01.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="690" height="240"></embed></object>
As you can see this includes the link to get the flash player for those few people that don't have it yet. Also if you want this on your join page to make sure you edit the header_locked.php file too.
Shadow |
|
|
|
|
 | |  |
Posted: Sat Jan 10, 2004 10:05 pm |
|
|
|
| Can anyone expand on this a little? I copied and pasted that code to my header file and added the filename of my .swf header, and now my header wont load on my site |
|
|
|
|
Posted: Sun Jan 11, 2004 12:25 pm |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
| Try using the full URL to the flash file. |
|
|
|
|
Posted: Tue Jan 13, 2004 4:34 am |
|
|
|
| I tried that and got the same result.. the page loads everything but my header, then it just hangs when trying to load the header and there is just a big white space where my header is supposed to be. Any other suggestions? |
|
|
|
|
Posted: Tue Jan 13, 2004 8:46 pm |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
Sorry but I am fresh out of ideas now.
Shadow |
|
|
|
|
Posted: Thu Jan 15, 2004 10:59 pm |
|
|
|
| Thank you for your help, i was able to figure it out. My header works everywhere now except when i go to the /radmin/ section. When i go there It is still just a white empty space where the header is supposed to be. Is there a seperate area when i need to put in the new header code for the /radmin/ area? |
|
|
|
|
Posted: Fri Jan 16, 2004 2:39 am |
|
|
|
| I also noticed that in the /radmin section, i cant login at all when the header wont load like that. Any suggestions? |
|
|
|
|
|
|