Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

My Statistics Signature 1.0
#1

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

Description

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:
Code:
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

Installation

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.

Demo
http://forums.consoleworld.net/mystatssig.php

Credits
Pirata Nervo

License
license.txt

Note: by the default it uses cache but you can change that by editing the definition at the top of the file


Attached Files
.rar   My Statistics Signature 1.0.0.rar (Size: 16.19 KB / Downloads: 68)
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#2

Hey... Any way that I can make the 'Newest Member' show up again?
#3

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
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#4

Thank you very much!
#5

can anyone tell me about the reputation plugins
#6

huh? You've spammed 4 threads. Bye bye
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#7

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
#8

Thank you for subscribing. If you need something just ask me Smile
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#9

Wow.. i have my statisctics sigy works now [Image: genit.gif]


[Image: mystatssig.php]
Heart
#10

@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
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.




Users browsing this thread: 1 Guest(s)