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

#451 2011-07-28 23:59:40

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

LS97 wrote:

scimonster wrote:

I'll look out for it.  big_smile

Look at this: http://modshare2.tk/imgs/posts/sparksTest.php  wink

That's... my... Hey! Stop stalking me!

You know PNGs are better than GIFs...

And this is wow! Adding to my TBG sig in a minute.  big_smile

Offline

 

#452 2011-07-29 03:42:17

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: self-updating images and links in posts!

scimonster wrote:

LS97 wrote:

scimonster wrote:

I'll look out for it.  big_smile

Look at this: http://modshare2.tk/imgs/posts/sparksTest.php  wink

That's... my... Hey! Stop stalking me!

You know PNGs are better than GIFs...

And this is wow! Adding to my TBG sig in a minute.  big_smile

The problem is the php gd library (which is what we're all using to make these images, is not very good at handling png transparency, I'm not sure how it fares with gif transparency. To make things have transparent areas, you have to make them transparent after it's loaded the image, instead of it being beautifully transparent in the first place. This creates jaggedy edges and other problems.


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#453 2011-07-29 04:08:25

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

Re: ITopic: self-updating images and links in posts!

sparks wrote:

Thanks to a php command you can do this:

$ip= $_SERVER['REMOTE_ADDR'];

to make a page pull the viewer's IP address. It can then be inserted to a text renderer and sent back. It's like those sigs that tell you your ip, OS, and browser type.

I don't see its use though....

But what does my sig's image say? Is it your IP or a special message? You probably changed IP since my record.

Its use could be infinite. For example, targeted messages in the language the user speaks (by looking it up on whatismyipaddress) and making yourself understandable by them.

Or it could display special messages for your friends. Or even better, display update news for all mod share users (I have an IP database of them) and instead advertising Mod Share User Registration for those who aren't.

Offline

 

#454 2011-07-29 04:25:55

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: self-updating images and links in posts!

LS97 wrote:

sparks wrote:

Thanks to a php command you can do this:

$ip= $_SERVER['REMOTE_ADDR'];

to make a page pull the viewer's IP address. It can then be inserted to a text renderer and sent back. It's like those sigs that tell you your ip, OS, and browser type.

I don't see its use though....

But what does my sig's image say? Is it your IP or a special message? You probably changed IP since my record.

Its use could be infinite. For example, targeted messages in the language the user speaks (by looking it up on whatismyipaddress) and making yourself understandable by them.

Or it could display special messages for your friends. Or even better, display update news for all mod share users (I have an IP database of them) and instead advertising Mod Share User Registration for those who aren't.

Dynamic IP addresses are the most annoying thing when it comes to things like storing users ip addresses, as they change every so often, and it means that you can't track what they've done anymore.


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#455 2011-07-29 04:45:21

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

Re: ITopic: self-updating images and links in posts!

RUMCHEERYPOOPOO wrote:

LS97 wrote:

sparks wrote:

Thanks to a php command you can do this:

$ip= $_SERVER['REMOTE_ADDR'];

to make a page pull the viewer's IP address. It can then be inserted to a text renderer and sent back. It's like those sigs that tell you your ip, OS, and browser type.

I don't see its use though....

But what does my sig's image say? Is it your IP or a special message? You probably changed IP since my record.

Its use could be infinite. For example, targeted messages in the language the user speaks (by looking it up on whatismyipaddress) and making yourself understandable by them.

Or it could display special messages for your friends. Or even better, display update news for all mod share users (I have an IP database of them) and instead advertising Mod Share User Registration for those who aren't.

Dynamic IP addresses are the most annoying thing when it comes to things like storing users ip addresses, as they change every so often, and it means that you can't track what they've done anymore.

Yup. But maybe sparks's case is simply a different network for the summer.
And dynamic addresses are great for whoever's behind them, but not for sites. I must be a nightmare: right now, it changes every single time I connect to the internet. At home, it changes every 12 hours  tongue

Offline

 

#456 2011-07-29 05:01:40

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: self-updating images and links in posts!

LS97 wrote:

RUMCHEERYPOOPOO wrote:

LS97 wrote:


But what does my sig's image say? Is it your IP or a special message? You probably changed IP since my record.

Its use could be infinite. For example, targeted messages in the language the user speaks (by looking it up on whatismyipaddress) and making yourself understandable by them.

Or it could display special messages for your friends. Or even better, display update news for all mod share users (I have an IP database of them) and instead advertising Mod Share User Registration for those who aren't.

Dynamic IP addresses are the most annoying thing when it comes to things like storing users ip addresses, as they change every so often, and it means that you can't track what they've done anymore.

Yup. But maybe sparks's case is simply a different network for the summer.
And dynamic addresses are great for whoever's behind them, but not for sites. I must be a nightmare: right now, it changes every single time I connect to the internet. At home, it changes every 12 hours  tongue

I'm just glad my ip address is static, makes doing lots of other things easier, such as hosting game servers, web servers etc.


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#457 2011-07-29 05:09:56

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

Re: ITopic: self-updating images and links in posts!

RUMCHEERYPOOPOO wrote:

LS97 wrote:

RUMCHEERYPOOPOO wrote:

Dynamic IP addresses are the most annoying thing when it comes to things like storing users ip addresses, as they change every so often, and it means that you can't track what they've done anymore.

Yup. But maybe sparks's case is simply a different network for the summer.
And dynamic addresses are great for whoever's behind them, but not for sites. I must be a nightmare: right now, it changes every single time I connect to the internet. At home, it changes every 12 hours  tongue

I'm just glad my ip address is static, makes doing lots of other things easier, such as hosting game servers, web servers etc.

True, but I don't feel like I need to host so many game servers etc. I'm fine with my dynamic IP.  wink

Offline

 

#458 2011-07-29 08:08:25

whizzer
Scratcher
Registered: 2008-05-27
Posts: 500+

Re: ITopic: self-updating images and links in posts!

^ home
Get the newest project sig!

Code:

[url=http://blocks.scratchr.org/API.php?user=USERNAMEHERE&action=projects&type=newest&return=link&num=NUMBER][img]http://www.blocks.scratchr.org/API.php?action=projects&user=USERNAMEHERE&type=newest&return=text&bgimage=http://dl.dropbox.com/u/22935223/newest.gif&font_size=20&ypos=65&xpos=12&textr=225&textg=225&textb=225&num=NUMBER[/img][img]http://www.blocks.scratchr.org/API.php?action=projects&user=USERNAMEHERE&type=newest&return=loves&bgimage=http://dl.dropbox.com/u/22935223/loves.gif&font_size=25&ypos=65&xpos=55&textr=255&textg=255&textb=255&num=NUMBER[/img][img]http://www.blocks.scratchr.org/API.php?action=projects&user=USERNAMEHERE&type=newest&return=faves&bgimage=http://dl.dropbox.com/u/22935223/faves.gif&font_size=25&ypos=65&xpos=50&textr=255&textg=255&textb=255&num=NUMBER[/img][img]http://www.blocks.scratchr.org/API.php?action=projects&user=USERNAMEHERE&type=newest&return=downloads&bgimage=http://dl.dropbox.com/u/22935223/downloads.gif&font_size=25&ypos=65&xpos=50&textr=255&textg=255&textb=255&num=NUMBER[/img][img]http://i.imgur.com/WLYyQ.gif[/img]

I added the attribute num because that's what I used for my sig to make it show Warp.

Last edited by whizzer (2011-07-30 07:07:58)


http://i46.tinypic.com/33df6me.png I'm whizzer0 for all things Minecraft.

Offline

 

#459 2011-07-29 08:08:51

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

I don't know if there was supposed to be a message for me in that link, LS97, it was just my IP, but you're right, messages tailored to users is a nice idea, though it does require those users to somehow be linked to their IP.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#460 2011-07-29 08:11:54

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

Nice to see you're using my sig idea there, whizzer, though Could I ask that you re-host the images? Dropbox isn't great at handling LOTS of image pulls.  You may like to actually personalise it a little yourself too  tongue


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#461 2011-07-29 14:51:35

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

I have an idea! How about having a link to the last post? Maybe I could fiddle with that....

Offline

 

#462 2011-07-29 14:52:40

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

Re: ITopic: self-updating images and links in posts!

ProgrammingFreak wrote:

I have an idea! How about having a link to the last post? Maybe I could fiddle with that....

last post of what?

Offline

 

#463 2011-07-29 15:00:07

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

LS97 wrote:

ProgrammingFreak wrote:

I have an idea! How about having a link to the last post? Maybe I could fiddle with that....

last post of what?

Your last post, sorry.  tongue

Last edited by ProgrammingFreak (2011-07-29 15:04:22)

Offline

 

#464 2011-07-29 16:43:53

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

Well. For that to work there would have to be a place that lists all your posts in chronological order...


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#465 2011-07-29 16:47:09

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

sparks wrote:

Well. For that to work there would have to be a place that lists all your posts in chronological order...

Yeah, I thought about that earlier. I actually wish they did that anyways. I don't like their current 'your posts' system.  neutral

Offline

 

#466 2011-07-29 18:06:13

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

Right, I'm off to Switzerland for a week, be back on monday the 7th, may drop in here but won't be able to do any work on the API.

Tschuess!


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#467 2011-07-29 18:11:38

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: self-updating images and links in posts!

sparks wrote:

Right, I'm off to Switzerland for a week, be back on monday the 7th, may drop in here but won't be able to do any work on the API.

Tschuess!

aufidersen!


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#468 2011-07-29 20:19:15

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

Does anyone have any idea how I could put a newest project thing into my sig without messing it up?


http://i46.tinypic.com/dw7zft.png

Offline

 

#469 2011-07-29 20:34:10

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: ITopic: self-updating images and links in posts!

SeptimusHeap wrote:

Does anyone have any idea how I could put a newest project thing into my sig without messing it up?

What do you mean by "messing it up?"


http://i.imgur.com/zeIZW.png

Offline

 

#470 2011-07-30 01:13:49

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

there's space in the bottom-left corner, just put the stats there and apply the online/offline bit to the message in the bottom-right.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#471 2011-07-30 05:05:32

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

FINALLY! I'm Back! Tell me what happened while I was away...


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#472 2011-07-30 06:40:16

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

Re: ITopic: self-updating images and links in posts!

comp500 wrote:

FINALLY! I'm Back! Tell me what happened while I was away...

Too much  tongue  It's hard to catch up when you've been away for so long.

Let's see:
custom background image + text? more online/offline customization?

Offline

 

#473 2011-07-30 06:46:53

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

LS97 wrote:

comp500 wrote:

FINALLY! I'm Back! Tell me what happened while I was away...

Too much  tongue  It's hard to catch up when you've been away for so long.

Let's see:
custom background image + text? more online/offline customization?

ok!
chat here: http://www.chatzy.com/822676037527


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#474 2011-07-30 07:06:15

whizzer
Scratcher
Registered: 2008-05-27
Posts: 500+

Re: ITopic: self-updating images and links in posts!

sparks wrote:

Nice to see you're using my sig idea there, whizzer, though Could I ask that you re-host the images? Dropbox isn't great at handling LOTS of image pulls.  You may like to actually personalise it a little yourself too  tongue

Could you link me to the actual images I need to host?
And yeah, I did notice everything takes a while to show up.
EDIT: Just opened the offline/online image in a new tab to see the URL, and look what happened:
http://i.imgur.com/ISq0k.jpg
(click for larger)

Last edited by whizzer (2011-07-30 07:10:57)


http://i46.tinypic.com/33df6me.png I'm whizzer0 for all things Minecraft.

Offline

 

#475 2011-07-30 07:18:46

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

Re: ITopic: self-updating images and links in posts!

whizzer wrote:

sparks wrote:

Nice to see you're using my sig idea there, whizzer, though Could I ask that you re-host the images? Dropbox isn't great at handling LOTS of image pulls.  You may like to actually personalise it a little yourself too  tongue

Could you link me to the actual images I need to host?
And yeah, I did notice everything takes a while to show up.
EDIT: Just opened the offline/online image in a new tab to see the URL, and look what happened:
http://i.imgur.com/ISq0k.jpg
(click for larger)

lol, this page is in dutch  tongue

it happened because someone forgot to add the header code...
the browser then thinks it's simple html and not a png.

Offline

 

Board footer