1
rurbania
Flash logo problem..
  • 2004/2/26 15:12

  • rurbania

  • Just popping in

  • Posts: 15

  • Since: 2004/2/17


Ok, inserted some flash code into the theme.html file to replace the static XOOPS logo.

When you goto any MAIN menu items like Downloads, News, etc, it's just blank, and the flash isn't loading.

But, in other places, it works fine.

Not working:http://www.pcandnetworking.com

Working:]http://www.pcandnetworking.com/user.php#lost

Any idea what's causing this not to load?

Here is a snippet of the theme.html file.

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<
head>
<
meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<
meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<
meta name="robots" content="<{$xoops_meta_robots}>" />
<
meta name="keywords" content="<{$xoops_meta_keywords}>" />
<
meta name="description" content="<{$xoops_meta_description}>" />
<
meta name="rating" content="<{$xoops_meta_rating}>" />
<
meta name="author" content="<{$xoops_meta_author}>" />
<
meta name="copyright" content="<{$xoops_meta_copyright}>" />
<
meta name="generator" content="XOOPS" />
<
title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<
link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<
link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_url}>/xoops.css" />
<
link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_themecss}>" />
<!-- 
RMVadded module header -->
<{
$xoops_module_header}>
<
script type="text/javascript">
<!--
<{
$xoops_js}>
//-->
</script>
</
head>
<
body>
  <
table cellspacing="0">
    <
tr id="header">
      <
td id="headerlogo"><center>
<
OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
    
ID=logo WIDTH=150 HEIGHT=80>
    <
PARAM NAME=movie VALUE="logo.swf">
    <
PARAM NAME=loop VALUE=false>
    <
PARAM NAME=quality VALUE=high>
    <
PARAM NAME=bgcolor VALUE=#2F5376>
    
<EMBED src="logo.swf" quality=high bgcolor=#2F5376 loop=false
        
WIDTH=150 HEIGHT=80 TYPE="application/x-shockwave-flash"
        
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </
EMBED>
</
OBJECT>
</
center> </td>
      <
td id="headerbanner"><{$xoops_banner}></td>
    </
tr>
    <
tr>
      <
td id="headerbar" colspan="2">&nbsp;</td>
    </
tr>
  </
table>

  <
table cellspacing="0">
    <
tr>
      <
td id="leftcolumn">
        <!-- 
Start left blocks loop -->
        <{foreach 
item=block from=$xoops_lblocks}>
          <{include 
file="default/theme_blockleft.html"}>
        <{/foreach}>
        <!-- 
End left blocks loop -->

2
cuckston
Re: Flash logo problem..
  • 2004/2/26 18:38

  • cuckston

  • Quite a regular

  • Posts: 268

  • Since: 2004/1/19


I see that you have made this in swish and that you havent registered it yet as it's coming up with lots of randomn letters. If this is the case could it just be that swish is trying to prevent you from posting these on the web somehow??

3
rurbania
Re: Flash logo problem..
  • 2004/2/26 19:49

  • rurbania

  • Just popping in

  • Posts: 15

  • Since: 2004/2/17


Quote:

cuckston wrote:
I see that you have made this in swish and that you havent registered it yet as it's coming up with lots of randomn letters. If this is the case could it just be that swish is trying to prevent you from posting these on the web somehow??


Nah wasn't it. I had to re-register Swish, because it forgot the key, but that doesn't even make a difference. Now my words are not scrambled, but I knew how to fix that..




4
pod
Re: Flash logo problem..
  • 2004/2/26 20:06

  • pod

  • Quite a regular

  • Posts: 301

  • Since: 2003/4/19


First I'd try simply inserting the full url to ur flash file, ie
PARAM NAME=movie VALUE="http://www.pcandnetworking.com/logo.swf"

If that fails, try replacing the code for ur flash with the following

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="150" height="80" hspace="0" vspace="0" align="left">
<param name="movie" value="<{$xoops_url}>logo.swf" />
<param name="quality" value="high" /><param name="BGCOLOR" value="#2F5376">
<embed src="<{$xoops_url}>logo.swf" width="150" height="80" hspace="0" vspace="0" align="left" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#2F5376"></embed></object>


hope this helps

5
rurbania
Re: Flash logo problem..
  • 2004/2/26 20:26

  • rurbania

  • Just popping in

  • Posts: 15

  • Since: 2004/2/17


Quote:

thepod wrote:
First I'd try simply inserting the full url to ur flash file, ie
PARAM NAME=movie VALUE="http://www.pcandnetworking.com/logo.swf"



That worked thanks! I actually hardcoded the url in every where it said "logo.swf" and it works.

Thanks!


Login

Who's Online

139 user(s) are online (68 user(s) are browsing Support Forums)


Members: 1


Guests: 138


heyula,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits