Last edited by LiquidMetal (2011-07-24 00:52:49)
Offline
I think TheSuccessor thought that font would be good when he made it...
It was supposed to be for the Block Library site, to create the block images.
Offline
Last edited by Hardmath123 (2011-07-24 03:25:31)
Offline
Hardmath123 wrote:
Offline
This is what should be stickied! Awesome!!
If the forums had a love-it, I'd click it on this thread. And I'd favourite it. I guess a bookmark is good enough though...
Offline
The php for this API started out pretty small but it's 257 lines long now, I think it may be time to annotate the source code since it's open source
Adding today:
project...
-number of comments
-number of favourite-ers
-number of remixes
Possibly adding today:
-optional background colour and size change for the text return system as well as
optional font colour and size change to make the text returns better fit existing
signatures.
LS97, Although it's not strictly an API and so would have to be counted as a side project by me, you've actually given me a good idea. What about (using MySQL) love-it and/or support buttons for forum posts? This would be a little graphic <3 or +1 with the number of current supporters/ lovers listed. Uses? Idea posts, posts detailing a project or collaberation and perhaps most usefully posts in the suggestions forum, where people usually comment with a +1 to show support.
Last edited by sparks (2011-07-24 04:09:20)
Offline
sparks wrote:
LS97, Although it's not strictly an API and so would have to be counted as a side project by me, you've actually given me a good idea. What about (using MySQL) love-it and/or support buttons for forum posts? This would be a little graphic <3 or +1 with the number of current supporters/ lovers listed. Uses? Idea posts, posts detailing a project or collaberation and perhaps most usefully posts in the suggestions forum, where people usually comment with a +1 to show support.
+1 XD
And I think you mean "favouriters"
Offline
scimonster wrote:
sparks wrote:
LS97, Although it's not strictly an API and so would have to be counted as a side project by me, you've actually given me a good idea. What about (using MySQL) love-it and/or support buttons for forum posts? This would be a little graphic <3 or +1 with the number of current supporters/ lovers listed. Uses? Idea posts, posts detailing a project or collaberation and perhaps most usefully posts in the suggestions forum, where people usually comment with a +1 to show support.
+1 XD
And I think you mean "favouriters"
SUPPORT!
Offline
comp500 wrote:
scimonster wrote:
sparks wrote:
LS97, Although it's not strictly an API and so would have to be counted as a side project by me, you've actually given me a good idea. What about (using MySQL) love-it and/or support buttons for forum posts? This would be a little graphic <3 or +1 with the number of current supporters/ lovers listed. Uses? Idea posts, posts detailing a project or collaberation and perhaps most usefully posts in the suggestions forum, where people usually comment with a +1 to show support.
+1 XD
And I think you mean "favouriters"SUPPORT!
I WILL HELP!
Plus one button:
(put number of plus ones here)
test: favourite this
Last edited by comp500 (2011-07-24 09:05:57)
Offline
my first project, has love-it's and favouriters! Not to mention the comments, downloads and remixes!
I'm not showing off, just pointing out that number of favouriters, remixes, downloads and comments are working!
Last edited by sparks (2011-07-24 06:04:09)
Offline
scimonster wrote:
gbear605 wrote:
IDEA
Have a block render with either the blockspec code, or something like it.
Also, could you keep the font for the text based thing the same, because I think i looks kool.
Last edited by gbear605 (2011-07-24 07:13:18)
Offline
The blocks don't really need adding to the API, they work perfectly well independantly and with tinyURL you can add them to the API yourself by putting the tinylink to that image in.
Offline
people with a imageshack blocker, does the scratch this image show up?
Offline
I've just finished adding a very versatile control system for the text return. This can be applied to any text-as-image return from the API using additional parameters. If a special value for any parameter is not set, it will default to the black text, grey background etc.
These additional attributes are designed to make the API fit existing signatures more neatly. For example, if you wanted your project name in your sig, you could set the return image's height, width, text colour, background colour, text size and text position to best fit your sig:
If you're worried about your sig changing width too much with the length of your current project name don't worry! I've built in a stringlimit attribute!
Will document full in a while. May also allow a different colour border if I can work out how so that bordered sigs will look okay. Would also like to work out how to do it with images like thumbnails of projects, bear with me!
Actually, it ocurs to me that I should work out how to give it a link to a background image... then it will fit any sig seamlessly...
Last edited by sparks (2011-07-24 09:51:14)
Offline
sparks wrote:
http://www.blocks.scratchr.org/API.php? … amp;size=3
I've just finished adding a very versatile control system for the text return. This can be applied to any text-as-image return from the API using additional parameters. If a special value for any parameter is not set, it will default to the black text, grey background etc.
These additional attributes are designed to make the API fit existing signatures more neatly. For example, if you wanted your project name in your sig, you could set the return image's height, width, text colour, background colour, text size and text position to best fit your sig:
http://www.blocks.scratchr.org/API.php? … mp;ypos=20
If you're worried about your sig changing width too much with the length of your current project name don't worry! I've built in a stringlimit attribute!
http://www.blocks.scratchr.org/API.php? … ;width=100
Will document full in a while. May also allow a different colour border if I can work out how so that bordered sigs will look okay. Would also like to work out how to do it with images like thumbnails of projects, bear with me!
Actually, it ocurs to me that I should work out how to give it a link to a background image... then it will fit any sig seamlessly...
Offline
Offline
I saw it, but I don't have the block. Did you use the scratch redirect? I've used it a little on here and the block library is currently trying to work out if it works too!
Text return customisation is now fully documented, take a look and try it out!
Last edited by sparks (2011-07-24 11:04:36)
Offline
sparks wrote:
I saw it, but I don't have the block. Did you use the scratch redirect? I've used it a little on here and the block library is currently trying to work out if it works too!
Text return customisation is now fully documented, take a look and try it out!
?
Offline
This image appears as an "image not found" image on the previous page... I wonder why...
I'll try working it below; the project still exists...
Could my case-insensitivity system be blocking the images of users with a capital in their name?
Yup. It's stopped it working for anyone with a capital in their name... great.
Last edited by sparks (2011-07-24 11:14:32)
Offline