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
Board Stats Above Boards; By Zero Tolerance
Topic Started: Jan 25 2010, 09:15 AM (90 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Zero Tolerance
Board Stats Above Boards
 
This will move the "statistics" table abvoe your forums

In Header & Body, under "<% NAVIGATION %>"
Code:
 
<div id='BoardStats'></div>


Then in your footer:
Code:
 
<script>
// Board Above Boards
// Created By Zero Tolerance
// ©2003-2004 Game Zone | Evolution, All Rights Reserved

TD = document.getElementsByTagName('td')
for(t=0;t<TD.length;t++){
check = TD[t].innerHTML.match(/(\d+) user\(s\) active in the past 15 minutes/)
if(TD[t].className == "pformstrip" && TD[t].colSpan == "2" && check){
Table = TD[t].parentNode.parentNode.parentNode.parentNode
Build = "<div class='tableborder'>"
Build += Table.innerHTML
Build += "</div><br />"
document.getElementById('BoardStats').innerHTML = Build
Table.parentNode.removeChild(Table)
}
}
</script>


Enjoy,

- Zero Tolerance
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply