Clan Adverts

The Latest Game Talk

www.clan-themes.co.uk :: View topic - Theme Header Replacement?

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Theme Header Replacement?
Goto page 1, 2  Next

14 Replies / 5014 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » PhpNuke Theme Questions

View previous topic :: View next topic


DarkWarrior
Reputation: 461.8
Local time: 5:31 PM
Location: U.S.A
blank.gif

Status: Offline
0.04 posts per day
Medals: 0

Joined: Dec 26, 2006
Last Visit: 07 Dec 2007
Posts: 25
Points: 933 

Post Theme Header Replacement? Posted: Thu Feb 15, 2007 6:12 am   

Ok i have a bf2 theme not from yall though Crying , Any way i wont to replace the top benner, which is a flash type banner. With one i had made thats just an image banner. How do i change that banner? Like if some one could post the steps would be great.

Thanks
 

 
View user's profileSend private messageVisit poster's websiteYahoo Messenger Reply with quote

DarkWarrior
Reputation: 461.8
Local time: 5:31 PM
Location: U.S.A
blank.gif

Status: Offline
0.04 posts per day
Medals: 0

Joined: Dec 26, 2006
Last Visit: 07 Dec 2007
Posts: 25
Points: 933 

Post Re: Theme Header Replacement? Posted: Thu Feb 15, 2007 7:25 am   

[quote=DarkWarrior]Ok i have a bf2 theme not from yall though Crying , Any way i wont to replace the top benner, which is a flash type banner. With one i had made thats just an image banner. How do i change that banner? Like if some one could post the steps would be great.

Thanks[/quote]

Below is the codes for the header, what do i change to put in the image banenr?

<?php
if (stristr($_SERVER['SCRIPT_NAME'], "header.php")) {
die ("Access Denied");
}
echo"<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>"
. " <TR>"
. " <TD>"
. " <IMG SRC=\"themes/BF2/images/header1.gif\" WIDTH=17 HEIGHT=247 ALT=\"\"></TD>"
. " <TD width=\"20%\" style=\"background-image: url(themes/BF2/images/header2.gif)\"></TD>"
. " <TD>"
. "
<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\"obj1\"

codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" WIDTH=\"845\"

HEIGHT=\"247\" id=\"logo\" ALIGN=\"\">
<PARAM NAME=movie VALUE=\"themes/BF2/images/logo.swf\"> <PARAM NAME=quality VALUE=best> <PARAM NAME=bgcolor

VALUE=#000000> <EMBED src=\"themes/BF2/images/logo.swf\" menu=false quality=best bgcolor=#000000 WIDTH=\"845\"

HEIGHT=\"247\" NAME=\"nav\" ALIGN=\"\" TYPE=\"application/x-shockwave-flash\"

PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED>
</OBJECT>
</TD>"
. " <TD width=\"20%\" style=\"background-image: url(themes/BF2/images/header3.gif)\"></TD>"
. " <TD>"
. " <IMG SRC=\"themes/BF2/images/header4.gif\" WIDTH=17 HEIGHT=247 ALT=\"\"></TD>"
. " </TR>"
. " </TABLE>"
."";


?>

=================================================
This is what i did to get it to work, but dont look right on the site http://darkwarriors.hkhp.us/

code after change:

<?php
if (stristr($_SERVER['SCRIPT_NAME'], "header.php")) {
die ("Access Denied");
}
echo"<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>"
. " <TR>"
. " <TD>"
. " <IMG SRC=\"themes/BF2/images/header1.gif\" WIDTH=17 HEIGHT=247 ALT=\"\"></TD>"
. " <TD width=\"20%\" style=\"background-image: url(themes/BF2/images/header2.gif)\"></TD>"
. " <TD>"
. "
<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\"obj1\"

codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" WIDTH=\"840\"

HEIGHT=\"210\" id=\"logo\" ALIGN=\"\">
<PARAM NAME=movie VALUE=\"http://img143.imageshack.us/img143/767/blank3copyck6.jpg\">

VALUE=#000000> <EMBED src=\"themes/BF2/images/logo.swf\" menu=false quality=best bgcolor=#000000 WIDTH=\"845\"

HEIGHT=\"247\" NAME=\"nav\" ALIGN=\"\" TYPE=\"application/x-shockwave-flash\"

PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\"></EMBED>
</OBJECT>
</TD>"
. " <TD width=\"20%\" style=\"background-image: url(themes/BF2/images/header3.gif)\"></TD>"
. " <TD>"
. " <IMG SRC=\"themes/BF2/images/header4.gif\" WIDTH=17 HEIGHT=247 ALT=\"\"></TD>"
. " </TR>"
. " </TABLE>"
."";


?>
 

 
View user's profileSend private messageVisit poster's websiteYahoo Messenger Reply with quote

Ped
Reputation: 336.9
votes: 17
Local time: 10:31 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

Post Re: Theme Header Replacement? Posted: Thu Feb 15, 2007 8:10 am   

lol with out looking at it to much by far the easiest way would be to open themes/BF2/theme.php

Find

header.php

Replace with

header.html

then just make your own header in html format
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote




DarkWarrior
Reputation: 461.8
Local time: 5:31 PM
Location: U.S.A
blank.gif

Status: Offline
0.04 posts per day
Medals: 0

Joined: Dec 26, 2006
Last Visit: 07 Dec 2007
Posts: 25
Points: 933 

Post Re: Theme Header Replacement? Posted: Thu Feb 15, 2007 8:19 am   

[quote]lol with out looking at it to much by far the easiest way would be to open themes/BF2/theme.php

Find

header.php

Replace with

header.html

then just make your own header in html format[/quote]

Well being im a noob at this its much easyer to replace one line like i did to get the new banner up. The only thing i dont like it the black line over, and below the banner now.
 

 
View user's profileSend private messageVisit poster's websiteYahoo Messenger Reply with quote

Ped
Reputation: 336.9
votes: 17
Local time: 10:31 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

Ped
Reputation: 336.9
votes: 17
Local time: 10:31 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

Post Posted: Thu Feb 15, 2007 8:44 am   

Right this is the only way i can do this ! stupid poxy forums

http://clan-themes.co.uk/archive/Dark_Warriors_Division_header.txt

use that (can you let me know when you grabbed it so it can be removed)

whilst your old header worked in IE sort off it was the old one in Mozzila this new one should do it
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote




DarkWarrior
Reputation: 461.8
Local time: 5:31 PM
Location: U.S.A
blank.gif

Status: Offline
0.04 posts per day
Medals: 0

Joined: Dec 26, 2006
Last Visit: 07 Dec 2007
Posts: 25
Points: 933 

Post Posted: Thu Feb 15, 2007 10:08 am   

[quote="Ped"]Right this is the only way i can do this ! stupid poxy forums

http://clan-themes.co.uk/archive/Dark_Warriors_Division_header.txt

use that (can you let me know when you grabbed it so it can be removed)

whilst your old header worked in IE sort off it was the old one in Mozzila this new one should do it[/quote]

Well being that i dont know what the above is... All i see from that link is image does not exist..
 

 
View user's profileSend private messageVisit poster's websiteYahoo Messenger Reply with quote

Ped
Reputation: 336.9
votes: 17
Local time: 10:31 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

DarkWarrior
Reputation: 461.8
Local time: 5:31 PM
Location: U.S.A
blank.gif

Status: Offline
0.04 posts per day
Medals: 0

Joined: Dec 26, 2006
Last Visit: 07 Dec 2007
Posts: 25
Points: 933 

Post Posted: Thu Feb 15, 2007 10:27 am   

ok m8, but here is all i see, and im still not sure what your wonting me to do. (im a noob at this)

http://img208.imageshack.us/img208/2818/bnerok9.png

Sorry about the image did it on my laptop, and screwed up on resizing it.
 

 
View user's profileSend private messageVisit poster's websiteYahoo Messenger Reply with quote


Ped
Reputation: 336.9
votes: 17
Local time: 10:31 PM
Location: Great British Empire
uk.gif

Status: Offline
2.35 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 02 Dec 2008
Posts: 1765
Points: 15755 

View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

shixter
Reputation: 483.8
votes: 1
Local time: 3:31 PM
Location: Oklahoma, USA
usa.gif

Status: Offline
0.16 posts per day
Medals: 0

Joined: Feb 06, 2007
Last Visit: 13 Apr 2008
Posts: 109
Points: 2683 

Post Posted: Thu Feb 15, 2007 1:52 pm   

To me the easiest way is to resize your banner image to fit the size of the flash image. Name the files the same and then replace it. Worked for me on a couple other themes with flash images in the header. I guess that really depends on the type of flash image and how its animation works. As long as the animation is contained in the image block you are ok to replace it. It could be different though if the flash image is animated to works outside the normal image dimentions though.
 

 
View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger Reply with quote

Scorpion
Reputation: 471.1
Local time: 9:31 PM
Location: 30 miles from Carentan
blank.gif

Status: Offline
0.41 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Very Important Person
Very Important Person
Joined: Dec 09, 2006
Last Visit: 04 Apr 2008
Posts: 295
Points: 31063 

Post Posted: Thu Feb 15, 2007 2:45 pm   

DarkWarrior..... click the link and when the page pops up with that new 'Page' ( if you are using ie ) click page ( top right of browser ) and then click 'view source'.... it will then show you what you need to write in your new .html file Wink
 

 
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger