This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-09-17 07:56:50

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Tell the date on the forums!

Just a little php script I made will display this:
http://cyberkidscountry.com/upload/ip.php

To do this use this code:

Code:

[img]http://bit.ly/q4HWIc[/img]

(Based of WindowsExplorer's IP detector)

And it is open-source:

Code:

<?php
header("Content-type: image/png");
$d = date('D');
$m = date('M');
$D = date('d');
$y = date('y');
$string = "    $d the $D of $m, 20$y " . $_SERVER[''];
$im = imagecreatefrompng("http://plaxon.comyr.com/images/button.PNG");
$color = imagecolorallocate($im, 88, 88, 88);
$px = (imagesx($im) - 7.5 * strlen($string)) / 4;
$py = 9;
$fontSize = 5;
 
imagestring($im, fontSize, $px, $py, $string, $color);
imagepng($im);
imagedestroy($im);
?>

Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#2 2011-09-17 09:48:44

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Tell the date on the forums!

404 Not Found  sad


/* No comment */

Offline

 

#3 2011-09-17 09:51:14

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: Tell the date on the forums!

TheSuccessor wrote:

404 Not Found  sad

Fixed!  smile


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#4 2011-09-17 10:06:53

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Tell the date on the forums!

Cool! This is like a bottle of awsomeness! Maybe we could work on autoupdating images together!


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#5 2011-09-17 10:08:02

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Tell the date on the forums!

Create an account on gopher forums (www.gopherprogramming.weebly.com/forums) so we can chat privately!


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#6 2011-09-17 10:24:25

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Tell the date on the forums!

Also, if you don't mind, I added this to my own Auto Updating Images topic  smile


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#7 2011-09-17 10:26:46

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: Tell the date on the forums!

Lol.  It was based off the IP finder.  Sorta.  tongue


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#8 2011-09-17 10:36:15

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Tell the date on the forums!

Uh... What time zone is this in? 'cause for me it's only the 17th.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#9 2011-09-17 10:39:50

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: Tell the date on the forums!

markyparky56 wrote:

Uh... What time zone is this in? 'cause for me it's only the 17th.

I believe it'd GMT + 10 :S
But I thought it was based on your pc, not on me :S


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#10 2011-09-17 10:45:20

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Tell the date on the forums!

wulfmaster wrote:

markyparky56 wrote:

Uh... What time zone is this in? 'cause for me it's only the 17th.

I believe it'd GMT + 10 :S
But I thought it was based on your pc, not on me :S

Apparently not... my computer says its only 15:44 17/09/11, but the little image says 18th.

Edit. Looking at other peoples images, they use different times, some say its the 17th, some say it's the 18th. Why would this be?

Last edited by markyparky56 (2011-09-17 17:38:54)


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#11 2011-09-17 22:17:21

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: Tell the date on the forums!

markyparky56 wrote:

wulfmaster wrote:

markyparky56 wrote:

Uh... What time zone is this in? 'cause for me it's only the 17th.

I believe it'd GMT + 10 :S
But I thought it was based on your pc, not on me :S

Apparently not... my computer says its only 15:44 17/09/11, but the little image says 18th.

Edit. Looking at other peoples images, they use different times, some say its the 17th, some say it's the 18th. Why would this be?

Well mine is based off my timezone :S
It is the 18th in my timezone!  wink
So, it must be the timezone of the uploader! :p


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#12 2011-09-17 22:25:31

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: Tell the date on the forums!

http://cyberkidscountry.com/ip3.php

Last edited by wulfmaster (2011-09-17 22:26:33)


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#13 2011-09-18 04:27:25

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Tell the date on the forums!

It's the timezone of the server. Some servers in Australia use GMT+10, while some other servers, for example in the U.S., use the standard EST.

Offline

 

#14 2011-09-18 05:57:40

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: Tell the date on the forums!

LS97 wrote:

It's the timezone of the server. Some servers in Australia use GMT+10, while some other servers, for example in the U.S., use the standard EST.

Ah.  Is there another way to do it?


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#15 2011-09-18 06:04:00

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Tell the date on the forums!

wulfmaster wrote:

LS97 wrote:

It's the timezone of the server. Some servers in Australia use GMT+10, while some other servers, for example in the U.S., use the standard EST.

Ah.  Is there another way to do it?

yahoo answers wrote:

You need client side code to accomplish that. Here is a link to a website on how to implement this in JavaScript:

http://www.webdevelopersnotes.com/tips/ … cript.php3

from here

Offline

 

#16 2011-09-18 06:58:13

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Tell the date on the forums!

wulfmaster wrote:

LS97 wrote:

It's the timezone of the server. Some servers in Australia use GMT+10, while some other servers, for example in the U.S., use the standard EST.

Ah.  Is there another way to do it?

skype?

Offline

 

#17 2011-09-18 09:15:22

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Tell the date on the forums!

LS97 wrote:

wulfmaster wrote:

LS97 wrote:

It's the timezone of the server. Some servers in Australia use GMT+10, while some other servers, for example in the U.S., use the standard EST.

Ah.  Is there another way to do it?

skype?

That would mean the person needs to have skype...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#18 2011-09-18 09:53:15

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Tell the date on the forums!

markyparky56 wrote:

LS97 wrote:

wulfmaster wrote:


Ah.  Is there another way to do it?

skype?

That would mean the person needs to have skype...

ehm, no, skype wulfmaster.

Offline

 

#19 2011-09-18 09:54:26

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Tell the date on the forums!

LS97 wrote:

markyparky56 wrote:

LS97 wrote:


skype?

That would mean the person needs to have skype...

ehm, no, skype wulfmaster.

Uh-huh... You see, you weren't very clear there...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#20 2011-09-18 09:56:29

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Tell the date on the forums!

markyparky56 wrote:

LS97 wrote:

markyparky56 wrote:


That would mean the person needs to have skype...

ehm, no, skype wulfmaster.

Uh-huh... You see, you weren't very clear there...

Don't care...  tongue

Offline

 

#21 2011-09-18 09:59:27

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Tell the date on the forums!

LS97 wrote:

markyparky56 wrote:

LS97 wrote:

ehm, no, skype wulfmaster.

Uh-huh... You see, you weren't very clear there...

Don't care...  tongue

-.- You were offtopic.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#22 2011-09-18 16:18:46

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: Tell the date on the forums!

markyparky56 wrote:

LS97 wrote:

markyparky56 wrote:


Uh-huh... You see, you weren't very clear there...

Don't care...  tongue

-.- You were offtopic.

No, he wasn't.  He was telling me to get on skype to talk to me... About it..


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#23 2011-09-19 05:34:33

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Tell the date on the forums!

wulfmaster wrote:

markyparky56 wrote:

LS97 wrote:


Don't care...  tongue

-.- You were offtopic.

No, he wasn't.  He was telling me to get on skype to talk to me... About it..

O rly? And why couldn't he do that here, on the topic thread?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#24 2011-09-19 06:52:20

wulfmaster
Scratcher
Registered: 2011-04-23
Posts: 500+

Re: Tell the date on the forums!

markyparky56 wrote:

wulfmaster wrote:

markyparky56 wrote:


-.- You were offtopic.

No, he wasn't.  He was telling me to get on skype to talk to me... About it..

O rly? And why couldn't he do that here, on the topic thread?

Because we both hate not having real-time chats.  tongue
In other words, lazy.


Social Connections - Bringing communities close together! http://cyberkidscountry.com/ip.php

Offline

 

#25 2011-09-19 08:33:08

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Tell the date on the forums!

wulfmaster wrote:

markyparky56 wrote:

wulfmaster wrote:


No, he wasn't.  He was telling me to get on skype to talk to me... About it..

O rly? And why couldn't he do that here, on the topic thread?

Because we both hate not having real-time chats.  tongue
In other words, lazy.

Good enough reason...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

Board footer