|
Reid
|
Jan 23 2010, 12:47 AM
Post #1
|
È una trappola!
- Posts:
- 6,767
- Group:
- Developer
- Member
- #223,645
- Joined:
- October 30, 2006
- I'm Browsing With
- Firefox
|
This topic has been moved from our official support board.
Originally posted by: Hendrick - [CODE
-
Arcade X v6.0; High Scores] Arcade X v6.0! with HIGH SCORES!The most requested feature in Arcade X History has always been high scores. Arcade X finally has high scores now! Preview: Arcade on Communications XAdmin CPOk, the features: - Quote:
-
- Over 100 inbuilt games, with over 35 high score games inbuilt!
- Admin CP for easy game adding!
- Random game feature! And this time, it stays in the arcade window!
- Search! Can't find a game?! Just search it! Now stays in your arcade! And all the new games are autmoatically added into the search.
- Favorites! The favorites are now coded in PHP, so when the cookies get deleted, your favorites arn't deleted!
- Easy! Quick install, and easy management!
- Add games! Because of the coding of Arcade X, you can use any game, even if it doesn't have high scores! Done in the ACP!
- Edit a game! Don't like the describition of a game? Well, with the Admin CP, this can be done, without editing multiple files!
- Game Heights and Width Changable!
- Remove a game! A feature that was broken in Arcade X v5.0 is now back, and it works!
- Pages! Spread your arcade out on multiple pages!
- Categories! Easily view your arcade games in pages!
- Java game compatiable!
- Expand/Collapse Games! A feature that was short lived on Version 3 is now back!
- All pervious bugs have been fixed!
Now, to install. Only a few, simple steps! First, lets register your arcade! Your arcade needs to be on our server, so you can have your own unique arcade! Register Your ArcadeFill out that forum, and then your step one is complete! The submit is a little slow. For any of you that know PHP, theres over 135 Insert Quries! Ok, now, off to step two, the installing it to your forum! First, log into your Admin CP. Then, go to your Board Wraps. In the header and Body section, find: - Code:
-
<% BOARD %>
Above that, add this: - 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=Arcadex") != -1) { document.write('<div style="display:none">') } </script>
No editing is needed in the above part. Now, once again find: - Code:
-
<% BOARD %>
Below that, add: - Quote:
-
<script> /* Adding NaviBar Links By Webworldx */ var aLink=new Array() aLink[0]='<img src="http://img.photobucket.com/albums/v288/Mike4824/atb_arcade.gif" border="0" alt="" /> <a href="http://sSERVER.invisionfree.com/BoardName/index.php?act=Arcadex">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=Arcadex") != -1) { if(username != "Guest") { navstrip.innerHTML+="-> <b><a href='http://sSERVER.invisionfree.com/BoardName/index.php?act=Arcadex'>Arcade</a></b>" document.write('</div>'); document.write('<center><iframe frameborder=0 src="http://arcadex.commx.info/6/index2.php?b=AccountName&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"><center>Sorry, Guests are not allowed to use the Arcade.<br>Please loggin to play a game.</center></div></div>'); document.write('<br>'); } } </script> <script> var iSpan = document.createElement('SPAN') iSpan.innerHTML = " · <a href='http://arcadex.commx.info/6/admin/index.php' target='_blank'><b>Arcade CP</b></a>" if(document.getElementById('userlinks').innerHTML.match(/admin cp/i) != null){ var e = document.getElementById('userlinks').getElementsByTagName('TD')[0]; e.insertBefore( iSpan ,e.childNodes[e.childNodes.length-1]); } </script>
Ok, so, now you have to change a few things.
Change the red to your forum server. Theres two places where you have to change! Change the blue to your forum name. Theres two places! Change the green to the name you registered on the register page.
Now hit edit, and you are done! Enjoy.
We are sorry that we can't offer support here at IF. We will try our best, but we are busy making new codes, and doing other things in life. We appreciate the people who try to make it easy for us, and post their questions on our support forum. Thus, we answer those questions first, and if we have time, we will try to get to the ones here at IF. However, don't expect a reply any time soon. Thanks for understanding. Communications X Forum
|