MyBB-Plugins Forums

Full Version: My Statistics Signature 1.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Although everybody can see this section and its threads and posts, only subscribers can download attachments. Click here to subscribe.
My Statistics Signature 1.0.0


This PHP script (it's not a plugin) outputs an image with the following stats:
  • Total posts
  • Total Threads
  • Total members
(it used to display the newest member as well but it takes too much space so I removed it)

At the bottom it displays the URL of the home page and at the top, the name of it.
You can also add a small slogan or description by editing the file mystatssig.php (search for 'description', line 55).

I've created this some time ago but I've just decided to release it now.

In mystatssig.php, lines 13-15:
define("NO_ONLINE", 1); // change to 0 if you want to create a new session for each user that views the signature
define("USE_CACHE", 1); // change to 0 if you don't want to use cache
define("HIDE_INFO", 0); // change to 1 if you want to hide the home name/url/description


Edit the file mystatsig.php and change the Description/Slogan to whatever you want (line 55).
Upload the files 'mystatssig.php' and 'mystatssig.png to the root of your MyBB's installation.


Pirata Nervo


Note: by the default it uses cache but you can change that by editing the definition at the top of the file
Hey... Any way that I can make the 'Newest Member' show up again?
Yes, uncomment the following lines:
PHP Code:
//$total_newest_member = $db->fetch_array($db->query("SELECT * FROM ".TABLE_PREFIX."users ORDER BY `uid` DESC LIMIT 0 , 1")); 
PHP Code:
//$total_newest_member['username'] = $stats['lastusername']; 
PHP Code:
//ImageString ($img_handle, 3, 200, 44, "Newest Member: ".$total_newest_member['username'], $color); 

I don't remember if the cache method for getting the newest user was working, but try it
Thank you very much!

The Killer

can anyone tell me about the reputation plugins
huh? You've spammed 4 threads. Bye bye
Nice, I will use this one.
Just subscribed to get several plugins from here. Surprisingly you have wonderful plugins and yet I have wasted monies on other plugin site and did not use it. Sad
Thank you for subscribing. If you need something just ask me Smile
Wow.. i have my statisctics sigy works now [Image: genit.gif]

[Image: mystatssig.php]
@habs I remember you posting the code for it in a thread, next time make sure you don't post the code of my plugins or scripts in threads without my permission. Thank you
Pages: 1 2 3 4