X Arcade Version 1.0

vash shadows 0 Tallied Votes 137 Views Share

Have you ever wanted an arcade for your forum? Well now you can! The best part is you can play the games from x arcade at your forum, and not at some site! The instructions are easy to understand, and in no time you will have an arcade! Unlike If Arcade, you can add your own games!
Features:

QUOTE
You can add your own games, as many as you'd like
Easy to edit.
Every game works for this


Thanks to colonelpup for his add a page trick
Here is an example of X Arcade:
X Arcade Preview!
I will not install the arcade for anyone.
Requirments


Web Space


A Forum


A bit of Html Knowladge

The Steps

Adding a Game
Step 1:
Add a category, call it Arcade Games. Now in that catagory, make a new forum. Name the forum the title of the game you want to add. In this case, we will be showing how to make the game breakout. So we made a new forum called breakout. For permissions, set it to all except the ones you don't want to see the arcade. So for example If I only want members and admins to be able to play, I would set admins to be able to read, and members to be able to read. Ignore all the stuff above it except the title. 
Step 2.
Go to forum control-->Manage forums-->edit forum rules(This thing:), for the forum you just made.
 
And for the Rules title, put <center>Breakout</center> The <center> tag centers the title, so it appears in the middle. Now for Rules text, copy this into it. Change the colored parts:

QUOTE  
<center><p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="650" height="450">
      <param name=movie value="The .swf file">
      <param name=quality value=high>
      <embed src="The .swf file agian." quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="400" height="300">
      </embed> 
    </object><br></center> 


The things in red is the link to the game. The file must end in a .swf to work. Swf stands for shock wave file. Each and every game has one in it's source. If you find a game that you can't find the .swf for, you can either contact me to find it for you, or you can do the instructions below under faq (below). Swf files are full links, example, you can't just put gamename.swf, it needs to be something like "www.thewebsite.com/thegame.swf". The .swf for Breakout is This:
http://12.22.230.41/MicroTech/Hosted/Files-A/breakout.swf
Please download that, and upload it somewhere else. To download it, right click on it and chose save target as.
The things in blue is the height and width of the game, you can edit that, but don't make it too small, or too big. It controls how big the game will be on your screen. 
So 650, by 450 is big. 200 by 250 is small. Do not hit edit forum rules yet. 
Now for Display method, set it to show link only. 
It should look something like this:

Step 3.
Now you can hit Edit forum Rules. Go to the forum you just created (if it isn't there, you didn't set the permission mask for you to be able to view it.), and at the top will be the link to the game you added. For example, Click Here Go to that link. You will see that when you click on that link, it will bring you to the game under your forum. You can now play the game!
Now before you go anywere, get the link of where you are. (at your forum, not mine) Example: http://www.infofeast.com/users/gamefreak11....php?act=SR&f=8 Save it somewhere. (I usually put it in notepad) Note: Do not use the links from my examples on this step! These are from my site, and unless you want to play the games at my site, use the links from your forum!  

Adding the main Page of the Arcade.
Step 4.
Now we need to add a main page for the arcade. Create a new category, call it Arcade. Add a forum under it, and call it Arcade. Once agian for permissions to who you want to be able to play in the arcade. Now edit the rules(). For the Rules title, put this: <center>Welcome to the arcade.</center> Or what ever you want at the top. Like yoursitename's arcade. Now in rules text, add the link to your breakout game. (That link you saved under notepad) Not the .swf file! Here is what you can put to make it in a table. It will include an image, the link, a discription, and what type of game it is. (sport adventure, etc) change the colored parts.:

QUOTE  
<table border=1 width=100%><td><img src="Image Url"></a></td><td><b>Game Name</b></td><td><center><a href="Link to the game(Not the .swf file!)">Play game name</td><td>discription </td><td><b>Type:</b></td></table> 


Here is the image for breakout:
http://12.22.230.41/MicroTech/Hosted/Files-A/breakout1.gif
Agian, download that, and upload it somewhere else. (right click save target as. 
The discription for breakout is: Move the paddle back and forth to hit the ball into the bricks. The type is action. 
It should look something like this:

To add a new row for a new game, delete </table> and add <tr> to the end of that code. Then post this code below it instead of the above code. Then repeat the step of removing </table> to add another game.:

QUOTE  
<td><img src="Image Url"></a></td><td><b>Game Name</b></td><td><center><a href="Link to the game(NOT THE .SWF FILE Use the link you wrote down.)">Play game name</td><td>discription </td><td><b>Type:</b></td></table> 


Keep repeating these steps to add more games. 

Step 5.
Now in display method, set it to show link only. Now hit Edit forum rules. Now go to the forum that you set the arcade to, and agian there should be a link up at the top (Example:Click Here. When you click on the link, it will have the information of the game, discription, etc. Save the link of where you are. and save it somewhere. (agian, not at my site)
Step 6.
Now you need to put the link to the arcade up at the top, near help.
Skinning and styles-->Board wrappers--> Under <% BOARD %> Put this.:

CODE  

<script>
/*
Adding NaviBar Links
By Webworldx
*/
var aLink=new Array()
aLink[0]='<img src="http://69.93.183.37/822/172/upload/p266739.gif" border="0" alt="" width="15" height="15" />&nbsp;<a href="link to the arcade main page">Arcade</a>'

var uCell = document.getElementsByTagName('TD')
for (i=0;i<uCell.length;i++){
if (uCell[i].align=="right" && uCell[i].innerHTML.match("act=calendar") && uCell[i].innerHTML.match("act=Help")){
var addLink=""
for (j=0;j<aLink.length;j++){
addLink+=aLink[j]+" &nbsp; &nbsp;&nbsp;"
}

uCell[i].innerHTML=addLink+uCell[i].innerHTML
}} 
</script>

 



 You can use this picture for the arcade pic. 
Step 7.
Now go back to Forum Control-->Manage forums. 
Edit the category Arcade Games Change Category state to Hidden from forum list
Do the same for the category Arcade.

Here is what it should look like:

Remember to add a new game, you do not have to create another arcade games category. You just have to make a new forum under the category you already made. Since the category you have put it under is invisible, you can't find the link, right? Wrong, find the forum number of the arcade forum, (just go to the main page of the arcade, and there should be a number at the end of the link, that is the forum number) and unless you added another forum before you were going to add another game, you can just set it to one more, and you should be at the forum.
Step 8.
Open Skinning and styles-->Board wrappers-->At the bottom of header and body put this code:

QUOTE  
<center><font color=black><a href="http://invisionfree.com/forums/support/index.php?showtopic=50293&st=0#entry1032028">X Arcade Version 1.0</a> Made by Gamefreak11</center> 



You are done! You added the arcade and breakout! Have fun adding more games! Just do the same thing over agian when adding another game. If you have any questions, ask them here:
http://www.infofeast.com/users/gamefreak11...dex.php?act=idx

I will not install it for you. 


Faq
Q: I found a game that I really want to add to my arcade, but it dosen't end in a .swf! What do I do to get the .swf?
A: Go to the game you want added, then right click, and hit View Source Scroll down until you find something like <embed src After that should be a link to the .swf. Not all sites have the .swf in their source. Sometimes they take it out.

Q: How do I make the forums for the games invisible to the members?
A: Go to the category that your games are under, and set the category state to hidden from forum list. Now your members won't be able to see the forums. 

Q: I'am confused on where to go to edit the forum rules. Where do I go?
A: Go to Admin Cp-->Forum Control-->Manage Forums Now go to the forum you want to edit, and move over to the left. You should see a Triangle that looks kinda like this:  Now click on that. You should come up to an edit screen. And you should know what to do next. 

Q: Could you install it for me?
A: No, sorry. You will have to try your best. Any questions you can ask here:

http://www.infofeast.com/users/gamefreak11...dex.php?act=idx

Q: Where can I find games and their .swf files?
A: You can find them here:
[/i]
http://xvaultgames.clicdev.com/f/index.php?showforum=47

Copy that to the adress bar


Well, Enjoy your Arcade.
gamefreak11 0 Newbie Poster

I'm the real creator, and vash shadows, at least ask for my permission before posting my code.

Starnova 0 Newbie Poster

But unfortunately, with this excellent code... you cannot access the Board wrappers on invisionfree . Is there another way or script to your knowledge that can be really used on invisionfree?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.