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)
Offline
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
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
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
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...
Offline
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.
Offline
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. -_-
Offline
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
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)
Offline
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
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
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
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
Last edited by sparks (2012-05-03 16:02:30)
Offline
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...
Offline
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...
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.
Offline
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...
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
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.
Offline
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.
Offline