2007-10-25, 12:45 PM
Written in javascript
this raises the number of the Total members, total threads, total posts and most members online ever in the board statistics at the bottem of the index
add to footer
find this part:
var mostOnline=9000
var postAdd=500
var threadAdd=500
var memberAdd=500
i don't think it needs to much explained,
the most members online ever raises with 9000, total posts raises with 500. total threads raises with 500 and total members raises with 500
Enjoy
this raises the number of the Total members, total threads, total posts and most members online ever in the board statistics at the bottem of the index
add to footer
Quote:<script> /*MyBB Fake statistics by godkillah from phantom-designs.net & webmasters-forums.com*/ var mostOnline=9000 var postAdd=500 var threadAdd=500 var memberAdd=500 a=document.getElementsByTagName("span") for(i=0;i<a.length;i++){ if(a[i].className=='smalltext' && a[i].innerHTML.match(/Our members have made a total of (.*) posts in (.*) threads/i)){ posts=parseInt(RegExp.$1.split(",").join(""))+postAdd threads=parseInt(RegExp.$2.split(",").join(""))+threadAdd a[i].innerHTML=a[i].innerHTML.split("Our members have made a total of "+RegExp.$1+" posts in "+RegExp.$2+" threads").join("Our members have made a total of "+posts+" posts in "+threads+" threads") if(a[i].innerHTML.match(/We currently have (.*) members registered/i)){ members=parseInt(RegExp.$1.split(",").join(""))+memberAdd a[i].innerHTML=a[i].innerHTML.split("We currently have "+RegExp.$1+" members registered").join("We currently have "+members+" members registered") if(a[i].innerHTML.match(/The most users online at one time was (.*) on/i)){ online=parseInt(RegExp.$1.split(",").join(""))+mostOnline a[i].innerHTML=a[i].innerHTML.split("The most users online at one time was "+RegExp.$1+" on").join("The most users online at one time was "+online+" on") }}}} </script>
find this part:
var mostOnline=9000
var postAdd=500
var threadAdd=500
var memberAdd=500
i don't think it needs to much explained,
the most members online ever raises with 9000, total posts raises with 500. total threads raises with 500 and total members raises with 500
Enjoy