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
Scripts Conflict
Topic Started: Jul 26 2009, 06:52 PM (261 Views)
k arthur90-ZNS
Member
 *  
> At http://z9.invisionfree.com/Ancient_Legion/, we use many script mods. Most of them have been rehosted on our own forums for easier access.
> We currently use a modified version of this Money Hack: (http://if.invisionfree.com/single/?p=1518632&t=336757) (I just renamed "Money" to CAP, and disabled donations).
> We also use ThunderArcade script.

> The problem is that now some members (only one, for now) are not getting the MoneyHack script, only the Arcade one...

> Heres the modified money hack version: http://i1.ifrm.com/12974/38/upload/p2572632.ibf
> And here's the modifications the Thunder Arcade required:

Document Type:
Code:
 

<!-- ARCADE -->
<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>
<!-- ARCADE -->


Body:
Code:
 

<!-- ARCADE -->
<script type='text/javascript'>
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>
<!-- ARCADE -->
<% BOARD %>
<!-- ARCADE -->
<script type='text/javascript'>
var atitle = "King Arthur";
var arcadeurl = "http://z9.invisionfree.com/Ancient_Legion/index.php?act=Arcade";
</script>

<script src='http://thunderservices.net/Arcade/proxgb/arcade.js' type='text/javascript'></script>
<!-- ARCADE -->
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · zIFBoards - Skinning & Code Support · Next Topic »
Add Reply