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

#426 2011-07-28 15:25:24

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

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

RUMCHEERYPOOPOO wrote:

RUMCHEERYPOOPOO wrote:

I completed my like button, I'm not sure how to turn anti-aliasing off on the text though as it looks a little soft, I tried using negative values for the colour of the text like the php docs suggest but that completely ruins it.

look in my sig to see it  smile  \/\/

^^Read this please LS97  smile

anti-aliasing off? I think that's the font's fault. Maybe try courier new or something easy.

Offline

 

#427 2011-07-28 15:31:37

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

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

LS97 wrote:

RUMCHEERYPOOPOO wrote:

RUMCHEERYPOOPOO wrote:

I completed my like button, I'm not sure how to turn anti-aliasing off on the text though as it looks a little soft, I tried using negative values for the colour of the text like the php docs suggest but that completely ruins it.

look in my sig to see it  smile  \/\/

^^Read this please LS97  smile

anti-aliasing off? I think that's the font's fault. Maybe try courier new or something easy.

ok


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#428 2011-07-28 15:35:23

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

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

sparks wrote:

Oh, yes! ITotallyForgotAboutThatOne.They recently worked out that you could just chop up tabs and get a couple of spaces that way. It means a lot of paperwork but no-one notices the difference and it neutralised the problem for the time being. I believe there's a hefty reward for space mines all the same, so keep your eye out for little bits of stuff you can't see in the soil, there may be one nearby! We're too young to be paying taxes but I believe our parents are becoming rather fond of camelCase to cut down on their monthly grammar bill.

LOL!

LS97 wrote:

sparks wrote:

Save spaces? As in reserved posts?

It would be possible if the Scratch team allowed the API to read the session variable of the viewer, but I doubt they would let that happen; it's probably against their privacy policy, I could technically do it with IP addresses but then you would need to know the IP for each person you wish to personalise the message for.

Furthermore, how on earth would moderators keep track of bullying sigs that target just one person?! It's a nice idea though  smile

Aaahh!!! You just gave me an idea!!
Don't worry, nothing malicious. But sparks, you'll probably be seeing news from me in my sig.

I'll look out for it.  big_smile

Offline

 

#429 2011-07-28 15:35:25

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

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

Sparks, please check my signature (and the image below).
What does it say?
http://modshare2.tk/imgs/posts/sparksTest.php

Offline

 

#430 2011-07-28 15:37:10

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

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

scimonster wrote:

I'll look out for it.  big_smile

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

Offline

 

#431 2011-07-28 16:34:05

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

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

well for me it says my ip address, I'm thinking it does for everyone else. I'm also thinking that you know sparks' ip address and are using some if statement to determine if the persons ip address is sparks', and then are writing a message. Although I'm not sure how you found his ip address out.


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#432 2011-07-28 16:34:53

videogame9
Scratcher
Registered: 2008-05-12
Posts: 1000+

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

LS97 wrote:

Sparks, please check my signature (and the image below).
What does it say?
http://modshare2.tk/imgs/posts/sparksTest.php

Something that looks like an IP address.

Wait, that's my IP address.

Last edited by videogame9 (2011-07-28 16:36:16)


http://img641.imageshack.us/img641/4118/newvg9logo.png
QUOTE OF THE RIGHT NOW: why are we arguing about dead babies? -videogame9

Offline

 

#433 2011-07-28 17:09:35

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

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

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....


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

Offline

 

#434 2011-07-28 17:14:44

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

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

Annoyingly the bgimage for the textrenderer fails to accept some PNG images, unfortunately the ones I want to use.... they don't have transparency in them, I have no idea why they fail.... example

________________________________________________________________________________

I've expanded LS97's code. Rather than only accepting PNG files it now accepts PNG, GIF, BMP and JPEG

Though BMP and PNG seem to have a lot of trouble...

Last edited by sparks (2011-07-28 17:21:59)


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

Offline

 

#435 2011-07-28 17:17:02

videogame9
Scratcher
Registered: 2008-05-12
Posts: 1000+

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

I used the online-offline thing in my signature in a rather interesting way.


http://img641.imageshack.us/img641/4118/newvg9logo.png
QUOTE OF THE RIGHT NOW: why are we arguing about dead babies? -videogame9

Offline

 

#436 2011-07-28 17:43:57

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

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

videogame9 wrote:

I used the online-offline thing in my signature in a rather interesting way.

Ha nice, I like it  big_smile .


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#437 2011-07-28 18:00:38

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

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

http://tinyurl.com/3j5hfdthttp://tinyurl.com/3qrduv3http://www.blocks.scratchr.org/API.php?action=projects&user=sparks&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=255http://tinyurl.com/3luhjmlhttp://tinyurl.com/3v6v6l3

^Soon to be my sig as soon as I tinyurl it, it's a lot of code! It was a real challenge to get it looking okay using gifs  tongue

EDIT: curses! It's too wide!!!! Anyone know the width of the sig space, btw?

EDIT: That's a little better.

EDIT: 35 characters too long to be allowed as a sig  sad

Last edited by sparks (2011-07-28 19:23:58)


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

Offline

 

#438 2011-07-28 18:28:21

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

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

sparks wrote:

http://tinyurl.com/42xbg22http://tinyurl.com/3e6nbokhttp://tinyurl.com/3qrduv3http://www.blocks.scratchr.org/API.php? … ;textb=255http://tinyurl.com/3luhjmlhttp://tinyurl.com/3v6v6l3

^Soon to be my sig as soon as I tinyurl it, it's a lot of code! It was a real challenge to get it looking okay using gifs  tongue

EDIT: curses! It's too wide!!!! Anyone know the width of the sig space, btw?

EDIT: That's a little better.

EDIT: 35 characters too long to be allowed as a sig  sad

just tinyurl it as you said you were going to XD


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#439 2011-07-28 18:37:57

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

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

no, it's 35 too long WITH the tinyurl!


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

Offline

 

#440 2011-07-28 18:39:26

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

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

http://tinyurl.com/3qmoro7 is too long?

That makes no sense, how much other stuff is in there..?


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#441 2011-07-28 18:53:44

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

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

There are 6 images and an URL. you can' pack it all into one...

OR CAN YOU? MWAHAHAHAHA http://iusedtohavehair.files.wordpress.com/2009/10/mr-burns-evil-laugh.png?w=260

EDIT: no, no you can't. Foiled. http://images.wikia.com/simpsons/images/4/4f/Burns_SS_Card.png

Last edited by sparks (2011-07-28 18:56:58)


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

Offline

 

#442 2011-07-28 19:05:10

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

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

sparks wrote:

There are 6 images and an URL. you can' pack it all into one...

OR CAN YOU? MWAHAHAHAHA http://iusedtohavehair.files.wordpress. … .png?w=260

EDIT: no, no you can't. Foiled. http://images.wikia.com/simpsons/images … S_Card.png

lol nice pictures.

couldn't you do a tinyurl of all the tinyurls put together?

Edit: Oh I See what you've done. no idea what you can do.

Last edited by RUMCHEERYPOOPOO (2011-07-28 19:08:19)


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#443 2011-07-28 19:10:38

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

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

i'm going to do a C++ version of the generator.  Sparks or anybody who has a windows, I'll need you to compile it for windows.  I'll provide the code, and you'll have to compile it, and edit it a bit perhaps.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#444 2011-07-28 19:13:37

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

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

I have a C++ writer so if you give me the code I can convert it to .exe if you like.


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

Offline

 

#445 2011-07-28 19:13:41

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

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

LS97 wrote:

Sparks, please check my signature (and the image below).
What does it say?
http://modshare2.tk/imgs/posts/sparksTest.php

Hey, ya' think you can release the source??


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#446 2011-07-28 19:26:23

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

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

Well my sig works, there's no character space left to link to the API though  hmm  I don't even want to link to my project much, just wanna show off what the API does!  tongue


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

Offline

 

#447 2011-07-28 19:44:49

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

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

Hey, How did you do that for your sig?


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

Offline

 

#448 2011-07-28 19:47:14

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

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

I used the new bgimage attribute for the sig. Basically, any textreturn, if you add a bgimage tag with an image link, it will set that as the background. The text colour and size edits are documented already  smile  it's a bit picky with PNG and BMP though, I had to go with gif.


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

Offline

 

#449 2011-07-28 19:58:03

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

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

sparks wrote:

I have a C++ writer so if you give me the code I can convert it to .exe if you like.

Itsnot done at all.   tongue

Plus, I'm having some problems with Not statements for some reason  tongue


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#450 2011-07-28 20:04:09

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

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

^I meant when you're done  smile

I think what I've learnt from getting this into my sig is that the API ought to be able to handle say four requests at once, each return with a settable colour/size/position onto one image. It could be tricky but it would be worth it to cut it all into one single tinyurl.


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

Offline

 

Board footer