Go Back   Webmaster Forum > Development > Programming > JavaScript
REMOVE the ads below !
Reply
 
LinkBack Thread Tools
  # 1 (permalink)
Old
Junior Geek
Posts: 65
Join Date: Feb 2007
iTrader: (0)
Fake board statistics - 10-24-2007

Written for IPB1.3 / invisionfree

this code simply makes the statistics higher, like you got 400 members, this code will make it appear at 600 members (it won't replace it so the number will still increase)
the same with the total boards members in the board statistics
Quote:
Originally Posted by footers
<script>
/* Fake board statistics
by godkillah from phantom-designs.net */
AddPosts=500
AddMembers=500

a=document.getElementsByTagName("b");o=0
for(i=0;i<a.length;i++){
if(a[i].parentNode.innerHTML.match(/Our members have made a total of/i)){
a[i].innerHTML=parseInt(a[i].innerHTML.split(".").join("").split(",").join("") )+parseInt(AddPosts)
AddPosts=AddMembers
o++;if(o==2){
break
}}}
</script>
soz got no preview,

enjoy
Reply With Quote
  # 2 (permalink)
Old
Regular Geek
Posts: 308
Join Date: Nov 2007
iTrader: (0)
Re: Fake board statistics - 11-03-2007

Awesome, that is cool, thanks.
Reply With Quote
  # 3 (permalink)
Old
Junior Geek
Posts: 65
Join Date: Feb 2007
iTrader: (0)
Re: Fake board statistics - 11-04-2007

glad you like it
ty4comment
Reply With Quote
  # 4 (permalink)
Old
Junior Geek
Posts: 86
Join Date: Sep 2007
iTrader: (0)
Re: Fake board statistics - 11-24-2007

i don't mean for this to sound ignorant at all mate...but why would you want to fake your board stats??


Freelance CMS - Where Design Meets Development

Web Design and Development Forums | Portfolio
Reply With Quote
  # 5 (permalink)
Old
Web Developer
Posts: 2,256
Join Date: Feb 2007
iTrader: (0)
Location: Bhopal (MP, India)
Re: Fake board statistics - 11-24-2007

Quote:
Originally Posted by MuscleManiac View Post
i don't mean for this to sound ignorant at all mate...but why would you want to fake your board stats??
umm..... Maybe its suitable for a new forum,
to make it look like a busy and active forum.



Thanx,
Shadab.


My periodic table contains only 1 element : the element of Surprise.
Reply With Quote
  # 6 (permalink)
Old
Regular Geek
Posts: 308
Join Date: Nov 2007
iTrader: (0)
Re: Fake board statistics - 11-24-2007

Yeah, There is also a mod out there that makes your forums look like they have loads of members online at once, i might try it lol.
Reply With Quote
  # 7 (permalink)
Old
Senior Geek
Posts: 559
Join Date: Nov 2007
iTrader: (0)
Location: Romania
Re: Fake board statistics - 11-27-2007

Wow !!!!
Thank's dude I really need it this code..
I will make my forum with 1,000 posts )
Reply With Quote
  # 8 (permalink)
Old
Junior Geek
Posts: 65
Join Date: Feb 2007
iTrader: (0)
Re: Fake board statistics - 12-03-2007

Quote:
Originally Posted by xGriffin View Post
Yeah, There is also a mod out there that makes your forums look like they have loads of members online at once, i might try it lol.
well lets say a beginning board has 5 members and there'd be 30 online.
:P
this code could be nice for the very new boards

ty for comments
Reply With Quote
  # 9 (permalink)
Old
Newbie
Posts: 3
Join Date: Oct 2008
iTrader: (0)
10-01-2008

is really useful for me, I am glad to read it here
Reply With Quote
Reply


Thread Tools




vBulletin®, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. | SEO by vBSEO | Skin developed by vBStyles.com