1 (edited by Johi 2004-05-01 17:16)

Topic: Statistic Image

i've made a little Mod, which creates an Image with the forum's statistic.
Can't explain that.
Here's the generated picture:
http://johi.org/sign_stats.png

And here is the current release:
http://johi.org/sign_stats.zip

Just put the files in your forum's directory and add an image-tag to your signature:

[img]http://your-forums-url.com/sign_stat_en.php[/img]

or

[img]http://your-forums-url.com/sign_stat_de.php[/img]

You can edit the "mypunbb.png" image, but keep it's proportions.

Please Report Errors.

uuh. By the way... You need the GD-Library for PHP.

Sorry for my poor english. I'm german.

EDIT: Btw. I was inspirated by an script called myphpbb.
Did I was allowed to use the PunBB logo?

1.05.2004: I've uploaded a new version.

1.05.2004:(again?) I've uploaded a new version. (468*60 usw.)

2

Re: Statistic Image

Ev!L-E!NsTe!N wrote:

looks nice smile

Good job. smile

Re: Statistic Image

Nice :)

"Programming is like sex: one mistake and you have to support it for the rest of your life."

4

Re: Statistic Image

Thanks.
Do you have any improvement suggestions?

Re: Statistic Image

Well, I would give the logo a little more room on the sides. Perhaps 3 or four pixels more whitespace around it. Also, the line that separates the logo from the stats doesn't go all the way up. Is that on purpose?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

6 (edited by Johi 2004-05-01 08:39)

Re: Statistic Image

Oh. big_smile
No. it isn't. My fault. wink
The 'space-thing' won't be difficult. i'll do that soon.

Did Somebody look at the code?

7

Re: Statistic Image

Well. There's a new version. wink
Look at top post.

It has got more whitespace around the logo and the "statistic-line" bug fixed.

Re: Statistic Image

Ah, that's better. Perhaps one or two more pixels? :D

Now that you have more room between the line and the logo, maybe you should also increase the whitespace between the line and the stats?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Statistic Image

Only bad thing I see with this thing is that the image isn't 468x60. smile

10

Re: Statistic Image

Fixed both.

11

Re: Statistic Image

hey that's ma name in ther! big_smile

12

Re: Statistic Image

big_smile
yes. i used the original data from yesterday.

Re: Statistic Image

One more thing. It's PunBB, not punBB :D

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Statistic Image

Good Hack

I have translate in Italian

Italian

http://makpaolo.altervista.org/punbb/sign_stats_it.php

..:: La pazzia è un'arte ::..

15

Re: Statistic Image

Oh. Yes. PunBB.
big_smile
Ok.
fixed.

16

Re: Statistic Image

Very nice, thanks!
PD: I can't display The Statistic Image on a phpbb forum... :-/

17

Re: Statistic Image

simkin, nice touch to a nice mod.