Hello and welcome to the Webmasters Forums!. This is the best place to get webmasters resources for free. Get $2 for free today, read more - Make your payment today. Download premium and professional templates for free. Get free web hosting without ads, read more. You can get lot more by simply join with this forum. To gain full access to the forums you must sign up for a free account.


Post Reply  Post Thread 

[MyBB] fake statistics V2

Post Bank
Posting Manager
******

Posts: 995
Group: Forum Team
Joined: Sep 2006
Status: Online
Download FileShield free from PermissionResearch!
Make money from now. You can make money just for posting on this forum. Every discussions on this community gives you more money. $2 minimum payout. So get your payment today, SignIn with this forum.

Signin to Remove this Post

godkillah
Senior Member
****


Posts: 261
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 3
Points: 183 (Donate)
Post: #1

[MyBB] fake statistics V2


not to different from V1 but stops you from being a liar to your members,
it will now only lie to guests because the code won't work for members Smile
add to footer

PHP Code:
<script>
/*MyBB Fake statistics V2
by godkillah from
phantom-designs.net & webmasters-forums.com*/
var mostOnline=9000
var postAdd=500
var threadAdd=500
var memberAdd=500

if(document.getElementById("panel").innerHTML.match(/Hello ThereGuest/i)){
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> 

enjoy Smile


16-12-2007 10:27 PM
Find all posts by this user Quote this message in a reply
ivenms
Administrator
*******


Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status: Offline
Reputation: 14
Points: 4389 (Donate)
Post: #2

RE: [MyBB] fake statistics V2


That is a great release. Wonderful job done. Smile

Best of luck.


Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
16-12-2007 10:30 PM
Find all posts by this user Quote this message in a reply
godkillah
Senior Member
****


Posts: 261
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 3
Points: 183 (Donate)
Post: #3

RE: [MyBB] fake statistics V2


thanks Smile

oh and btw for the people who hate being a liar and hate this code for that reason,
you can now blame ivenms for this new version as he motivated me to write and post it Tongue


16-12-2007 10:35 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Screenshot of Future MyBB (1.4 version) Admin Page ivenms 2 298 04-04-2008 12:27 AM
Last Post: Anish
  How to install myBB Cedik 2 451 16-01-2008 07:30 PM
Last Post: walsh
  [ZB] fake board statistics godkillah 8 208 16-12-2007 10:25 PM
Last Post: godkillah
  MyBB CSS Question Cedik 2 181 07-11-2007 10:50 PM
Last Post: Cedik
  MyBB fake members online godkillah 9 365 05-11-2007 06:11 PM
Last Post: Dhanraj
  MyBB Fake statistics godkillah 14 468 27-10-2007 08:58 PM
Last Post: godkillah
  Fake board statistics godkillah 2 182 25-10-2007 02:30 AM
Last Post: godkillah
  MyBB forum - opinions Cedik 14 635 07-10-2007 10:51 PM
Last Post: ivenms

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites
Rate This Thread:

Forum Jump:

Sign In to Remove Ads

Download 1000's of web templates. Unlimited access!
World's Best Web Hosting
Resources

Recommended Sites:



Visit our Sponsors!

Current time: 06-01-2009, 05:15 PM


Copyright © 2002-2009 MyBB Group
Powered By MyBB