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

#1 2011-04-21 13:06:40

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Code for uploading projects?

What is the code used to upload projects to scratch? I need that so I can let people upload to my website. So what is the code in squeak for it?

Offline

 

#2 2011-04-21 14:05:04

dav09
Scratcher
Registered: 2009-03-25
Posts: 1000+

Re: Code for uploading projects?

Its not as easy as that. You need to know networking and php to get it to work properly.

Offline

 

#3 2011-04-21 14:12:40

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: Code for uploading projects?

dav09 wrote:

Its not as easy as that. You need to know networking and php to get it to work properly.

I already do.


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#4 2011-04-23 21:49:34

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: Code for uploading projects?

Bump


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

#5 2011-04-23 22:52:11

DarthPickley
Scratcher
Registered: 2008-06-13
Posts: 100+

Re: Code for uploading projects?

I don't know if it is necessary to mention:
# you cannot implement the ability to upload projects to any MIT Scratch website (currently, http://scratch.mit.edu),
( from The Scratch Source Code License )
So, I don't think it would apply, and I think you would be allowed to know how it works but just not allowed to implement it for sharing to the scratch site.

Since the source code removes the sharing features, I think you'd have to hack into scratch itself to find that part... It is one of the more difficult things.

sorry I haven't helped at all technically, but I am unable to help with this topic...

Offline

 

#6 2011-04-23 23:10:42

ssss
Scratcher
Registered: 2007-07-29
Posts: 1000+

Re: Code for uploading projects?

He wouldn't be using scratch !  He would be using a website like mine -"_"-


Hey.  It's me SSSS, back from the dead!  smile

Offline

 

#7 2011-04-24 20:29:19

thebuilderdd
Scratcher
Registered: 2008-01-26
Posts: 1000+

Re: Code for uploading projects?

Help?

Offline

 

#8 2011-04-25 14:26:26

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Code for uploading projects?

IDK php, but I know some things you can look at:

These are the places we will need to go when making the project upload to your site, looks like you need a special HML for it:

Scratch-UI-Dialogs » ScratchUploadProgressDialog » checkServerResponce:
Scratch-UI-Dialogs » ScratchUploadProgressDialog » createRequest


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#9 2011-04-29 19:12:03

PythonLibrary
Scratcher
Registered: 2011-03-26
Posts: 100+

Re: Code for uploading projects?

Bump


http://dl.dropbox.com/u/9137793/Python%20Library%20logo.png
Our website: pylibrary.co.cc http://dl.dropbox.com/u/9137793/Awesomeness%20Block.gif

Offline

 

Board footer