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

#151 2012-04-27 18:54:47

Squawkers13
Scratcher
Registered: 2010-11-20
Posts: 500+

Re: Block Files

dreamod wrote:

Download link here: http://www.mediafire.com/download.php?b1uimly0wq83m3q
The application is based off of the Scratch VM for Mac.

it glitches on windows- importer dosent work!!!

Last edited by Squawkers13 (2012-04-27 18:55:39)


http://pekkit.net/banners/pekkit.png

Offline

 

#152 2012-04-28 02:14:39

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Block Files

Squawkers13 wrote:

dreamod wrote:

Download link here: http://www.mediafire.com/download.php?b1uimly0wq83m3q
The application is based off of the Scratch VM for Mac.

it glitches on windows- importer dosent work!!!

The application is based off of the Scratch VM for Mac
open the 'block importer 2.0.image if you have a pc
The application is an extra for mac users. Would you like to help me make a pc version?

Offline

 

#153 2012-05-02 08:28:39

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Block Files

The newest image should be up soon, I just need to discuss the 'update' feature with sparks.

Offline

 

#154 2012-05-02 10:39:13

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

Re: Block Files

I'm here! What do you want to ask?


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

Offline

 

#155 2012-05-02 14:46:49

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Block Files

Ok, I was wondering if you you could upload a file (plain text) with necessary data to update the block importer. It would work like panther blocks, it reads the contents of the file on the http server. So, then on the click of a button, you could update it and it would file-in the contents of the url. It would require updating some times.

Offline

 

#156 2012-05-02 14:58:16

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

Re: Block Files

Sure, I think that would work fine! It should be possible to actually let you edit the file contents on the server using your Scratch username and password too!


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

Offline

 

#157 2012-05-02 15:10:59

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Block Files

sparks wrote:

Sure, I think that would work fine! It should be possible to actually let you edit the file contents on the server using your Scratch username and password too!

cool, thanks. Just make a plain .txt file and upload it and then give me the url, please.

Offline

 

#158 2012-05-02 17:23:19

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

Re: Block Files

Okay, I've uploaded a txt file to this URL. I will have to look into how to let you edit the file, but that should work?

Or. Would you still be able to connect to and read a .php file? Then it would simply involve connecting it to a database for you to type into a text field.

Also - my lecturer today told me website_file_names_and_paths_should_always_be_like_this andNotLikeThis. Does it bother anyone that I've been using camel case for my page names? Now would be the time to change it...


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

Offline

 

#159 2012-05-02 18:02:57

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

Re: Block Files

sparks wrote:

Okay, I've uploaded a txt file to this URL. I will have to look into how to let you edit the file, but that should work?

Or. Would you still be able to connect to and read a .php file? Then it would simply involve connecting it to a database for you to type into a text field.

Also - my lecturer today told me website_file_names_and_paths_should_always_be_like_this andNotLikeThis. Does it bother anyone that I've been using camel case for my page names? Now would be the time to change it...

iPersonallyLikeCamelCaseBetter.  itSavesSpaceAndLooksReallyAwesome.   tongue

Offline

 

#160 2012-05-03 02:17:36

blob8108
Scratcher
Registered: 2007-06-25
Posts: 1000+

Re: Block Files

sparks wrote:

Also - my lecturer today told me website_file_names_and_paths_should_always_be_like_this andNotLikeThis. Does it bother anyone that I've been using camel case for my page names? Now would be the time to change it...

it_bothers_me_hugely. -_-  tongue


Things I've made: kurt | scratchblocks2 | this cake

Offline

 

#161 2012-05-03 07:48:01

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

Re: Block Files

Dreamod. I've created your file editor for you. Only you and librarians can access that page to make a change. As usual, your Scratch password isn't stored  smile

http://blocks.scratchr.org/blockVersionEditor.php

Let me know if you can't log in and just so you know, for several reasons, I've moved the location of the version file from blocks.scratchr.org/blockFiles/blockVersion.txt to blocks.scratchr.org/blockVersion.txt. I hope that hasn't caused any inconvenience!

I don't know if you caught on, but we have severe SQL problems on the block site. Since this doesn't use SQL, it should be fine and always update the file, but after you get the success message after making a change, I advise just reading through the textbox on the editor page to make sure the changes have appeared!

Last edited by sparks (2012-05-03 07:49:23)


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

Offline

 

#162 2012-05-03 12:40:32

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Block Files

sparks wrote:

Dreamod. I've created your file editor for you. Only you and librarians can access that page to make a change. As usual, your Scratch password isn't stored  smile

http://blocks.scratchr.org/blockVersionEditor.php

Let me know if you can't log in and just so you know, for several reasons, I've moved the location of the version file from blocks.scratchr.org/blockFiles/blockVersion.txt to blocks.scratchr.org/blockVersion.txt. I hope that hasn't caused any inconvenience!

I don't know if you caught on, but we have severe SQL problems on the block site. Since this doesn't use SQL, it should be fine and always update the file, but after you get the success message after making a change, I advise just reading through the textbox on the editor page to make sure the changes have appeared!

I logged in and got an empty page. I tried my other scratch account and got the same result. Now, I only get an empty page. I can see the file though.

Offline

 

#163 2012-05-03 14:04:57

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

Re: Block Files

That's really odd... when you get a blank page, do you get it blank AFTER logging in?

I see it fine...

Your other account certainly won't work as it's not approved.


You're definetly trying to log in on this page?


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

Offline

 

#164 2012-05-03 15:11:14

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Block Files

sparks wrote:

That's really odd... when you get a blank page, do you get it blank AFTER logging in?

I see it fine...

Your other account certainly won't work as it's not approved.


You're definetly trying to log in on this page?

Yes, that's the link. I do get it 'blank' after I log in, or rather I get no indication of a successful log-in. The page isn't entirely blank, I get a page with only the wood.png image, blockLogo.png, and darkWood.png, e.t.c.
I just tested my other account to see if I got the same reaction, to see if it treated my current account like any other account. I got the same reaction.
But, when I can edit it, then things would be perfect with the block importer.

Offline

 

#165 2012-05-03 16:00:53

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

Re: Block Files

Okay, that's really strange, considering it's never supposed to display nothing. It should at least give an error message.... I'll take another look at the code...

EDIT: Sigh, I found the problem. Sorry. It's cos you're not in the main librarian array and I forgot to include your name as an exception on the logged-in view of the page  sad

Last edited by sparks (2012-05-03 16:02:30)


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

Offline

 

#166 2012-05-03 16:06:23

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

Re: Block Files

What are we going to do about the SQL?  We need to get it fixed sometime...it only fails the connection, for me at least, when I view the webpage a second time.  It's never failed the first time I press the button.  I wonder if that has anything to do with it...   hmm

Offline

 

#167 2012-05-03 17:44:53

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

Re: Block Files

Greenatic wrote:

What are we going to do about the SQL?  We need to get it fixed sometime...it only fails the connection, for me at least, when I view the webpage a second time.  It's never failed the first time I press the button.  I wonder if that has anything to do with it...   hmm

Yeah, you've mentioned that. It doesn't work like that for anyone else, though, it seems. I think the multi-try system is our best bet.


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

Offline

 

#168 2012-05-03 21:16:38

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

Re: Block Files

sparks wrote:

Greenatic wrote:

What are we going to do about the SQL?  We need to get it fixed sometime...it only fails the connection, for me at least, when I view the webpage a second time.  It's never failed the first time I press the button.  I wonder if that has anything to do with it...   hmm

Yeah, you've mentioned that. It doesn't work like that for anyone else, though, it seems. I think the multi-try system is our best bet.

Agreed.  It shouldn't be too hard to code.  How many times do you think it should try before prompting the user?

Offline

 

#169 2012-05-04 02:29:39

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

Re: Block Files

I was imagining it should try 5 times. If it fails it prompts the user "Oops! Looks like there was an error when connection to our database!" with a "try again" button. This would try another five times and if it fails tells the user "Oh dear... It looks like we've temporarily lost connection to our database. Please try again late.".

I'm possibly thinking that (not with comments but with block submissions) if the connection has failed ten times, the user has the option to email us their block. It would then simply email my email account with the block code in it in a way that I can just copy and paste it into PHPMyAdmin to add it in for them.


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

Offline

 

#170 2012-05-04 09:39:10

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Block Files

It works now, thank you.

Offline

 

#171 2012-05-04 10:44:15

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

Re: Block Files

Excellent! How's your latest patch coming along?  smile


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

Offline

 

#172 2012-05-04 10:58:07

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Block Files

sparks wrote:

Excellent! How's your latest patch coming along?  smile

great, I'm just testing a little.

Offline

 

#173 2012-05-04 11:47:36

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

Re: Block Files

It's been a lot bugger than you thought, huh?  smile


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

Offline

 

#174 2012-05-04 11:52:19

G0D_M0D3
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: Block Files

This. Is. Awesome.

I still love manually doing this, though. I learned more about coding that way, and I even made a few blocks for the now inactive (I think?) block library, but under a different name.


I made a MC texture pack! Get it at planetminecraft!
http://i.imgur.com/0EG0u.png

Offline

 

#175 2012-05-04 11:53:16

dreamod
New Scratcher
Registered: 2012-01-22
Posts: 100+

Re: Block Files

sparks wrote:

It's been a lot bugger than you thought, huh?  smile

well, I just have to make it perfect! But that won't be necessary soon, as I would just simply upload an update.

Offline

 

Board footer