Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes
Author Message
Mamasita
Client



Joined: May 10, 2003
Posts: 40

PostPosted: Tue Aug 31, 2004 4:13 pm Reply with quote

Hello to all

Please someone guide me on how to add a Flash header to my phpnuke site. I'm using the deepblue theme and please tell me where to add this code...thanks
Code:
<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="780" height="171">

        <param name="movie" value="06mobilecomm_1.swf">
        <param name="quality" value="high">
        <param name="LOOP" value="false">
        <embed src="06mobilecomm_1.swf" width="780" height="171" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
 
View user's profile Send private message
GanjaUK
Life Cycles Becoming CPU Cycles



Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Tue Aug 31, 2004 4:35 pm Reply with quote

You need to add it in theme.php in the Function themeheader() section somewhere inside the table. If its a whole new header then you will need to delete most of the current header table with your new sized table.

You will need to change the code so it works in php.
Code:


<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=\"780\" height=\"171\">
<param name=\"movie\" value=\"06mobilecomm_1.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"LOOP\" value=\"false\">
<embed src=\"06mobilecomm_1.swf\" width=\"780\" height=\"171\" loop=\"false\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Mamasita







PostPosted: Tue Aug 31, 2004 4:54 pm Reply with quote

Thanks, GanjaUk
This is what I did with the code you posted and I'm getting this error...
Quote:

Parse error: parse error, unexpected '/' in /home/reglhyloy/public_html/themes/deepblue/theme.php on line 117



Quote:

function themeheader() {
global $user, $banners, $sitename, $slogan, $cookie, $prefix, $anonymous;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = $anonymous;
}
echo "<body bgcolor=\"orange\" text=\"#000000\">\n";
if ($banners) {
include("banners.php");
}
echo "<br>\n"
."<table cellpadding=\"0\" cellspacing=\"10\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#BC0021\">\n"
."<tr>\n"
."<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=\"780\" height=\"171\">
<param name=\"movie\" value=\"06mobilecomm_1.swf\">
<param name=\"quality\" value=\"high\">
<param name=\"LOOP\" value=\"false\">
<embed src=\"06mobilecomm_1.swf\" width=\"780\" height=\"171\" loop=\"false\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed></object>

."</tr>\n"
."</table>\n"
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Aug 31, 2004 5:24 pm Reply with quote

Try this
Code:
function themeheader() { 

global $user, $banners, $sitename, $slogan, $cookie, $prefix, $anonymous;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = $anonymous;
}
echo "<body bgcolor=\"orange\" text=\"#000000\">\n";
if ($banners) {
include("banners.php");
}
echo "<br>\n"
."<table cellpadding=\"0\" cellspacing=\"10\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#BC0021\">\n"
."<tr>\n";
?>
<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="780" height="171">
        <param name="movie" value="06mobilecomm_1.swf">
        <param name="quality" value="high">
        <param name="LOOP" value="false">
        <embed src="06mobilecomm_1.swf" width="780" height="171" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
<?
echo "</tr>\n"
."</table>\n"
 
View user's profile Send private message
Mamasita







PostPosted: Tue Aug 31, 2004 6:08 pm Reply with quote

Thanks, Raven and GanjaUK Smile It works..you're the best.

RavensScripts
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Themes

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©