The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

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

View previous topic View next topic Go down

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

Post by darkdeliverians on April 20th 2012, 10: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.

darkdeliverians
New Member

Male Posts : 7
Reputation : 1
Language : English

Back to top Go down

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

Post by Guest on April 20th 2012, 11: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

Guest
Guest


Back to top Go down

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

Post by darkdeliverians on April 21st 2012, 4: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.

darkdeliverians
New Member

Male Posts : 7
Reputation : 1
Language : English

Back to top Go down

View previous topic View next topic Back to top


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