fg123 wrote:
Read my previous post, the more you guys work, the even more work we need when we move over to our new domain
but we have the code. All we have to do is switch it
Last edited by ProgrammingFreak (2010-12-21 14:09:17)
Offline
True. In fact, I think it's ready. Daffy, zip up all the code and send it over to me. Upload it to mega upload or something, Or just upload it onto the current website.
Offline
fg123, we're not moving to a new domain. freehostingcloud has capabilities to do anything with PHP, file upload which we need greatly. Freehostingcloud is fine
we'll get a free domain name for us (.co.cc or .tk) and use that as a mask domain. No problems
Offline
I'll put them on ImageShack k?
Offline
meowmeow55 wrote:
The Scratch and Panther forms' "Submit block" buttons go halfway off the bottom of the page thingy.
In the BYOB form, there should be something like this to submit a sprite file:
In the form:Upload a BYOB sprite file containing your block (optional)
And put the URL here: [box]After uploading:
<!-- if the upload was successful: -->
Upload successful. Here's the URL:
[<insert URL here>]
<!-- if the file uploaded wasn't a YSP file: -->
The file you entered wasn't a YSP (BYOB sprite) file. Are you trying to upload a BYOB project? If so, then email it directly to <insert my email here>. [which I don't care about if it's there BTW]
Offline
Daffy22 wrote:
What host do you suggest?
I like 000webhost. But I've never tried freehostingcloud.
BTW, Here
Offline
ProgrammingFreak wrote:
Daffy22 wrote:
What host do you suggest?
I like 000webhost. But I've never tried freehostingcloud.
BTW, Here
do you have the code?
Offline
Daffy22 wrote:
ProgrammingFreak wrote:
Daffy22 wrote:
What host do you suggest?
I like 000webhost. But I've never tried freehostingcloud.
BTW, Heredo you have the code?
what code?
Offline
ProgrammingFreak wrote:
Daffy22 wrote:
ProgrammingFreak wrote:
I like 000webhost. But I've never tried freehostingcloud.
BTW, Heredo you have the code?
what code?
the code to go instead of the text for control, motion ect?
Offline
Daffy22 wrote:
ProgrammingFreak wrote:
Daffy22 wrote:
do you have the code?what code?
the code to go instead of the text for control, motion ect?
![]()
oh! i forgot! sorry. I'll get that written down
Offline
I already registered with 000webhost. FHC isn't reliable. Their servers crash sometimes, 000webhost has 100% uptime. And I alredy have it all setup So send me the files.
000webhost has php/mysql, ftp, and more with cpanel. SO yeah.
http://scratchblocklibrary.co.cc/
Offline
fg123 wrote:
I already registered with 000webhost. FHC isn't reliable. Their servers crash sometimes, 000webhost has 100% uptime. And I alredy have it all setup So send me the files.
000webhost has php/mysql, ftp, and more with cpanel. SO yeah.
http://scratchblocklibrary.co.cc/
I want the FTP details then and I'll move them accross now.
how much space does it have? how much bandwidth?
Offline
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Block Library</title>
<link id="theme" rel="stylesheet" type="text/css" href="http://www.block-library.freehostingcloud.com/style.css" title="theme" />
</head>
<body>
<!-- top wrapper -->
<table width="100%" height="200" border="0">
<tr>
<td height="150" class="header">
</td>
</tr>
<tr>
<td height="50" align="center" class="nav">
<a href="http://www.block-library.freehostingcloud.com/">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/home.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/homeOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/home.png';" />
</a>
<a href="http://www.block-library.freehostingcloud.com/submit">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/submit.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/submitOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/submit.png';" />
</a>
<a href="http://www.block-library.freehostingcloud.com/browse">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/browse.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/browseOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/browse.png';" />
</a>
<a href="http://scratch.mit.edu/forums/viewtopic.php?id=40508&p=1">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/discustion.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/discustionOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/discustion.png';" />
</a>
<a href="http://www.block-library.freehostingcloud.com/contact">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/contact.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/contactOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/contact.png';" />
</a>
</td>
</tr>
</table>
<!-- end top wrapper -->
<div id="wrapper">
<div id="bg">
<div id="page">
<!-- begin container -->
<div id="container">
<!-- content -->
<div id="content">
<div id="center">
<div
id="welcome"> <br /><br />
<!-- line: <div class="hr"><hr></div> -->
<!-- main body -->
<h2>Submit A Block...</h2>
<?
if ($_GET['type'] == "")
{
?>
<img src="images/step1.gif" alt="step 1 image" /><br />
<form action="#" method="get">
<select name="type">
<option value="Scratch">Scratch Block</option>
<option value="BYOB">BYOB Block</option>
<option value="Panther">Panther Block</option>
</select>
<input type="submit" name="submit" value="Next Step..." />
</form>
<?
}
if ($_GET['type'] == "Scratch")
{
?>
<!-- SCRATCH FORM -->
<div id="f1">
<form id="Scratch" method="POST" action="scratch.php">
<br /><img src="images/step2.gif" alt="step 2 image" /><br />
<b>enter your blockspec.</b><br />
<input type="text" name="blockspec" value="e.g. say %s" />
<br /><br /><img src="images/step3.gif" alt="step 3 image" /><br />
<b><a href="upload">Upload a picture of your block...</a><br />
...And enter the URL here: <br /><input type="text" name="image" /></b><br />
<br /><img src="images/step4.gif" alt="step 4 image" /><br />
<b> Which catagory does your block belong to?</b><br />
<input type="radio" name="catagory" value="Motion">Motion
<input type="radio" name="catagory" value="Control">Control<br />
<input type="radio" name="catagory" value="Looks">Looks
<input type="radio" name="catagory" value="Sensing">Sensing<br />
<input type="radio" name="catagory" value="Sound">Sound
<input type="radio" name="catagory" value="Operators">Operators<br />
<input type="radio" name="catagory" value="Pen">Pen
<input type="radio" name="catagory" value="Variables">Variables<br />
<br /><br /><img src="images/step5.gif" alt="step 5 image" /><br />
<b>What type of block is it?</b><br />
<input type="radio" name="type" value="-" /> Stack image here<br />
<input type="radio" name="type" value="r" /> Reporter image here<br />
<input type="radio" name="type" value="b" /> Boolean image here<br />
<input type="radio" name="type" value="c" /> C loop image here<br />
<br /><img src="images/step6.gif" alt="step 6 image" /><br />
<b>Who created this block?</b><br />
<input type="text" value="Scratch username" />
<br /><br /><img src="images/step7.gif" alt="step 7 image" /><br />
<b>Enter the code for your block. Test it before you submit it to make sure it works If the code needs to
go in more than one place, mark the locations of the code clearly.</b><br />
<textarea rows="10" cols="50">
e.g.
block: t1
| t2 |
^ t1 , 'gap' , t2
</textarea>
<br />
<br />
<input type="submit" value="Submit block" />
</form>
</div>
<?
}
if ($_GET['type'] == "BYOB")
{
?>
<!-- BYOB FORM -->
<div id="f2">
<form id="BYOB" method="POST" action="byob.php">
<br /><img src="images/step2.gif" alt="step 2 image" /><br />
<b><a href="upload">Upload a picture of your final block...</a><br />
...And enter the URL here: <br /><input type="text" name="image" /></b>
<br />
<br /><img src="images/step3.gif" alt="step 3 image" /><br />
<b><a href="upload">Upload a picture of how to make your block...</a><br />
...And enter the URL here: <br /><input type="text" name="image" /></b>
<br /><br /><img src="images/step4.gif" alt="step 4 image" /><br />
<b> Which catagory does your block belong to?</b><br />
<input type="radio" name="catagory" value="Motion">Motion
<input type="radio" name="catagory" value="Control">Control<br />
<input type="radio" name="catagory" value="Looks">Looks
<input type="radio" name="catagory" value="Sensing">Sensing<br />
<input type="radio" name="catagory" value="Sound">Sound
<input type="radio" name="catagory" value="Operators">Operators<br />
<input type="radio" name="catagory" value="Pen">Pen
<input type="radio" name="catagory" value="Variables">Variables<br />
<input type="radio" name="catagory" value="Variables">Other
<br />
<br /><img src="images/step5.gif" alt="step 5 image" /><br />
<b>What type of block is it?</b><br />
<input type="radio" name="type" value="-" /> Stack image here<br />
<input type="radio" name="type" value="r" /> Reporter image here<br />
<input type="radio" name="type" value="b" /> Boolean image here<br />
<input type="radio" name="type" value="c" /> C loop image here<br />
<br /><img src="images/step6.gif" alt="step 6 image" /><br />
<b>Who created this block?</b><br />
<input type="text" value="Scratch username" />
<br />
<br />
<input type="submit" value="Submit block" />
</form>
</div>
<?
}
if ($_GET['type'] == "Panther")
{
?>
<div id="f3">
<!-- PANTHER FORM -->
<form id="Panther" method="POST" action="panther.php">
<br /><img src="images/step2.gif" alt="step 2 image" /><br />
<b>enter your blockspec</b><br />
<input type="text" name="blockspec" value="e.g. say $String$" />
<br /><br /><img src="images/step3.gif" alt="step 3 image" /><br />
<b><a href="upload">Upload a picture of your block...</a><br />
...And enter the URL here:<br /> <input type="text" name="image" /></b><br />
<br /><img src="images/step4.gif" alt="step 4 image" /><br />
<b> Which catagory does your block belong to?</b><br />
<input type="radio" name="catagory" value="Motion">Motion
<input type="radio" name="catagory" value="Control">Control<br />
<input type="radio" name="catagory" value="Looks">Looks
<input type="radio" name="catagory" value="Sensing">Sensing<br />
<input type="radio" name="catagory" value="Sound">Sound
<input type="radio" name="catagory" value="Operators">Operators<br />
<input type="radio" name="catagory" value="Pen">Pen
<input type="radio" name="catagory" value="Variables">Variables<br />
<input type="radio" name="catagory" value="Variables">Other
<br />
<br /><br /><img src="images/step5.gif" alt="step 5 image" /><br />
<b>What type of block is it?</b><br />
<input type="radio" name="type" value="-" /> Stack image here<br />
<input type="radio" name="type" value="r" /> Reporter image here<br />
<input type="radio" name="type" value="b" /> Boolean image here<br />
<input type="radio" name="type" value="c" /> C loop image here<br />
<br /><img src="images/step6.gif" alt="step 6 image" /><br />
<b>Who created this block?</b><br />
<input type="text" value="Scratch username" />
<br />
<br /><img src="images/step7.gif" alt="step 7 image" /><br />
<b>Enter the code for your block. Test it before you submit it to make sure it works.</b>
<textarea rows="10" cols="50">
e.g. ^ t1
</textarea>
<br />
<br />
<input type="submit" value="Submit block" />
</form>
</div>
<?
}
?>
<!-- main body end -->
</div>
</div>
</div>
</div>
<!-- end content -->
</div>
<!-- end container -->
</div>
<div id="footerWrapper">
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Block Library</title>
<link id="theme" rel="stylesheet" type="text/css" href="http://www.block-library.freehostingcloud.com/style.css" title="theme" />
</head>
<body>
<!-- top wrapper -->
<table width="100%" height="200" border="0">
<tr>
<td height="150" class="header">
</td>
</tr>
<tr>
<td height="50" align="center" class="nav">
<a href="http://www.block-library.freehostingcloud.com/">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/home.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/homeOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/home.png';" />
</a>
<a href="http://www.block-library.freehostingcloud.com/submit">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/submit.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/submitOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/submit.png';" />
</a>
<a href="http://www.block-library.freehostingcloud.com/browse">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/browse.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/browseOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/browse.png';" />
</a>
<a href="http://scratch.mit.edu/forums/viewtopic.php?id=40508&p=1">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/discustion.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/discustionOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/discustion.png';" />
</a>
<a href="http://www.block-library.freehostingcloud.com/contact">
<img border="0" src="http://www.block-library.freehostingcloud.com/images/contact.png" onmouseover="this.src='http://www.block-library.freehostingcloud.com/images/contactOver.png';" onmouseout="this.src='http://www.block-library.freehostingcloud.com/images/contact.png';" />
</a>
</td>
</tr>
</table>
<!-- end top wrapper -->
<div id="wrapper">
<div id="bg">
<div id="page">
<!-- begin container -->
<div id="container">
<!-- content -->
<div id="content">
<div id="center">
<div
id="welcome"> <br /><br />
<!-- line: <div class="hr"><hr></div> -->
<!-- main body -->
<h2>Submit A Block...</h2>
<?
if ($_GET['type'] == "")
{
?>
<img src="images/step1.gif" alt="step 1 image" /><br />
<form action="#" method="get">
<select name="type">
<option value="Scratch">Scratch Block</option>
<option value="BYOB">BYOB Block</option>
<option value="Panther">Panther Block</option>
</select>
<input type="submit" name="submit" value="Next Step..." />
</form>
<?
}
if ($_GET['type'] == "Scratch")
{
?>
<!-- SCRATCH FORM -->
<div id="f1">
<form id="Scratch" method="POST" action="scratch.php">
<br /><img src="images/step2.gif" alt="step 2 image" /><br />
<b>enter your blockspec.</b><br />
<input type="text" name="blockspec" value="e.g. say %s" />
<br /><br /><img src="images/step3.gif" alt="step 3 image" /><br />
<b><a href="upload">Upload a picture of your block...</a><br />
...And enter the URL here: <br /><input type="text" name="image" /></b><br />
<br /><img src="images/step4.gif" alt="step 4 image" /><br />
<b> Which catagory does your block belong to?</b><br />
<input type="radio" name="catagory" value="Motion">Motion
<input type="radio" name="catagory" value="Control">Control<br />
<input type="radio" name="catagory" value="Looks">Looks
<input type="radio" name="catagory" value="Sensing">Sensing<br />
<input type="radio" name="catagory" value="Sound">Sound
<input type="radio" name="catagory" value="Operators">Operators<br />
<input type="radio" name="catagory" value="Pen">Pen
<input type="radio" name="catagory" value="Variables">Variables<br />
<br /><br /><img src="images/step5.gif" alt="step 5 image" /><br />
<b>What type of block is it?</b><br />
<input type="radio" name="type" value="-" /> Stack image here<br />
<input type="radio" name="type" value="r" /> Reporter image here<br />
<input type="radio" name="type" value="b" /> Boolean image here<br />
<input type="radio" name="type" value="c" /> C loop image here<br />
<br /><img src="images/step6.gif" alt="step 6 image" /><br />
<b>Who created this block?</b><br />
<input type="text" value="Scratch username" />
<br /><br /><img src="images/step7.gif" alt="step 7 image" /><br />
<b>Enter the code for your block. Test it before you submit it to make sure it works If the code needs to
go in more than one place, mark the locations of the code clearly.</b><br />
<textarea rows="10" cols="50">
e.g.
block: t1
| t2 |
^ t1 , 'gap' , t2
</textarea>
<br />
<br />
<input type="submit" value="Submit block" />
</form>
</div>
<?
}
if ($_GET['type'] == "BYOB")
{
?>
<!-- BYOB FORM -->
<div id="f2">
<form id="BYOB" method="POST" action="byob.php">
<br /><img src="images/step2.gif" alt="step 2 image" /><br />
<b><a href="upload">Upload a picture of your final block...</a><br />
...And enter the URL here: <br /><input type="text" name="image" /></b>
<br />
<br /><img src="images/step3.gif" alt="step 3 image" /><br />
<b><a href="upload">Upload a picture of how to make your block...</a><br />
...And enter the URL here: <br /><input type="text" name="image" /></b>
<br /><br /><img src="images/step4.gif" alt="step 4 image" /><br />
<b> Which catagory does your block belong to?</b><br />
<input type="radio" name="catagory" value="Motion"><img src="motion.JPG" alt="motion">
<input type="radio" name="catagory" value="Control"><img src="ctrl.JPG" alt="control"><br />
<input type="radio" name="catagory" value="Looks"><img src="looks.JPG" alt="looks">
<input type="radio" name="catagory" value="Sensing"><img src="motion.JPG" alt="sensing"><br />
<input type="radio" name="catagory" value="Sound"><img src="sound.JPG" alt="sound">
<input type="radio" name="catagory" value="Operators"><img src="ops.JPG" alt="operators"><br />
<input type="radio" name="catagory" value="Pen"><img src="motion.JPG" alt="pen">
<input type="radio" name="catagory" value="Variables"><img src="vars.JPG" alt="variables"><br />
<input type="radio" name="catagory" value="Variables">Other
<br />
<br /><img src="images/step5.gif" alt="step 5 image" /><br />
<b>What type of block is it?</b><br />
<input type="radio" name="type" value="-" /> Stack image here<br />
<input type="radio" name="type" value="r" /> Reporter image here<br />
<input type="radio" name="type" value="b" /> Boolean image here<br />
<input type="radio" name="type" value="c" /> C loop image here<br />
<br /><img src="images/step6.gif" alt="step 6 image" /><br />
<b>Who created this block?</b><br />
<input type="text" value="Scratch username" />
<br />
<br />
<input type="submit" value="Submit block" />
</form>
</div>
<?
}
if ($_GET['type'] == "Panther")
{
?>
<div id="f3">
<!-- PANTHER FORM -->
<form id="Panther" method="POST" action="panther.php">
<br /><img src="images/step2.gif" alt="step 2 image" /><br />
<b>enter your blockspec</b><br />
<input type="text" name="blockspec" value="e.g. say $String$" />
<br /><br /><img src="images/step3.gif" alt="step 3 image" /><br />
<b><a href="upload">Upload a picture of your block...</a><br />
...And enter the URL here:<br /> <input type="text" name="image" /></b><br />
<br /><img src="images/step4.gif" alt="step 4 image" /><br />
<b> Which catagory does your block belong to?</b><br />
<input type="radio" name="catagory" value="Motion">Motion
<input type="radio" name="catagory" value="Control">Control<br />
<input type="radio" name="catagory" value="Looks">Looks
<input type="radio" name="catagory" value="Sensing">Sensing<br />
<input type="radio" name="catagory" value="Sound">Sound
<input type="radio" name="catagory" value="Operators">Operators<br />
<input type="radio" name="catagory" value="Pen">Pen
<input type="radio" name="catagory" value="Variables">Variables<br />
<input type="radio" name="catagory" value="Variables">Other
<br />
<br /><br /><img src="images/step5.gif" alt="step 5 image" /><br />
<b>What type of block is it?</b><br />
<input type="radio" name="type" value="-" /> Stack image here<br />
<input type="radio" name="type" value="r" /> Reporter image here<br />
<input type="radio" name="type" value="b" /> Boolean image here<br />
<input type="radio" name="type" value="c" /> C loop image here<br />
<br /><img src="images/step6.gif" alt="step 6 image" /><br />
<b>Who created this block?</b><br />
<input type="text" value="Scratch username" />
<br />
<br /><img src="images/step7.gif" alt="step 7 image" /><br />
<b>Enter the code for your block. Test it before you submit it to make sure it works.</b>
<textarea rows="10" cols="50">
e.g. ^ t1
</textarea>
<br />
<br />
<input type="submit" value="Submit block" />
</form>
</div>
<?
}
?>
<!-- main body end -->
</div>
</div>
</div>
</div>
<!-- end content -->
</div>
<!-- end container -->
</div>
<div id="footerWrapper">
</div>
</div>
</div>
</body>
</html>Offline
Quite a lot of space. I'm too lazy to check now, but can you give me the details to the ftpserver right now, the one at freehosting cloud and I'll move the files over
because there are some permission settings i gotta set.
Offline
I'd like the details also.
Offline
I seem to be doing most the uploading and template stuff so I would prefer it if you gave me the details. email me here: daffy22scratch@gmail.com thanks
Offline
Daffy22 wrote:
Oh and ProgrammingFreak, you haven't made any changes to the code???
![]()
yea i have! I thought all i was doing was the pics.
Offline
ProgrammingFreak wrote:
Daffy22 wrote:
Oh and ProgrammingFreak, you haven't made any changes to the code???
![]()
yea i have! I thought all i was doing was the pics.
what have you changed?
Offline
thats weird. I did it. But now its not saving it. hmm. I have to type it all over!
Offline
fg123 wrote:
Um. Have you noticed that I can't upload anything?
![]()
If you are the only one with the ftp details, of course you are gonna be uploading the most. -_- Jeez.
right, calm down. I don't want to just go round giving out the FTP details to anyone. you don't need them because this site will be deleted soon. I need your FTP details to move the files and do futher work on this project. so, can you email the details to daffy22scratch@gmail.com please
Offline