Current time: 05-20-2012, 09:49 AM Hello There, Guest! (LoginRegister)




MySubscriptions, Donation Bar, MyDownloads, MyAchievements and support for our free and paid plugins. All that for $7!

Advertise Here!
Are you looking to advertise on this forum? Please read this announcement thread.

Post Reply 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My Statistics Signature 1.0
05-23-2009, 05:34 PM (This post was last modified: 08-17-2009 08:08 AM by Pirata Nervo.)
Post: #1
My Statistics Signature 1.0
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 File(s)
.rar  My Statistics Signature 1.0.0.rar (Size: 16.19 KB / Downloads: 58)

[Image: s.png]
Find all posts by this user
Quote this message in a reply

05-23-2009, 10:58 PM
Post: #2
RE: [Release] My Statistics Signature
Hey... Any way that I can make the 'Newest Member' show up again?
Find all posts by this user
Quote this message in a reply
05-23-2009, 11:17 PM
Post: #3
RE: [Release] My Statistics Signature
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

[Image: s.png]
Find all posts by this user
Quote this message in a reply
05-29-2009, 10:09 PM
Post: #4
RE: [Release] My Statistics Signature
Thank you very much!
Find all posts by this user
Quote this message in a reply

06-08-2009, 04:42 PM
Post: #5
RE: [Release] My Statistics Signature
can anyone tell me about the reputation plugins
Find all posts by this user
Quote this message in a reply
06-08-2009, 11:12 PM (This post was last modified: 06-08-2009 11:15 PM by Pirata Nervo.)
Post: #6
RE: [Release] My Statistics Signature
huh? You've spammed 4 threads. Bye bye

[Image: s.png]
Find all posts by this user
Quote this message in a reply
09-30-2009, 02:41 AM
Post: #7
RE: My Statistics Signature 1.0
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
Find all posts by this user
Quote this message in a reply

09-30-2009, 03:21 AM
Post: #8
RE: My Statistics Signature 1.0
Thank you for subscribing. If you need something just ask me Smile

[Image: s.png]
Find all posts by this user
Quote this message in a reply
10-13-2009, 09:36 AM
Post: #9
RE: My Statistics Signature 1.0
Wow.. i have my statisctics sigy works now [Image: genit.gif]


[Image: mystatssig.php]

Heart
Visit this user's website Find all posts by this user
Quote this message in a reply
10-14-2009, 04:11 AM
Post: #10
RE: My Statistics Signature 1.0
@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

[Image: s.png]
Find all posts by this user
Quote this message in a reply

Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)