Cool. Are we going to make an icon for our site? You know, a 16 bit one to go in the corner of the webpage tab and under favourites. You just need to save it as a .ico file in the root of our site
SPEAKING OF WHICH - what's going on now? I thought we were moving sites today but you wanted to stay on the freehostingcloud one?
Offline
sparks wrote:
Cool. Are we going to make an icon for our site? You know, a 16 bit one to go in the corner of the webpage tab and under favourites. You just need to save it as a .ico file in the root of our site
![]()
SPEAKING OF WHICH - what's going on now? I thought we were moving sites today but you wanted to stay on the freehostingcloud one?
yeah so did I, but it's too late now. I've set up an SQL database and added the tables to it. freehostingcloud is fine
Offline
sparks wrote:
and the icon? I had a go but it wasn't amazing. Maybe one of the books on the bookshelf shrunk down to 16px?
I was thinking taking the letter 'L' and putting it on a redish background like on the first book. What do you think?
Offline
Pecola1 wrote:
sparks wrote:
Hi guys, I thought I'd put a a few disgustingly bare html forms up - the peak of my HTML knowledge, so you can have a sort of idea as to how I picture the forms to work... if not look
![]()
Searching for a block
submitting a Panther block
submitting a scratch block
submitting a BYOB block
By no means are these set ideas, they're just an early representation and I think the contain all the necessary fields that the final ones will have! Feel free to make changes or disregard![]()
For the scratch blocks you need to make a place to say where under scratch objects it will be, like: http://kule.weebly.com/
(I am starting to understand HTML better.)
!!!!!!
Offline
Pecola1 wrote:
Pecola1 wrote:
sparks wrote:
Hi guys, I thought I'd put a a few disgustingly bare html forms up - the peak of my HTML knowledge, so you can have a sort of idea as to how I picture the forms to work... if not look
![]()
Searching for a block
submitting a Panther block
submitting a scratch block
submitting a BYOB block
By no means are these set ideas, they're just an early representation and I think the contain all the necessary fields that the final ones will have! Feel free to make changes or disregard![]()
For the scratch blocks you need to make a place to say where under scratch objects it will be, like: http://kule.weebly.com/
(I am starting to understand HTML better.)!!!!!!
I can't answer for Sparks but I don't think it's particually neccesery.
Offline
I've already brought this up in my big post - A dropdown with popular Paths would be good, with a text space for less common ones next to it. We can do that on our site easily enough
You don't really have to answer to me on this anyway
You're in charge, I'll just supply suggestions
Offline
Daffy22 wrote:
Pecola1 wrote:
Pecola1 wrote:
For the scratch blocks you need to make a place to say where under scratch objects it will be, like: http://kule.weebly.com/
(I am starting to understand HTML better.)!!!!!!
I can't answer for Sparks but I don't think it's particually neccesery.
![]()
What if it has no code. That would mean that it has to go under a certain place. Also some of the variables like answer cannot go under certain places or it will not understand and the person creating the block won't know what to do.
Offline
Pecola1 wrote:
What if it has no code. That would mean that it has to go under a certain place. Also some of the variables like answer cannot go under certain places or it will not understand and the person creating the block won't know what to do.
sparks wrote:
I think we should have one of two options. >...< a dropdown list containing common paths to blockspecs with an "other" text space next to it where a different path can be entered. One thing the current library does not really have is a path for each piece of code and I would like to add that to the new site in order to make block adding easier for newcomers.
I think we've already solved this
Offline
how can i help?
Offline
sparks wrote:
IDK. Can you write a script that checks if a scratch username is valid?
I'm not sure... would you have to do a search with scratch or something?
BTW, wheres Daffy22?
Offline
I'm here ProgrammingFreak!
I'm going to scrap the mySQL idea because I'm stuggling with it and Magnie seems to of disappeared
Anyway, file based is fine
(thats what Mod Share is)
as for the suggested path thing could someone possibly do that and save me the work
Offline
sparks wrote:
you could try reading a line of the user's homepage to see if it exists? Just an idea.
how bout this. Whatever the person enters, it looks up scratch.mit.edu/users/$user .
if it exists then the script goes on.
$user is the variable.
Offline
ProgrammingFreak wrote:
sparks wrote:
you could try reading a line of the user's homepage to see if it exists? Just an idea.
how bout this. Whatever the person enters, it looks up scratch.mit.edu/users/$user .
if it exists then the script goes on.
$user is the variable.
yeah, ok. I'm using the variable $username though
Offline
Daffy22 wrote:
ProgrammingFreak wrote:
sparks wrote:
you could try reading a line of the user's homepage to see if it exists? Just an idea.
how bout this. Whatever the person enters, it looks up scratch.mit.edu/users/$user .
if it exists then the script goes on.
$user is the variable.yeah, ok. I'm using the variable $username though
![]()
should i code it or u?
Offline
right, I used Panther to compare the HTML source for the userpages of "sparks" and "doesnotexistthereisnocow" (dummystring) and the first difference there was was line 3.
for sparks it was "<html dir="ltr"><head>" and for doesnotexistthereisnocow line 3 is blank (it may be a newline - not sure).
I looked for the first difference because otherwise someone having a message or someone entering their own name or someone else's might affect the HTML code. Hope that helps. If you get it to verify the username by checking if line 3 of the HTML is <html dir="ltr"><head> that should work
EDIT: HTML for line 3 remained the same for a valid account name I wasn't logged into. You can use it!
Last edited by sparks (2010-12-22 14:29:28)
Offline
sparks wrote:
right, I used Panther to compare the HTML source for the userpages of "sparks" and "doesnotexistthereisnocow" (dummystring) and the first difference there was was line 3.
for sparks it was "<html dir="ltr"><head>" and for doesnotexistthereisnocow line 3 is blank (it may be a newline - not sure).
I looked for the first difference because otherwise someone having a message or someone entering their own name or someone else's might affect the HTML code. Hope that helps. If you get it to verify the username by checking if line 3 of the HTML is <html dir="ltr"><head> that should work![]()
EDIT: HTML for line 3 remained the same for a valid account name I wasn't logged into. You can use it!
wut is this?
Offline
For verifying a user as a valid one! I don't know how to code it, but if you check that line 3 of the HTML file for a scratch user's page is equal to <html dir="ltr"><head> Then that means it's a valid user. If it's anything else, it's invalid.
Offline
Daffy22 wrote:
okay, ProgramingFreak. You program it in PHP and I'll add it to my submit script
![]()
So i do the check thing sparks was talking about? I didn't relly get what he was talking about
Offline
sparks wrote:
For verifying a user as a valid one! I don't know how to code it, but if you check that line 3 of the HTML file for a scratch user's page is equal to <html dir="ltr"><head> Then that means it's a valid user. If it's anything else, it's invalid.
oh now i understand! Could you show me the Panther Project in text format?
Last edited by ProgrammingFreak (2010-12-22 15:12:42)
Offline
Yes... I did
set t1 to line t3 of file at URL: http://scratch.mit.edu/users/sparks
set t2 to line t3 of file at URL: http://scratch.mit.edu/users/nonexistantuserthereisnocow
wait until key space pressed.
Then manually changed t3 until t1 and t2 were different. I started at 1 and the first time that they were different was line 3.
Offline