Welcome Guest [Log In] [Register]
Viewing Single Post From: Thunder Arcade 2.0
gamefreak11
Member Avatar
Arcade Coder
[ *  *  *  *  *  * ]
Thunder Arcade Version 2.0 - Installation

The long awaited Thunder Arcade 2.0 has officially arrived. Built from the ground up, this arcade system is the most advanced yet made for invisionfree. Sorry for the delay on posting it here.

Preview
http://z3.invisionfree.com/TA_Preview/index.php?act=Arcade

Features

  • Highscore System
  • Tournaments
  • Full Admin Control
  • Online List
  • Inbuilt with no IFrames
  • Challenges
  • Categories (All Customizable)
  • Rating System
  • Templates
  • Leader Board
  • Settings (Modify Games per page, Sorting,Time Zone etc..)
  • Favorites
And Much More

The Arcade CP is Located Here:
http://thunderservices.net/Arcade/proxgb/arcadecp.php



Installation

Step 1:
Go to the following URL:
http://thunderservices.net/Arcade/proxgb/Registration.php

Fill out all the details. Make sure you remember everything, because it is very important.

Step 2
Return to your Board
Enter the Admin CP
Select on the list on the left "Board Wrappers"
Paste the following in the Javascript Box:
Quote:
 
<script>
function get(name) {
var q = unescape(location.search.substring(1)).split(/[=&]/);
for (var j=0; j<q.length; j+=2) {
if (q[j] == name) {
return q[j+1];
}
}
return null;
}
if (location.href.indexOf("act=Arcade") != -1) {
document.write('<base href="http://thunderservices.net/Arcade/proxgb/" />');
}
</script>


Paste the Following in the Header & Body Box, ABOVE <% BOARD %>:
Quote:
 

<script>
function getu()
{
var user = "Guest";
var valiusr = document.getElementById('userlinks').getElementsByTagName('TD')[0];

if(valiusr.innerHTML.match(/logged in as/i) != null){
if(valiusr.childNodes[0].getElementsByTagName('A').length > 0){
user = valiusr.childNodes[0].getElementsByTagName('A')[0].innerHTML;
} else {
user = valiusr.childNodes[0].innerHTML.split(/: /)[1];
}
}
return user
}
if (location.href.indexOf("act=Arcade") != -1) {
document.write('<div style="display:none">')
}
</script>


(Thanks to Chessnut for the improved Code)


Finally, paste the following BELOW <% BOARD %>

Quote:
 

<script>
var atitle = "Account Name";
var arcadeurl = "http://sSERVER #.invisionfree.com/FORUM NAME/index.php?act=Arcade";
</script>
<script src="http://www.thunderservices.net/Arcade/proxgb/arcade.js"></script>


Replace "Account Name" with the name you entered in step 1.
Replace "SERVER #" with the server # of your invisionfree board. The server number is the number right after the "s" or "z" in your URL.
For example:
s12.invisionfree.com/ThunderArcade/
The server from the above board would be 12.
Or:
z6.invisionfree.com/ThunderArcade/
The server above would be 6.

Replace "FORUM NAME" with the name of your board. In the above examples, the FORUM NAME would be "ThunderArcade".

Now hit "Edit Wrapper".

Congrats, you are finished. :)
Edited by gamefreak11, Jul 3 2009, 05:04 AM.
Offline Profile Quote Post
Thunder Arcade 2.0 · Code Snippets