The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Integration of .swf files
Hello, how do we integrate .swf files into vbulletin forum??
i want to add a game with the file .swf to my forum, any ideas?? |
#2
|
||||
|
||||
<embed src="file source here" width="width" height="height" />
|
#3
|
||||
|
||||
It's the same concept as implementing it on a regular page. Just place the relevant HTML wherever you'd like the game shown.
If you want to place it on a page of its own there are several tutorials in the Article Depository on Creating a Custom Page in vBulletin. |
#4
|
|||
|
|||
Thanks but how do i get the code from the .swf file??
i have got the file ready and i want to integrate the game into my web. dont i have to upload it first somewhere in the server then add a link? |
#5
|
||||
|
||||
Correct, the .SWF file needs to be uploaded to your server.
Code:
<object width="X" height="Y" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"> <param name="movie" value="/path/to/flashfile.swf" /> <embed src="/path/to/flashfile.swf" width="X" height="Y" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> |
#6
|
|||
|
|||
Quote:
and where do i place it sir?? i mean place the code. |
#7
|
||||
|
||||
The HTML code should be placed wherever you'd like the game to be shown.
I also updated the code I posted previously, use it instead of the previous one. |
#8
|
|||
|
|||
Quote:
okay so here's what i do, Open the Cpanel upload the file, then place the code whenever i want the game to be shown? and i just write the file name in the path? then done? |
#9
|
||||
|
||||
Yes, edit the relevant template in vBulletin and add your code.
|
#10
|
|||
|
|||
okay i will be wokring on it thanks.
how do i create a new link? and link the new template to the link? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|