Inserting Swish Flash into Header

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Inserting Swish Flash into Header
pride
CZ Super Newbie
pride has been a member for over 20 year's 20 Year Member
Website:
Status: Offline
Joined: Oct 21, 2003
0.01 posts per day
Posts: 45
Points: 2,998
AIM Address   
[ Register or login to view links on this board. ]

I think you have a nukecops account, so I am hoping you might be able to help me with this problem I am having. I tried to copy and paste the code into a thread here using the (code) command, but it didnt work, so I will just link back to nukecops.
[ Register or login to view links on this board. ]



Back to top Reply with quote
#2   re: Inserting Swish Flash into Header
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
Kelly_Hero has been a member for over 20 year's 20 Year Member
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.50 posts per day
Posts: 3765
Points: 351,412
   
The error you're getting means that you're missing a semi-colon in your code. It's pointing to line 84 in theme.php. I believe it's in the Javascript that's included in the code produced by Swish.

So let's try getting rid of the Javascript and see if that gets rid of the error.
Find the following code in your theme.php (It should be in line 84.):

<img src=themes/Xtreme2/images/logo.jpg>


Replace it with this:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=xpara WIDTH=800 HEIGHT=100>
<PARAM NAME=movie VALUE="fitesheader.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#222222>
<EMBED src="fitesheader.swf" quality=high bgcolor=#FFFFFF  WIDTH=800 HEIGHT=100 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>


That should hopefully get rid of the error and show your Flash header.

Kelly


Back to top Reply with quote
#3   re: Inserting Swish Flash into Header
pride
CZ Super Newbie
pride has been a member for over 20 year's 20 Year Member
Website:
Status: Offline
Joined: Oct 21, 2003
0.01 posts per day
Posts: 45
Points: 2,998
AIM Address   
Thank you, I have been trying that. I still get the same error messages about the , or ;. I have been doing some reading about the (embed) tag, and I ended up with this code. Same thing happens though, it reserves the spot in my header for flash, but it just doesnt play.


/* Header HTML Code */
echo "<table border=\"1\" cellpadding=\"1\" cellspacing=\"0\" align=\"center\" width=100% bordercolor=\"#FF9900\" bgcolor=\"#FF9900\">
    <tr>
        <td align=\"center\" valign=\"top\" bgcolor=\"#222222\">
        <div align=\"center\">

         
         <object type=\"application/x-shockwave-flash\" data=\"c.swf?path=fitesheader.swf\" width=\"800\" height=\"100\">
         <param name=\"movie\" value=\"c.swf?path=fitesheader.swf\" />
         </object>   

                  
      </div></td>
    </tr>
</table>

<table border=\"1\" cellpadding=\"1\" cellspacing=\"0\" align=\"center\" width=100% bordercolor=\"#FF9900\" bgcolor=\"#FF9900\">
    <tr>
        <td align=\"center\" width=\"150\" bgcolor=\"#222222\">
        <font color=\"#FFFFFF\"><font class=\"content\">$theuser</font></font></td>
        <td align=\"center\" bgcolor=\"#222222\">Serving Harrisburg, and the rest of Central Pennsylvania!
        <td align=\"center\" width=\"150\" bgcolor=\"#222222\">
        <font color=\"#FFFFFF\">
      <a href=\"admin.php\">Administrator Login</a>
        </font></td>
    </tr>
</table>
<br>";

    echo "<table border=\"0 cellpadding=\"4\" cellspacing=\"0\" width=\"100%\" align=\"center\"><tr><td>"
        ."<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"><tr><td valign=\"top\" width=\"150\">";
    blocks(left);
    echo "<border=\"0\" width=\"150\" height=\"1\"></td><td>  </td><td width=\"100%\" valign=\"top\">";

}



Back to top Reply with quote
#4   re: Inserting Swish Flash into Header
pride
CZ Super Newbie
pride has been a member for over 20 year's 20 Year Member
Website:
Status: Offline
Joined: Oct 21, 2003
0.01 posts per day
Posts: 45
Points: 2,998
AIM Address   
Also, the second error is in the header.php file.


function head() {
    global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;
    $ThemeSel = get_theme();
    include("themes/$ThemeSel/theme.php");
    echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
    echo "<html>\n";
    echo "<head>\n";
    echo "<title>$sitename $pagetitle</title>\n";

   /*START BAN SYSTEM*/
   include("includes/blocker.php");
   /*STOP BAN SYSTEM*/

    include("includes/meta.php");
    include("includes/javascript.php");
   
    if (file_exists("themes/$ThemeSel/images/favicon.ico")) {
   echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
    }
       
    echo "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n";
    include("includes/my_header.php");
    echo "\n\n\n</head>\n\n";
==========>    themeheader();  <===========
}



Back to top Reply with quote
#5   re: Inserting Swish Flash into Header
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Attach the theme.php and if it has one the header.html.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#6   re: Inserting Swish Flash into Header
pride
CZ Super Newbie
pride has been a member for over 20 year's 20 Year Member
Website:
Status: Offline
Joined: Oct 21, 2003
0.01 posts per day
Posts: 45
Points: 2,998
AIM Address   
Thanks!



Attached Files
fites.zip (3.52 KB, Downloaded: 5235 Time(s))


Back to top Reply with quote
#7   re: Inserting Swish Flash into Header
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Try this theme.php replace the fitesheader.swf with you swf (2 places)



Attached Files
theme.txt (15 KB, Downloaded: 5236 Time(s))



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#8   re: Inserting Swish Flash into Header
pride
CZ Super Newbie
pride has been a member for over 20 year's 20 Year Member
Website:
Status: Offline
Joined: Oct 21, 2003
0.01 posts per day
Posts: 45
Points: 2,998
AIM Address   
Closer, but still not working... thanks for trying, but don't worry about it. icon_neutral.gif



Back to top Reply with quote
#9   re: Inserting Swish Flash into Header
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Put that theme.php up so i can see it on the site please. We will fix it.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#10   re: Inserting Swish Flash into Header
pride
CZ Super Newbie
pride has been a member for over 20 year's 20 Year Member
Website:
Status: Offline
Joined: Oct 21, 2003
0.01 posts per day
Posts: 45
Points: 2,998
AIM Address   
it is... I copied it up... what you are seeing on [ Register or login to view links on this board. ] is what it does... it moved the 2 JPGs apart and put the Flash in between.

I appreciate all of the help fellas!



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum