Static image stats

Watch Me Sink

Madly Diligent
Joined
Dec 31, 2007
Messages
6,381
Reaction score
1
FP$
83
What is the .php file that I have to upload so that I can get static image stats i my sig
EX
10 members 100 posts 34 topics
 
I made my own.

if it is popular i will post a tutorial for it on my new website :thumb:
 
It's pretty simple to make if you know how to make images with php, then you just use the:

$config['num_posts']
$config['num_topics']
$config['num_users']
$config['sitename']
etc.
To get your stats -🙂-
 
Of course, just putting that in some PHP image code doesn't work. You also need the:
Code:
define('IN_PHPBB', true);
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.'.$phpEx);
Might need something else, too...

spyka's one is really good.
 
Great stuff. I use it in my sig. I edited it to make it smaller of course.
 
Mine adds the stats to an already created image rather than creating just a coloured bar 😛
 
I like my colored bars. They are cool. They change colors every time the page loads. -razz- -razz- -razz-
 
Zyenet said:
Of course, just putting that in some PHP image code doesn't work. You also need the:
Code:
define('IN_PHPBB', true);
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.'.$phpEx);

Yer, I know that 😉 those are just the variables you use to get the posts number, members etc.
 
Back
Top Bottom