Home: Select · Advertising · Banner Clients · Content · Donations · Downloads · FAQ · Forums · HtAccesser · HTTP Return Codes · Legal Docs · MetAuthors · PHP-Nuke HOWTO · Private Messages · Profile · Recommend Us · Reviews · Rwh Tos · Search · Stories Archive · Submit News · Surveys · Topics · User Guide · Watched Topics · Web Links · Your Account
Help Keep Our Servers Online AND Our Services Free!
Donations Anonymous May-24 Doulos May-15 Webservant May-11 AndyB May-5 Hotdog May-3
Quality Web Hosting For All PHP Applications
Quality PHP Web Host! Great Reviews! Need help setting up your website, installing Apache, PHP, MySQL, or RavenNuke(tm)? Need help customizing or designing scripts? Please contact us via the Contact Us option for further details and pricing.Link to Me There are more Link To Me icons here .
How to display a Flash object in the PHP-Nuke header
To show Flash in the PHP-Nuke header, you simply have to echo the appropriate HTML code. Since the HTML code for a Flash object is something like
<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=\"350\" height=\"100\">
<param name=\"movie\" value=\"yourMovie.swf\">
<param name=quality value=high>
<embed src=\"yourMovie.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/
index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\"
width=\"350\" height=\"100\"></embed>
</object>
the PHP-Nuke header code should contain something like
echo "<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=\"350\" height=\"100\"> "
."<param name=\"movie\" value=\"yourMovie.swf\"> "
."<param name=quality value=high> "
."<embed src=\"yourMovie.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/
index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\"
width=\"350\" height=\"100\"></embed>"
."</object>";
You can put the above code in the themes/YourTheme/theme.php file, in the themeheader() function, after the call to the banners code:
if ($banners == 1) {
include("banners.php");
}
...put Flash code ("echo") here...
The Flash object will be displayed after the banner, if you have one. See Section 20.6 on how to show Flash in a PHP-Nuke
block.