The Dark Brothers
March 18, 2010, 01:52:39 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Status -
 
  Home Help Search Arcade Gallery Smosh Videos Staff List Login Register  

Tutorial On Adding Games.


Pages: [1]
  Print  
Author Topic: Tutorial On Adding Games.  (Read 25 times)
Dark Chris
Dark Brothers Admins!
Dark Brothers Assistant
*

Reputation: 65535
Posts: 27


Hello i am Dark Chris - Co-owner of Server


View Profile
« on: July 01, 2008, 12:54:04 am »

I see a lot of folks asking about extra games and such ,here is my guide on how to add many games into a dedicated "game" forum

Firstly this all hinges on the fact that admins on SMF forums have the ability to use html tags in their posts on thier own forums. ( some of you may already know this ,many won't )

Code:

Code:
[html]  html code here [/html]



Now that we know that ...

Step 1

create a forum for your games , goto your new forum and begin new topic.

Step 2
Open this link in a new page or tab http://www.miniclip.com/games/en/webmaster-games.php
You will know see a big list of games that you can get code for Smiley
Select a game and press the "get code" button , copy that code to your clip board.


Step 3

Return to your forum new topic and type in the html tags like this ...

Code:

Code:
[html]


[/html]


Or make it centered like this
Code:

Code:
[center][html]

[/html][/center]


Now paste the game code from your clip board between those tags and preview

You may see the "left empty " error , just enter a period after the last tag.


What you have have now looks like this




Code:


Code:
[center][html]
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="640" height="480">
<param name="menu" value="false" />
<param name="movie" value="http://www.miniclip.com/swfcontent/freegames/loader.swf?url=iceslide.swf&name=Ice Slide&icon=%2Fimages%2Ficons%2Ficeslidemedicon.jpg&w=640&h=480" />
<param name="quality" value="high" />
<embed src="http://www.miniclip.com/swfcontent/freegames/loader.swf?url=iceslide.swf&name=Ice Slide&icon=%2Fimages%2Ficons%2Ficeslidemedicon.jpg&w=640&h=480" menu="false" quality="high" width="640" height="480" name="miniclipGame" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

[/html][/center]


Now if all went well preview again and then post .

The game will now be embedded and playable in your post.

I would show it here but i don't have admin permissions for this support forum .
Again this will only work on your own forum that you are admin on !


Here are a few examples on my forum http://shutterbugstroll.smfforfree4.com/index.php/board,24.0.html



P.S.
These games could also be used in an html block on your portal  or elsewhere via your webpage editor

Credits to  Tspeed  ON Smfsupport.com
Share Report Spam   Logged



Server Status =



Pages: [1]
  Print  
 
Jump to:  

Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Hostgator Hosting