Not Solved Fake board statistics
#1
Not Solved
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
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
Reply
#2
Not Solved
... =/
Reply
#3
Not Solved
lol alot of arbian users was asked me about that, but I didn't encourage it Big Grin
Official Arabic Translator.
Reply
#4
Not Solved
This script is very simple to install and good for new forums.. Smile

Just check the mod with your forum. Am sure that you love it..
WebMasters-Forums.Com [Image: mybbsig.php]

Articles-Home.Com: More than 1,00,000 Articles. Read with your need.
CuteLink: Hide your affiliate links. Make money from CuteLink.
Reply
#5
Not Solved
I don't know who wants to be on a "fake" board with "fake" statistics. Toungue
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply
#6
Not Solved
This is only for fun.. Play with your members.. Toungue

Also helps to attract members for small forums.
WebMasters-Forums.Com [Image: mybbsig.php]

Articles-Home.Com: More than 1,00,000 Articles. Read with your need.
CuteLink: Hide your affiliate links. Make money from CuteLink.
Reply
#7
Not Solved
I could see this being useful during an April Fools Day prank. Maybe make it so it *looks* like the forum has hardly any members, making people think that only their account and some others still exists, until they check the list.
Avatar by Rein.
Reply
#8
Not Solved
Won't necessarily work for small forums. But yeah, best for pranks Toungue
Reply
#9
Not Solved
thanks for comments ^^
Reply
#10
Not Solved
LOL funny but weird to have fake stats though Toungue
[Image: jag100sigaf5.jpg]
[Image: poptartFINALTINY.gif]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)