Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Arcade?; am looking to add an arcade to my board
Topic Started: Nov 10 2008, 01:34 PM (316 Views)
boy of the corn
Member
 *  
hello i am looking to add an arcade to my board and was wondering if anyone had a code to do this? it would be great if there was one where could choose the games i want or if it had a wide variety of games to chose from. if someone has a code and could talk me through how to do it that would be great. thank you.
Offline Profile Quote Post Goto Top
 
~kato~
Member Avatar
A.K.A Mankato
 *   *   *   *   *   *   *  
Arcade X 7.0
Arcade X 6.0
Thunder Arcade
Thunder Arcade 2.0
Offline Profile Quote Post Goto Top
 
boy of the corn
Member
 *  
I like the thunder arcade and did the steps but i cant figure out what to put in my board wrappers. i already have this:

<body text="#000000" link="#000000" vlink="#000000" alink="#000000" leftmargin="3" topmargin="3" marginwidth="3" marginheight="0">
<table width="850" border="5" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" height="377" bordercolor="#000000" bordercolordark="#000000" bordercolorlight="#000000">
<tr>
<td width="850" height="100%" bgcolor="#000000 " bordercolor="#000000" bordercolorlight="#000000" bordercolordark="#000000">


<% BOARD HEADER %>
<% NAVIGATION %>
<% BOARD %>
<% STATS %>

all other steps are complete
Offline Profile Quote Post Goto Top
 
~kato~
Member Avatar
A.K.A Mankato
 *   *   *   *   *   *   *  
It's explained right here.

Go to your Board Wrappers

Find and replace:

Quote:
 

<% BOARD %>


With:


Quote:
 

<script>
function getu()
{
if(document.getElementById('userlinks').innerHTML.match('Logged in as:'))
{
get=document.getElementById('userlinks').rows[0].cells[0]
user=get.getElementsByTagName('a')[0].innerHTML
return user
}
else
{
user="Guest"
return user
}
}
if (location.href.indexOf("act=Arcade") != -1) {
document.write('<div style="display:none">')
}
</script>
<% BOARD %>
<script>
/*
Adding NaviBar Links
By Webworldx
*/
var aLink=new Array()
aLink[0]='<img src="http://img.photobucket.com/albums/v671/xarcade10/atb_arcade.gif" border="0" alt="" /> <a href="http://sSERVER.invisionfree.com/Forum Name/index.php?act=Arcade">Arcade</a>'

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

uCell.innerHTML=addLink+uCell.innerHTML
}}
</script>
<script>
username=getu()
if (location.href.indexOf("act=Arcade") != -1)
{
if(username != "Guest")
{
navstrip.innerHTML+="-> <b><a href='http://sSERVER.invisionfree.com/Forum Name/index.php?act=Arcade'>Arcade</a></b>"
document.write('</div>');
document.write('<center><iframe frameborder=0 src="http://xgbarcade.com/Arcade/index.php?b=ACCOUNT TITLE&u=');
document.write(username);
document.write('" scrolling="no" height=1850 width=100%></iframe></center>');
}
if(username=="Guest")
{
document.write('</div>');
document.write('<div class="tableborder"><div class="maintitle">Not Allowed</div><div class="tablepad">Sorry, Guests are not allowed to use the Arcade.</div></div>');
document.write('<br>');
}
}
</script>



IMPORTANT: Please make sure you replace everything in red. The arcade might not work if you forget to replace something. Change the RED with your server number,boardname and the account name you registered the arcade with.
Offline Profile Quote Post Goto Top
 
boy of the corn
Member
 *  
great i got it to work. thank you very much
Offline Profile Quote Post Goto Top
 
Silver Surfer
Member
 *  
Step 1:
Go to the following URL:
http://xgbarcade.com/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:

Code:
 
<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;
}
</script>


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


Code:
 
<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>



Finally, paste the following BELOW <% BOARD %>


Code:
 
<script>
var atitle = "Account Name";
var arcadeurl = "http://sSERVER #.invisionfree.com/FORUM NAME/index.php?act=Arcade";
</script>c/code]
<script src="http://www.xgbarcade.com/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".
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards Support & Galleries · Next Topic »
Add Reply