The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How do I add a SWF file under the heading of my forum?

Go down

How do I add a SWF file under the heading of my forum? Empty How do I add a SWF file under the heading of my forum?

Post by darkdeliverians April 20th 2012, 9:00 pm

Due to personal reasons I won't provide the link to my forum (I don't want anyone to look at it yet, besides me).

So as we all know there's the heading of the forum, which is the logo, the Forum, Search, Profile, Inbox and Logout icons, and then there are the categories and the forums.

I want to add a SWF file to appear underneath the Logo in all of the forum. I mean that it would always be visible, in the homepage, in the categories, forums and subforums.

So my question is, how do I add the SWF file to appear underneath the logo? Or wherever.
avatar
darkdeliverians
New Member

Male Posts : 7
Reputation : 1
Language : English

Back to top Go down

How do I add a SWF file under the heading of my forum? Empty Re: How do I add a SWF file under the heading of my forum?

Post by Guest April 20th 2012, 10:38 pm

Hi!

I see in your profile that your forum version is phpBB2, so:
Go to Administration Panel => Display => Templates => General => overall_header => Edit => Find this code:
Code:
                  <!-- END switch_logo_right -->
               </tr>
            </table>
and after this, you can add the SWF file code, so it would looks like:
Code:
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com
/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="400" height="300" id="movie" align="">
<param name="movie" value="movie.swf">
<embed src="movie.swf" quality="high" width="400"
height="300" name="movie" align=""
type="application/x-shockwave-flash"
plug inspage="http://www.macromedia.com/go/getflashplayer">
</object>
Replace from this movie.swf to link to your swf file. Wink

After this, save and publish your template. Add
avatar
Guest
Guest


Back to top Go down

How do I add a SWF file under the heading of my forum? Empty Re: How do I add a SWF file under the heading of my forum?

Post by darkdeliverians April 21st 2012, 3:41 am

At the end I used this code:

Code:

                          <object>
<embed src="X.swf" width="330" height="33" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>

And it turned out just fine! Smile

Thing is, how do I put it in the center of the page? It is aligned to the left.
avatar
darkdeliverians
New Member

Male Posts : 7
Reputation : 1
Language : English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum