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

#2676 2012-04-13 09:22:28

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

Re: ITopic: Welcome to your local block library!

I'm working on the uploader right now. It only works with one image at a time... I shall have to look up how to get it to work with more than one...


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

Offline

 

#2677 2012-04-13 09:34:01

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: ITopic: Welcome to your local block library!

sparks wrote:

I'm working on the uploader right now. It only works with one image at a time... I shall have to look up how to get it to work with more than one...

I don't know PHP or SQL, so I'm not sure if this helps, but why not create an array of the files and iterate through?   hmm

Offline

 

#2678 2012-04-13 11:53:24

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

Re: ITopic: Welcome to your local block library!

That's probably what I'll end up doing.

Good news, Lightning is planning to turn on images again today! I spoke with him and he says he'll be whitelisting blocks.scratchr.org too  big_smile

Last edited by sparks (2012-04-13 11:53:52)


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

Offline

 

#2679 2012-04-13 11:56:39

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: ITopic: Welcome to your local block library!

sparks wrote:

That's probably what I'll end up doing.

Good news, Lightning is planning to turn on images again today! I spoke with him and he says he'll be whitelisting blocks.scratchr.org too  big_smile

It's Lightnin, not Lightning.  tongue
When will the website be out of construction?
I love the library...

Last edited by coolhogs (2012-04-13 11:57:38)


Get ready for domination of:  tongue

Offline

 

#2680 2012-04-13 12:04:43

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: ITopic: Welcome to your local block library!

sparks wrote:

That's probably what I'll end up doing.

Good news, Lightning is planning to turn on images again today! I spoke with him and he says he'll be whitelisting blocks.scratchr.org too  big_smile

When do you think the website will be up?  I've got some outside-of-Scratch work to do,  so I'm trying to plan ahead.  That way, I can help as much as possible.

Offline

 

#2681 2012-04-13 12:57:11

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

Re: ITopic: Welcome to your local block library!

Hmm. It's hard to be sure. I do have other obligations  tongue  When you say "up", do you mean the image uploader? Cos that will hopefully be finished tonight/tomorrow but until the SQL is fixed on the site I can't do much.


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

Offline

 

#2682 2012-04-13 12:58:35

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

Re: ITopic: Welcome to your local block library!

sparks wrote:

Hmm. It's hard to be sure. I do have other obligations  tongue  When you say "up", do you mean the image uploader? Cos that will hopefully be finished tonight/tomorrow but until the SQL is fixed on the site I can't do much.

No, the whole site...


Get ready for domination of:  tongue

Offline

 

#2683 2012-04-13 13:15:31

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

Re: ITopic: Welcome to your local block library!

coolhogs wrote:

sparks wrote:

That's probably what I'll end up doing.

Good news, Lightning is planning to turn on images again today! I spoke with him and he says he'll be whitelisting blocks.scratchr.org too  big_smile

It's Lightnin, not Lightning.  tongue
When will the website be out of construction?
I love the library...

Whoops, typo, sorry. The site won't be out of construction for some time, but I'm glad you like the library  smile

And I was asking about Greenatic's "up", I guessed what you meant  smile

Last edited by sparks (2012-04-13 13:16:15)


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

Offline

 

#2684 2012-04-13 13:48:12

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: ITopic: Welcome to your local block library!

sparks wrote:

coolhogs wrote:

sparks wrote:

That's probably what I'll end up doing.

Good news, Lightning is planning to turn on images again today! I spoke with him and he says he'll be whitelisting blocks.scratchr.org too  big_smile

It's Lightnin, not Lightning.  tongue
When will the website be out of construction?
I love the library...

Whoops, typo, sorry. The site won't be out of construction for some time, but I'm glad you like the library  smile

And I was asking about Greenatic's "up", I guessed what you meant  smile

I know the website will be a while, I was referring to the uploader  wink

EDIT:  @AllLibrarians:  As soon as one of those posts is edited, all of the invalid images in it will stop working.  Let's not touch them until we have the images transferred.

Last edited by Greenatic (2012-04-13 17:58:17)

Offline

 

#2685 2012-04-14 04:19:26

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: ITopic: Welcome to your local block library!

Images are back on, so you can remove that message at the top


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#2686 2012-04-14 14:06:23

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: ITopic: Welcome to your local block library!

joefarebrother wrote:

Images are back on, so you can remove that message at the top

Exactly what I was about to say!


http://www.blocks.scratchr.org/API.php?action=text&string=I'm_on_vacation!&xpos=155&ypos=90&font_size=30&bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#2687 2012-04-14 14:13:38

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: ITopic: Welcome to your local block library!

PullJosh wrote:

joefarebrother wrote:

Images are back on, so you can remove that message at the top

Exactly what I was about to say!

Me too!


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#2688 2012-04-14 14:23:20

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: ITopic: Welcome to your local block library!

I have an operators BYOB block:

http://i43.tinypic.com/27ywrbn.gif

And the code:

http://i39.tinypic.com/ek51e.gif

Last edited by PullJosh (2012-04-14 14:23:50)


http://www.blocks.scratchr.org/API.php?action=text&string=I'm_on_vacation!&xpos=155&ypos=90&font_size=30&bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#2689 2012-04-14 14:47:12

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

Re: ITopic: Welcome to your local block library!

joefarebrother wrote:

Images are back on, so you can remove that message at the top

First we have to move all the images though, or else we might get caught by the new filter.

Offline

 

#2690 2012-04-14 17:34:17

tlangster
Scratcher
Registered: 2011-09-18
Posts: 100+

Re: ITopic: Welcome to your local block library!

Add a "Bingo" section to this, I think it's one of the best Scratch Mods around.


2.0 coming soon...

Offline

 

#2691 2012-04-14 17:41:52

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

Re: ITopic: Welcome to your local block library!

So sorry I've not had time to finish the image uploader! Work was hectic today and I had to do overtime. Hopefully it will be done this time tomorrow though  smile


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

Offline

 

#2692 2012-04-14 19:33:29

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: ITopic: Welcome to your local block library!

sparks wrote:

So sorry I've not had time to finish the image uploader! Work was hectic today and I had to do overtime. Hopefully it will be done this time tomorrow though  smile

Alright, be sure to post here when it's done  smile

Offline

 

#2693 2012-04-14 22:26:14

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Re: ITopic: Welcome to your local block library!

sparks wrote:

Oh yes, sorry. The problem with your database idea is that the database isn't mine, it belongs to the Scratch team, and they would probably not be too happy about a direct-read connection  hmm

LiquidMetal wrote:

I'm planning to host my own database, for my own global variables. I want to connect to it directly with libMySQL or the like.

I want blocks with the capability of accessing the server directly, that I can edit the code of to use my own database (similar to the way I could edit the code of JD1's blocks to use my own database).

sparks wrote:

It appears there is no difference at all between the blocks, I shall combine them!

No such luck:

Block 1 (in stage):  bucket-fills at the specified x and y of the stage's costume.
Block 1 (in sprite): bucket-fills at the specified x and y of the [b] sprites costume.[b] - not its position on the stage
I guess those two are the same, sort of.  Maybe there should be a dropdown list of which costume/background of the sprite/stage to bucketfill on?  (current, maybe first/last, and then the individual names?)
Block 2: bucket-fills at the specified x and y of the stage itself.  This is only temporary, and is reset when X happens. (X = clear block used, greenflag clicked, or something like that?)

Offline

 

#2694 2012-04-15 03:57:22

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

Re: ITopic: Welcome to your local block library!

Oh I see. You want Scratch/Panther blocks to access the block database directly? I'm afraid that can't be done since the only way Scratch/Panther can interact with the web is through web pages and GET data, you need to send a GET request to a PHP page to get the database contents  hmm

I wasn't talking about the bucket-fill blocks, I was talking about two file blocks in the Panther section which were pointed out to be the same  smile


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

Offline

 

#2695 2012-04-15 04:35:44

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

Re: ITopic: Welcome to your local block library!

Okay. The image uploader is working. It still needs some work, I want to get it bulk-uploading and possibly uploading from URLs, not just from the PC, but its working!

Librarians can log in and use it here. Once all images from a post have been successfully moved, you can edit the post and replace all the image tags with their new ones. Please give them sensible names that indicate what the block does, spaces are automatically replaced with underscores so you can have an url like http://www.blocks.scratchr.org/images/blocks/move_()_steps_towards_sprite_[] which will let people with image problems still see what the block does!

Unfortunately, because databases aren't working yet, I couldn't think of a safe way to store cookies so that feature doesn't work. I'm all ears to a safe solution to this  smile

I'm not off to work, I'll be back in about 7 hours  smile

Last edited by sparks (2012-04-15 04:37:41)


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

Offline

 

#2696 2012-04-15 05:22:13

joefarebrother
Scratcher
Registered: 2011-04-08
Posts: 1000+

Re: ITopic: Welcome to your local block library!

PullJosh wrote:

I have an operators BYOB block:

http://i43.tinypic.com/27ywrbn.gif

And the code:

http://i39.tinypic.com/ek51e.gif

or you could just do http://i42.tinypic.com/10gjvdc.gif


My latest project is called http://tinyurl.com/d2m8hne! It has http://tinyurl.com/d395ygk views, http://tinyurl.com/cnasmt7 love-its, and http://tinyurl.com/bwjy8xs comments.
http://tinyurl.com/756anbk   http://tinyurl.com/iplaychess

Offline

 

#2697 2012-04-15 05:29:34

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

Re: ITopic: Welcome to your local block library!

tlangster wrote:

Add a "Bingo" section to this, I think it's one of the best Scratch Mods around.

Can't you mod Bingo the same way as Scratch?

Sparks, I'll check out the uploader. Is there a list of files already uploaded, so we don't do ones already done? I'll get to uploading later.

Offline

 

#2698 2012-04-15 09:11:20

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: ITopic: Welcome to your local block library!

joefarebrother wrote:

PullJosh wrote:

I have an operators BYOB block:

http://i43.tinypic.com/27ywrbn.gif

And the code:

http://i39.tinypic.com/ek51e.gif

or you could just do http://i42.tinypic.com/10gjvdc.gif

...True.


http://www.blocks.scratchr.org/API.php?action=text&string=I'm_on_vacation!&xpos=155&ypos=90&font_size=30&bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#2699 2012-04-15 09:59:39

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Re: ITopic: Welcome to your local block library!

sparks wrote:

Oh I see. You want Scratch/Panther blocks to access the block database directly? I'm afraid that can't be done since the only way Scratch/Panther can interact with the web is through web pages and GET data, you need to send a GET request to a PHP page to get the database contents  hmm

NOT THE BLOCK DATABASE~!!! Lol

Are you absolutely sure the only way to access the web is through a url?
How do programs outside of scratch/panther do it, and why couldn't squeak code be written to do the same thing?

sparks wrote:

I wasn't talking about the bucket-fill blocks, I was talking about two file blocks in the Panther section which were pointed out to be the same  smile

Oh, ok. Sorry about that.

Offline

 

#2700 2012-04-15 10:57:50

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

Re: ITopic: Welcome to your local block library!

LiquidMetal wrote:

sparks wrote:

Oh I see. You want Scratch/Panther blocks to access the block database directly? I'm afraid that can't be done since the only way Scratch/Panther can interact with the web is through web pages and GET data, you need to send a GET request to a PHP page to get the database contents  hmm

NOT THE BLOCK DATABASE~!!! Lol

Are you absolutely sure the only way to access the web is through a url?
How do programs outside of scratch/panther do it, and why couldn't squeak code be written to do the same thing?

I believe so. What other programs access the web without a URL?

Offline

 

Board footer