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

This topic has been moved from our official support board.

Originally posted by: HimuraX
Board Statistics Above Boards
 
Ad this under <% NAVIGATION %>

Ad this part in your Footer:
Code:
 


<script>
// Created By Himura - InvisionFree Coder
// Board Statistics Above Boards - Leave Copyright Inact For Legal Use

Object = document.getElementsByTagName('TD');
for(x=0;x<Object.length;x++){
if(Object.item(x).className=="row4" && Object.item(x).width=="95%" && Object.item(x).align=="left"){
Object.item(x).innerHTML.match(/total of <b>(\d+)<\/b> post/i);
ObjPosts = RegExp.$1
Object.item(x).innerHTML.match(/We have <b>(\d+)<\/b> registered/i);
ObjMembers = RegExp.$1
Object.item(x).innerHTML.match(/member is <b><a href="(.+?)>(.+?)<\/a><\/b>/i);
ObjLink = RegExp.$1
ObjMemText = RegExp.$2
Object.item(x).innerHTML.match(/online was <b>(\d+)<\/b> on <b>(.+?)<\/b>/i);
ObjNumber = RegExp.$1
ObjDate = RegExp.$2
Build = '<div class="tableborder">'
Build+='<div class="maintitle">Board Statistics</div>'
Build+='<table cellpadding="4" cellspacing="1" border="0" width="100%"><tr>'
Build+='<td class="pformstrip" colspan="2">'
Build+='Board Statistics'
Build+='</tr><tr><td class="row2" width="5%" valign="middle"><img src="http://i1.ifrm.com/style_images/1/stats.gif" border="0"></td>'
Build+='<td class="row4" width="95%" align="left">Our member have made a toal of <b>'+ObjPosts+'</b> posts<br />We have <b>'+ObjMembers+'</b> registered members<br />The newest member is <b><a href="'+ObjLink+'">'+ObjMemText+'</a></b><br />Most users ever online was <b>'+ObjNumber+'</b> on <b>'+ObjDate+'</b></td>'
Build+='</tr></table></div><br /><br />'
document.getElementById('BoardStats').innerHTML = Build
}
}
</script>

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