Scratch is an amazing software, but the website is also amazing. Some advanced scratchers like to make project-sharing-websites, mostly to go with scratch modifications. But before any scratcher can do that, there are a few things you must go through first! This guide will show you how! You can use easy website makers like Yola/Weebly, and are fine for simple project sharing websites where projects need to be manually added. But websites such as them can be annoying, considering the fact that you have to update the website every time someone uploads a project, and that the person who uploaded the project has to wait. This guide will show you how to make an awsome website, and may help you improve your programming knowledge too! Also, if you want to post the link on Scratch website/forums, you must get it approved at Paddle2See's Links to Member-created Websites, and it is a good idea to follow LS97's Tips on Securing your Website.
First of all, we will need a host. A host is where you upload all your files to a web server. Because websites are basicly lots of files linked together on a web server. 000WebHost is a great webhost, which offers lots of security, and functions of paid webhosting, and has MySQL and PHPMyAdmin, which are essential for this job.
Second of all, you will need to make files to upload to your webserver (mostly HTML and PHP). Notepad++ is ideal for this part, and offers color synthax highlighting!
Third, you will need to have advanced knowledge of PHP and SQL. You need to choose the right functions, and test all the features first. Here is a link to a great login/register tutorial, that includes using PHP, SQL, 000WebHost, MySQL and PHPMyAdmin: [Link] [Source Code]
Also, you will need to be sure your website is safe, and kid-friendly! You must also use censoring. Here is some code that may help (PHP):
$list = array("word 1", "word 2");
$stringr = "word 1, word 2, word 3";
$vowels = strtolower($stringr);
$bad = str_replace($list, "*", "$vowels");
echo $bad;This code should print "*, *, word 3" (without quotes)
You can replace word 1 and word 2 with your own words to censor, and you can add more in this format:
, "word"
I will be updating this soon - I hope this helps!
Last edited by WindowsExplorer (2011-10-31 04:41:21)
Offline