SeptimusHeap wrote:
gbear605 wrote:
LiquidMetal wrote:
We want black on nothing, not white on black, but its a good start. Did you ever figure out spaces?
I guess I was unclear there. What I mean is, for example (though why anyone would do this example I don't know), while I am online, I have a block that says LiquidMetal, linking to my user page, and while I am offline, there is the block library logo, linking to the block library. How would I do that?The different links thing is impossible on these forums, unless the scratchteam edited the forums. As for black on nothing, that should be fairly easy.
It is possible, look at the newest project link part.
Anyway remind sparks of the code I wrote if he gets on...
Ah, I see, it would be a redirect. Now that I see that, it would be quite easy for sparks to add, but just wait for him.
Offline
gbear605 wrote:
SeptimusHeap wrote:
gbear605 wrote:
The different links thing is impossible on these forums, unless the scratchteam edited the forums. As for black on nothing, that should be fairly easy.It is possible, look at the newest project link part.
Anyway remind sparks of the code I wrote if he gets on...Ah, I see, it would be a redirect. Now that I see that, it would be quite easy for sparks to add, but just wait for him.
I have to go and I want him to use my code
Offline
Quote that and check it out Adding a plus sign hides all the text after that, so it is a way to hide hidden messages.
Last edited by gbear605 (2011-07-21 07:56:01)
Offline
EDIT: I can't get the text thing to work.
Last edited by LiquidMetal (2011-07-20 21:14:18)
Offline
LiquidMetal wrote:
sparks wrote:
http://scratch.mit.edu/forums/viewtopic.php?pid=840055#p840055
Your online and offline images can be hosted anywhere and don't need to be in the same place.We want black on nothing, not white on black, but its a good start. Did you ever figure out spaces?
I guess I was unclear there. What I mean is, for example (though why anyone would do this example I don't know), while I am online, I have a block that says LiquidMetal, linking to my user page, and while I am offline, there is the block library logo, linking to the block library. How would I do that?
I just did it, but it doesn't display the page when you click on it properly.
Offline
The multiple users does allow custom sigs, right? Not just the default images.
It's not working for me.
Offline
sparks wrote:
The generator looks great! I'd love to host it on the thread on the condition that you make the code for that page open-source! I want to keep the entire API editable and open
Can I suggest that you can choose where you want it? So if you check Scratch forums it will add [ img] or [ url] on either end and if you choose website it will put the path within an <img> or <a>?
OK! or infact BBCode and HTML?
Offline
comp500 wrote:
sparks wrote:
The generator looks great! I'd love to host it on the thread on the condition that you make the code for that page open-source! I want to keep the entire API editable and open
Can I suggest that you can choose where you want it? So if you check Scratch forums it will add [ img] or [ url] on either end and if you choose website it will put the path within an <img> or <a>?OK! or infact BBCode and HTML?
Done, but I will submit it later because i g2g. bye!
Offline
Wow. A LOT has happened while I was asleep!
Alright, let's see...
Sep, your user code looks brilliant, it looks like you just edited the projects section of the API but I really like it! I'll go ahead and add it in in a moment, then we can test it
LiquidMetal wrote:
We want black on nothing, not white on black, but its a good start. Did you ever figure out spaces?
I guess I was unclear there. What I mean is, for example (though why anyone would do this example I don't know), while I am online, I have a block that says LiquidMetal, linking to my user page, and while I am offline, there is the block library logo, linking to the block library. How would I do that?
Oh I see! That is totally possible, I hadn't thought of allowing two different links for online and offline, only images are supported at the moment but I can add links very quickly! The reason it's still black and white and blocky is because that was attempt #1 and I left shortly after posting it so haven't had the time to improve it. That'll be coming soon. I have no idea how to get the background to be clear, but it is a PNG so it should be possible...
Anyway, liquid, stop demanding stuff unless you make it yourself. Sparks is 18. He can manage, he just doesn't have the time...
Quite the opposite here, I'm afraid, please do keep demanding, or at least suggesting new features you think will be useful to the API, it helps make it more useful and versatile!
@gbear605 - I will soon be removing the text API you're currently using as it's just for testing so it will disappear from your sig in a bit, you may want to change it!
gbear605 wrote:
Adding a plus sign hides all the text after that, so it is a way to hide hidden messages.
Oh dear, a while back I suggested that Scratchers should be able to leave hidden notes to themselves in frequently edited posts (like the block library) and they weren't keen on the dangers of it, I may have to stop the hidden message glitch as they'll be on my back otherwise :S
scimonster wrote:
The multiple users does allow custom sigs, right? Not just the default images.
Odd.... it should work for all of the supported sections under the action "onlineStatus".
Sorry for the lengthly post there!
Offline
Hey robinp, there is no "vote for sparks" page, there is one page where Scratchers may list the four candidates in order or preference! The link is http://scratch.mit.edu/elections/vote but that will show as a 404 page not found unless between the hours of 11:00am and 11:00pm eastern time. Thanks for voting for me
Offline
sparks wrote:
Hey robinp, there is no "vote for sparks" page, there is one page where Scratchers may list the four candidates in order or preference! The link is http://scratch.mit.edu/elections/vote but that will show as a 404 page not found unless between the hours of 11:00am and 11:00pm eastern time. Thanks for voting for me
is eastern time in the UK or where because I live in Ireland!
Offline
robinp wrote:
sparks wrote:
Hey robinp, there is no "vote for sparks" page, there is one page where Scratchers may list the four candidates in order or preference! The link is http://scratch.mit.edu/elections/vote but that will show as a 404 page not found unless between the hours of 11:00am and 11:00pm eastern time. Thanks for voting for me
is eastern time in the UK or where because I live in Ireland!
-5 from GMT.
sparks wrote:
@gbear605 - I will soon be removing the text API you're currently using as it's just for testing so it will disappear from your sig in a bit, you may want to change it!
And veggieman001.
Offline
Offline
I think this needs some sort of php image resize to happen before the image is returned, I mean, ordinarily you could just use <img src = 'link' width='40px' height = '40px' /> but that's not going to work here....
Offline
We're getting somewhere. Black font, white bg.
font colour and bg colour is set in the code using rgb, 0,0,0 being black, 255,255,255 being white, so how to get a transparent background I don't know.
Last edited by sparks (2011-07-21 07:31:21)
Offline
sparks wrote:
My 5 newest friends:
http://blocks.scratchr.org/API.php?acti … &num=1http://blocks.scratchr.org/API.php?acti … &num=2http://blocks.scratchr.org/API.php?acti … &num=3http://blocks.scratchr.org/API.php?acti … &num=4http://blocks.scratchr.org/API.php?acti … &num=5
Well links and thumbs work, thanks sep, but it looks like images aren't regulated by the site at all!
LOL I dominate that.
Offline
Last edited by scimonster (2011-07-21 07:43:43)
Offline
sparks wrote:
http://blocks.scratchr.org/API.php?acti … ook_nicer.
We're getting somewhere. Black font, white bg.
font colour and bg colour is set in the code using rgb, 0,0,0 being black, 255,255,255 being white, so how to get a transparent background I don't know.
We should just use whatever the background color is for the forums for now.
BTW, please leave the text api part in.
Last edited by gbear605 (2011-07-21 07:57:51)
Offline
gbear605 wrote:
sparks wrote:
http://blocks.scratchr.org/API.php?acti … ook_nicer.
We're getting somewhere. Black font, white bg.
font colour and bg colour is set in the code using rgb, 0,0,0 being black, 255,255,255 being white, so how to get a transparent background I don't know.We should just use whatever the background color is for the forums for now.
BTW, please leave the text api part in.
I'm working out the RBG value of the fora now...
I suppose I can leave it in, would people find it useful? I don't think I'll document it but it can be a hidden extra, people can see it in the code
Offline
sparks wrote:
gbear605 wrote:
sparks wrote:
http://blocks.scratchr.org/API.php?acti … ook_nicer.
We're getting somewhere. Black font, white bg.
font colour and bg colour is set in the code using rgb, 0,0,0 being black, 255,255,255 being white, so how to get a transparent background I don't know.We should just use whatever the background color is for the forums for now.
BTW, please leave the text api part in.I'm working out the RBG value of the fora now...
I suppose I can leave it in, would people find it useful? I don't think I'll document it but it can be a hidden extra, people can see it in the code
I would use it, if nothing else but for looking cool
Though could you fix spaces??
Last edited by gbear605 (2011-07-21 08:00:54)
Offline
sparks wrote:
That's 3pm to 3am in Ireland, I believe... it may be four.
Did you see my code I wrote for you
Offline