Welcome to Geeklog, Anonymous Sunday, August 14 2022 @ 08:12 pm EDT

Geeklog Forums

Replacing geeklog-logo.gif with a FLASH FILE


Status: offline

mentorkyrom

Forum User
Newbie
Registered: 11/03/03
Posts: 1
How do I replace the code for uncluding geeklog-logo.gif to something.swf ?

PLEASE e-mail flashytech@comcast.net or reply to this post.


Thank you,
FlashyTech
FlashyTech.com - Another improvement of life.
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
Modify the header.html, for the theme you want changed.
 Quote

Hangfire

Anonymous
So to replace the logo with a swf file i need to change
this

to this
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
So to show the world the code you like to change, use the code button

geKow
 Quote

Hangfire

Anonymous
Sry lol i was just courious if all i had to do was change .gif
to .swf and the replace the logo with one of my own

Hangfire
 Quote

Status: offline

comicbookguy

Forum User
Regular Poster
Registered: 05/15/04
Posts: 97
I think you will have to do a little more than that. Here is a geeklog that uses a flash intro.

you could also add the following code to your header.thtml file:


Text Formatted Code

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="650" height="460">
<param name=movie value="PUBLIC_HTML/YOURFILE.swf">
<param name=quality value=high>
<embed src="PUBLIC_HTML/YOURFILE.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="550" height="360">
</embed>
</object>



 


Modify the path, file name, and the width and height to meet your needs and it should work.

With any luck.

Back up the header.thtml first.

Definitely backup.
 Quote

Status: offline

Hangfire

Forum User
Junior
Registered: 06/07/04
Posts: 23
Thanks abunch ill give that a try tonight.

Hangfire
“People sleep safe in there beds at night because rough men stand ready to do violence on there behalf”
 Quote

Status: offline

DTrumbower

Forum User
Moderator
Registered: 01/08/03
Posts: 507
These sites use flash with geeklog. It looks pretty straight forward, though I don't use flash.

Nextide
Convivio
 Quote

Status: offline

dick

Forum User
Junior
Registered: 05/31/04
Posts: 23
Flash, one of the top 5 biggest annoyances of the internet, right behind PDFs and penis enlargement spam.
 Quote

Status: offline

RanchNachos

Forum User
Newbie
Registered: 05/29/04
Posts: 4
lazy
Seems that website which uses flash has a boo-boo. The index page shows his config.php file.
(as of 10:31pm, EST)
 Quote

Status: offline

Hangfire

Forum User
Junior
Registered: 06/07/04
Posts: 23
Wow that can’t be safe! Well Comicbookguy thanks for the info unfortunately it was a good thing I backed it up cause I sure needed it i will try again tomorrow when I have had some sleep, i do have another quick question though

I just want to replace the geeklog logo.gif with a flash file the same size and then anywhere now where you see the logo you’ll see the flash logo instead, the program I have creates 2 flash files plus some html code to be copied and pasted, my question has to do with the html code, do I place this html code in the header theme file? Or does this html code get put on its own file and then placed in the root directory?

Ok I lied about the quick question

Thanks
Hangfire
“People sleep safe in there beds at night because rough men stand ready to do violence on there behalf”
 Quote

Status: offline

comicbookguy

Forum User
Regular Poster
Registered: 05/15/04
Posts: 97
If you want the Flash file to play in your header than you place the Object tag in the header. If you view the source for the examples of sites using Flash (in this thread) you will see that they are using the same basic tag. Take a look at what they have done and you should be able to figure it out. I use the same thing to display Flash files in stories and static pages on my site. Take a look at what they have done and you should be able to figure it out.

 Quote

Status: offline

xardoz

Forum User
Regular Poster
Registered: 02/24/04
Posts: 98
I'm using it on my site, http://www.deliciousironing.com with a variant of apv_aeon and I haven't had much trouble.
My header.thtml looks like this:
Text Formatted Code
<html>
<head>
<meta name="ROBOTS" content="INDEX,FOLLOW">
<title>{page_title}</title>
<!--
<meta http-equiv="Pragma" content="no-cache">
-->
<link rel="stylesheet" type="text/css" href="{css_url}" title="{theme}">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="absolutebackground">
{plg_headercode}
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><table border="0" cellpadding="0" cellspacing="0" width="100%" class="logoheadtable">
          <tr>
            <td width="101" align="left" class="logoheaderbgleft" rowspan="2">
<MAP NAME="FPMap0">

</MAP>

<SCRIPT LANGUAGE=JavaScript1.1>
<!--
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
                var words = navigator.plugins["Shockwave Flash"].description.split(" ");
            for (var i = 0; i < words.length; ++i)
            {
                if (isNaN(parseInt(words[i])))
                continue;
                var MM_PluginVersion = words[i];
            }
        var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
   && (navigator.appVersion.indexOf("Win") != -1)) {
        document.write('<SCR' + 'IPT LANGUAGE=VBScript> n'); //FS hide this from IE4.5 Mac by splitting the tag
        document.write('on error resume next n');
        document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))n');
        document.write('</SCR' + 'IPT> n');
}
if ( MM_FlashCanPlay ) {
                document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
        document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
        document.write(' ID="brain" WIDTH="100" HEIGHT="100" ALIGN="">');
        document.write(' <PARAM NAME=movie VALUE="http://www.deliciousironing.com/layout/apv_aeon/brain.swf"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=wmode VALUE=opaque> <PARAM NAME=bgcolor VALUE=#FFFFFF>  ');
        document.write(' <EMBED src="http://www.deliciousironing.com/layout/apv_aeon/brain.swf" menu=false quality=high wmode=opaque bgcolor=#FFFFFF  ');
        document.write(' swLiveConnect=FALSE WIDTH="100" HEIGHT="100" NAME="brain" ALIGN=""');
        document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
        document.write(' </EMBED>');
        document.write(' </OBJECT>');
} else{
        document.write('<IMG SRC="http://www.deliciousironing.com/layout/apv_aeon/brain.jpg" WIDTH="100" HEIGHT="100" usemap="#brain" BORDER=0>');
}
//-->
</SCRIPT><NOSCRIPT><IMG SRC="{layout_url}/images/brain.jpg" usemap="#FPMap0" BORDER=0></NOSCRIPT>
            </td>
            <td align="left" class="logoheaderbgright">
              <a href="{site_url}"><img src="{layout_url}/images/dellogo.jpg" width="600" height="68" alt="The Ironing is Delicious" border="0"></a>
            </td>
          </tr>
          <tr class="sloganrow">
            <td class="sloganblock" valign="middle"><div align="right">{site_slogan}</div></td>
          </tr>
          <tr class="welcomeanddate">
            <td colspan="2"
align="left" valign="middle">
              <table width="100%"  border="0">
                <tr>
                  <td class="welcomeblock" width="35%" nowrap>{welcome_msg}</td>
                  <td class="welcomeblock" width="65%" nowrap><div align="right">{datetime}</div></td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td height="27" colspan="2"
align="center" valign="middle" class="navlinks">
 <a href="{site_url}/forum/index.php">Forum</a>  :  <a href="{site_url}/links.php">Link Exchange</a>
  :  <a href="{site_url}/gallery">Galleries</a>
  : 
<a href="{site_url}/profiles.php?uid=2">Contact</a>  : 
<a href="{site_url}/search.php">Advanced Search</a>
           </td>
          </tr>
        </table>
          <table border="0" cellspacing="0" cellpadding="0" width="100%" class="maintablebackground">
            <tr>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td class="padright6"></td>
            </tr>
            <tr> {left_blocks}
                <td width="100%" valign="top">
                  <!-- START OF CONTENT AREA -->
 


I've killed some stuff from the code posting, but there's probably still more info than you really need.
You'll notice that I use a full URL when referencing the SWF file and it's substitute JPG - I was having some problems with the paths as people would surf into subfolders.
Hope this helps!
 Quote

Status: offline

comicbookguy

Forum User
Regular Poster
Registered: 05/15/04
Posts: 97
That's pretty slick.
 Quote

danMc

Anonymous
determined
Quote by comicbookguy: I use the same thing to display Flash files in stories and static pages on my site. Take a look at what they have done and you should be able to figure it out.



I really can't figure out how to get flash to work in a story - (static page yes) - I would really like to maintain the flow of things and include flash in a story. Can you snip me the code you are using? Thanks
 Quote

Xardoz - not logged in.

Anonymous
In a story, you'd have to activate all the HTML tags you'd need via the config.php.
Mind you, I haven't tried this, so I don't know if it'd work or if there are security issues.

But it's a start.
 Quote

All times are EDT. The time is now 08:12 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content