![]() |
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?? |
<embed src="file source here" width="width" height="height" />
|
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. |
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? |
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"> |
Quote:
and where do i place it sir?? i mean place the code. |
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. |
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? |
Yes, edit the relevant template in vBulletin and add your code.
|
Quote:
how do i create a new link? and link the new template to the link? :) |
Can you elaborate on what you want a little? Are you asking how to link to a template you created?
|
Quote:
for example, www.mywebsite.com/"new game template in this page" i hope its clear. |
Just remember, all the templates are is html pages being displayed with php. Treat them exactly as you would regular html files. With that said, http://www.w3schools.com/ may be your best friend.
|
A template is basically the container of the contents that will be displayed on a page, so you have 1/2 the equation -- you just need a page to display your template contents on.
There are a few routes to this: Create your own Page Modification; No PHP Page Creation Needed |
Quote:
Quote:
|
All times are GMT. The time now is 03:28 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|