Bump!
I just bothered to do something useful with the site's FTP details!
So, any ideas of what I should do? I'm not good at thinking of things, but I can try to do anything that someone wants me to do.
Offline
The site says to tell you when I've emailed you, so, I've emailed you.
Offline
Remove the 2 from the image URL.
Offline
I can help, a bit.
Offline
Progress:
• Created common header and footer files
• Made email even more illegible to scanner bots
• Started search API
• Made 404 errors go to the homepage rather than error404.000webhost.com
• Added list of contributors to each individual file in PHP comments
Last edited by TheSuccessor (2011-06-02 15:54:44)
Offline
How did you do the 404 errors.
Offline
johnnydean1 wrote:
How did you do the 404 errors.
Offline
Shouldn't there be a special page for the errors instead of just redirecting to the home page? I'll make a page for the errors if someone makes a graphical header and footer.
Offline
Progress:
• Block Library image now hosted on site
• Site looks nicer
• Header and footer files now out of the way in includes directory
• Created database and a blocks table - not yet implemented though
• Message on home page now links here
• Error pages now have their own file
Other:
• Do we still want the darkwood.gif file? I've moved it to /include/img for the moment
• Navigation links can be edited in include/config.php
• Shall we make it so users can create accounts on the site? We can verify users with the Scratch API to avoid impersonations.
• Would a RSS feed for the blocks be a good idea?
• Is anybody else actively helping at the moment?
• Could whoever made the index file please add their name to the contributers list at the top of /index.php and /include/header.php?
Offline
Hey TheSucessor! This is looking truly amazing! I love the work you've done on it!
•The darkwood file was simply a filler background that can be replaced!
•I would like to avoid needing an account to use the library. I would say that downloading and browsing blocks as well as everything else should be free for all to do except for submitting a block which, as you say, we can use the API to verify a username and password for the block creator!
•I will help all I can, I may have a go at the block sharing form at some point! (yay, unlike when the site started, I now know a large amount of php and MySQL!)
I created the original index file which is why the email given is mine! Did our webhost account come with email accounts? I forget.
Tell me more about an RSS feed. I don't know what they do!
P.S.
TheSucessor wrote:
• Created database and a blocks table - not yet implemented though
Looking through phpMyAdmin I found a blocks table that I think I created - I hope you saw it. Here is a list of the columns - have I missed anything?
application: (panther, scratch, BYOB)
Category: (e.g. sensing)
blockspec
colour: (e.g. #0494DC)
type: (e.g. -)
sharer (e.g. sparks)
status: (not sure what that was for... I set the example to "active" This may have been "approved for showing in the library by a moderator.)
block number (auto-increment and unique)
comment
block location: (for Scratch blocks. This gives the browser path for the code - hopefully the form will have a dropdown of common locations or a text box for other locations)
image location:(unless we sort out image uploading to the site, users will have to paste in the location of their image.)
P.P.S. I've just noticed that in the webhost control-panel there is the expected "file manager" followed by the rather surprising "another file manager" which I thought was quite funny!
Last edited by sparks (2011-06-03 16:27:54)
Offline
TheSuccessor wrote:
• Is anybody else actively helping at the moment?
Well, I was trying to help, but...
(No offense.)
What should I do? I'll be happy to take a stab at whatever someone wants implemented.
sparks wrote:
Tell me more about an RSS feed. I don't know what they do!
RSS feeds are things that, when a user subscribes to them, give live updates of new content in a "folder" in the user's bookmark menu or the like. If we created one, people could check our feed and be up-to-date on new blocks and/or block library news. I don't use them much, and I have no clue how to make one, but I could probably learn quickly.
Last edited by meowmeow55 (2011-06-03 20:20:05)
Offline
So, with the RSS feed, people could view a list of the newest blocks in one of their browser menus? Sounds pretty cool!
I've just finished working on the registration form for my new site, accidental games so I'm pretty on-par with creating froms, error-catching them and submitting them to a database - I may use the javascript/html that Mathwizz did for the other website as a starting point. I believe that the code for it is somewhere in here... hang on...
Offline
meowmeow55 wrote:
I'll be happy to take a stab at whatever someone wants implemented.
I don't like violence.
Offline
johnnydean1 wrote:
meowmeow55 wrote:
I'll be happy to take a stab at whatever someone wants implemented.
I don't like violence.
Bwahahahahahahahahahahahano.
constructive!
I'm a pacifist
Offline
Progress:
• Started blockspec to block image converter
meowmeow55 wrote:
I'll be happy to take a stab at whatever someone wants implemented.
The RSS feed would be helpful (I can't be bothered to learn how
), but if you think of something else useful, add it as well!
Last edited by TheSuccessor (2011-06-04 16:32:19)
Offline
RSS feeds aren't too tricky, I have done it before. I can't be asked to do it again however.
Offline
TheSuccessor wrote:
Progress:
• Started blockspec to block image converter
That is actually a good idea! All we need to do is have an image for every character in every colour of block plus an image from every argument! This won't allow users to show default values in their block arguments but it would allow for consistency. Is that the plan you had?
Offline
TheSuccessor wrote:
meowmeow55 wrote:
I'll be happy to take a stab at whatever someone wants implemented.
The RSS feed would be helpful (I can't be bothered to learn how
), but if you think of something else useful, add it as well!
![]()
I'll try making the RSS feed. The syntax is easy, and I bet I could use PHP or something to modify it.
Edit: I'll need to know how the blocks will be stored. You can register on my site and talk to me on the chatbox and/or ask sparks for my email. (Yes, sparks, you can give it to him.)
Last edited by meowmeow55 (2011-06-04 20:33:44)
Offline
meowmeow55 wrote:
TheSuccessor wrote:
meowmeow55 wrote:
I'll be happy to take a stab at whatever someone wants implemented.
The RSS feed would be helpful (I can't be bothered to learn how
), but if you think of something else useful, add it as well!
![]()
I'll try making the RSS feed. The syntax is easy, and I bet I could use PHP or something to modify it.
Edit: I'll need to know how the blocks will be stored. You can register on my site and talk to me on the chatbox and/or ask sparks for my email. (Yes, sparks, you can give it to him.)
Blocks will be stored in a MySQL table. The names of all the tables are listed in a post I did a few posts up or you can find the table itself in our phpMyAdmin
Offline
sparks wrote:
Blocks will be stored in a MySQL table. The names of all the tables are listed in a post I did a few posts up or you can find the table itself in our phpMyAdmin
![]()
The database you made seemed to have vanished, so I had to create a new one. You'll have to look at phpMyAdmin.
sparks wrote:
That is actually a good idea! All we need to do is have an image for every character in every colour of block plus an image from every argument! This won't allow users to show default values in their block arguments but it would allow for consistency. Is that the plan you had?
Kind of. I was going to actually draw the image the same way that Scratch does, rather than piecing it together from bits of blocks. What would be useful is if someone could find me the Verdana Bold Narrow Space font in gd format. It's what Scratch uses for the blocks.
EDIT: A gd would be preferable, but if you can find a ttf, that'll be fine.
Last edited by TheSuccessor (2011-06-05 07:25:58)
Offline
TheSuccessor wrote:
sparks wrote:
Blocks will be stored in a MySQL table. The names of all the tables are listed in a post I did a few posts up or you can find the table itself in our phpMyAdmin
![]()
The database you made seemed to have vanished, so I had to create a new one. You'll have to look at phpMyAdmin.
sparks wrote:
That is actually a good idea! All we need to do is have an image for every character in every colour of block plus an image from every argument! This won't allow users to show default values in their block arguments but it would allow for consistency. Is that the plan you had?
Kind of. I was going to actually draw the image the same way that Scratch does, rather than piecing it together from bits of blocks. What would be useful is if someone could find me the Verdana Bold Narrow Space font in gd format. It's what Scratch uses for the blocks.
![]()
EDIT: A gd would be preferable, but if you can find a ttf, that'll be fine.
Oh I see, So more along those lines! That makes sense!
Won't using a font that isn't a standard internet font mean that someone looking at it without that font installed on their computer would end up with a different font on their screen?
Offline
Are you still accepting people? I'm pretty good with HTML and CSS, but I don't know PHP or anything of the sorts...
And @sparks: You could set up a hierarchy of fonts in CSS. (If the first font in the list isn't there, it'll use the second, etc...)
Last edited by waveOSBeta (2011-06-05 11:40:01)
Offline
sparks wrote:
Oh I see, So more along those lines! That makes sense!
Won't using a font that isn't a standard internet font mean that someone looking at it without that font installed on their computer would end up with a different font on their screen?
No, actually. The font will be output as part of an image. Here is what I have so far:
To use:
http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=spec&type=(reporter|stack|stop|boolean)&color=(category name|hex colour)
Offline