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?
Offline
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
Last edited by sparks (2012-04-13 11:53:52)
Offline
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
It's Lightnin, not Lightning.
When will the website be out of construction?
I love the library...
Last edited by coolhogs (2012-04-13 11:57:38)
Offline
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
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
Hmm. It's hard to be sure. I do have other obligations 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.
Offline
sparks wrote:
Hmm. It's hard to be sure. I do have other obligations 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...
Offline
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 tooIt's Lightnin, not Lightning.
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
And I was asking about Greenatic's "up", I guessed what you meant
Last edited by sparks (2012-04-13 13:16:15)
Offline
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 tooIt's Lightnin, not Lightning.
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
And I was asking about Greenatic's "up", I guessed what you meant
I know the website will be a while, I was referring to the uploader
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
Images are back on, so you can remove that message at the top
Offline
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
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
Alright, be sure to post here when it's done
Offline
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
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
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
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
Offline
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
I'm not off to work, I'll be back in about 7 hours
Last edited by sparks (2012-04-15 04:37:41)
Offline
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
Offline
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
joefarebrother wrote:
PullJosh wrote:
I have an operators BYOB block:
http://i43.tinypic.com/27ywrbn.gif
And the code:
http://i39.tinypic.com/ek51e.gifor you could just do http://i42.tinypic.com/10gjvdc.gif
...True.
Offline
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
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
Oh, ok. Sorry about that.
Offline
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
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