I would like to install a flash banner (480 x 60) on the header of my forum. Does anyone know if it is possible, or if there's a mod that helps with doing that?
Thanks.
TMax.
Sure it's possible
which theme are you using now ?
Anecdota20bp.
in index.template.php
// The main sub template above the content.
function template_html_above()
{
echo'
<div align="center">
<iframe src="your banner url comes here" widht="480" height=60"></iframe>
</div><br /><br />';
Thank you very much.
I have a related question, how can i post my url banner in the center of the header block?
Quote from: Bugpac ™ on December 07, 2008, 07:02:55 PM
I have a related question, how can i post my url banner in the center of the header block?
can you show me it with a picture,exactly where you want to locate your banner
www.dtsfab.com
I just want to put my logo in the center...
Quote from: Bugpac ™ on December 08, 2008, 10:20:18 PM
www.dtsfab.com
I just want to put my logo in the center...
please attach your index.template.php
Here it is
try that
What if I don't want to use an iframe? Is it possible anyway? Coz dealing with the background of the flash banner specially with transparancy is difficult this way..
I tried to edit directly the index.template.php by deleting
<a href="'.$scripturl.'" title=""><span id="logo"> </span></a>
and puting my flash banner:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0" id="banner" width="400" height="100">
<param name="movie" value="banner.swf">
<param name="bgcolor" value="#FFFFFF">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
<param name="title" value="My logo rocks!">
<param name="standby" value="Loading.. maybe.. I'm not sure..">
<param name="allowscriptaccess" value="never">
<param name="allownetworking" value="none">
<embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" name="banner" width="400" height="100" src="banner.swf" bgcolor="#FFFFFF" quality="high" menu="false" wmode="transparent" title="My logo rocks!" standby="Loading.. maybe.. I'm not quite sure.." swliveconnect="true" allowscriptaccess="never" allownetworking="none">
<noembed>
Get yourself a decent flash player from <a href="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">Adobe</a>
</noembed>
</embed>
</object>
or some simple:
<embed src="banner.swf"></embed>
or even:
<embed src="http://mysiteaddress/path/banner.swf"></embed>
Flash movie didn't even load! >:(
I use SMF 2.0 RC1.2, SimplePortal 2.2.2 and Airy_Midnight Theme by Crip.. No special mods added..
Do you think that this have anything to do with SMF since you used an iframe to reply to this problem? ;) I tried every possible mean please help! :'(
P.S: Sorry for my poor english, english is only my third spoken language.. O:)
The reason it failed is because you had a ' in the line: <param name="standby" value="Loading.. maybe.. I'm not sure..">
If you replace the ' with \' it should work.
Failing that, please open a new topic and attach your index.template.php (this topic is marked solved, it may not get the proper attention from the support people)
I'm sorry that wasn't the problem!! :P
My real content was:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0" id="banner" width="702" height="90">
<param name="movie" value="http://fms.o-n.fr/banner.swf">
<param name="bgcolor" value="#FFFFFF">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
<param name="title" value="FMS: Forum NON-OFFICIEL">
<param name="standby" value="Chargement en cours..">
<param name="allowscriptaccess" value="never">
<param name="allownetworking" value="none">
<embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" name="banner" width="702" height="90" src="http://fms.o-n.fr/banner.swf" bgcolor="#FFFFFF" quality="high" menu="false" wmode="transparent" title="FMS: Forum NON-OFFICIEL" standby="Chargement en cours.." swliveconnect="true" allowscriptaccess="never" allownetworking="none"></embed>
</object>
Instead of:
<a href="'.$scripturl.'" title=""><span id="logo"> </span></a>
in index.template.php of my Airy_Midnight Theme.
It was my host that blocked flash content I don't know why!!! >:(
I changed my host and every thing is going smooth! ;) A free one too! :D Can't afford to have a credit card where I am (Tunisia don't tell it to anyone)! ;D
Thank you anyway! O:)
GOD BLESS SMF AND THE WORLD WIDE WEB! 8)