This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#251 2011-07-23 05:27:05

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: self-updating images and links in posts!

Also another api idea, which may have been had before but not implemented.
an image showing your latest friends name.


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#252 2011-07-23 05:42:26

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

RUMCHEERYPOOPOO wrote:

But what would be in the adverts?

stuff... adverts for projects, etc.


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#253 2011-07-23 05:56:11

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: self-updating images and links in posts!

comp500 wrote:

RUMCHEERYPOOPOO wrote:

But what would be in the adverts?

stuff... adverts for projects, etc.

Also, how would we work out who should have an advert?


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#254 2011-07-23 05:59:24

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

RUMCHEERYPOOPOO wrote:

comp500 wrote:

RUMCHEERYPOOPOO wrote:

But what would be in the adverts?

stuff... adverts for projects, etc.

Also, how would we work out who should have an advert?

?


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#255 2011-07-23 06:00:04

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: self-updating images and links in posts!

well you can't give everyone an advert so how will you work out who gets the adverts?


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#256 2011-07-23 06:42:35

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

RUMCHEERYPOOPOO wrote:

well you can't give everyone an advert so how will you work out who gets the adverts?

u mean not everyone will be able to make an ad?


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#257 2011-07-23 10:24:29

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: ITopic: self-updating images and links in posts!

sparks wrote:

hello12345678910 wrote:

Can't you just have a image of "I_am" then "offline" then "_at_the_moment"?

I can, but I want people to be able to choose ANY message they want for the message. http://www.blocks.scratchr.org/API.php? … _be_typed!

OK.


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#258 2011-07-23 14:20:58

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

Right, I LOVE the "lowest loves" or "lowest views" API Idea. I can add the name, link and thumb to action=projects&type=
leastViews
leastLoves
leastFaves
&return =
link
image
text

My main worry is comparing all the projects of a user could be slow, and potentially increase forum page loading time, especially if the user has a LOT of projects.

As for adverts, I was a little confused by your explaination, the way I see it, people can link to a page with an advert on it anyway?

Yes Rum, I will be adding text returns to all current API's now that they work, so that's newest friend name(s), custom online/offline text (implemented but for some reason broken), newest project name(s) and random text.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#259 2011-07-23 14:30:43

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

sparks wrote:

Right, I LOVE the "lowest loves" or "lowest views" API Idea. I can add the name, link and thumb to action=projects&type=
leastViews
leastLoves
leastFaves
&return =
link
image
text

My main worry is comparing all the projects of a user could be slow, and potentially increase forum page loading time, especially if the user has a LOT of projects.

As for adverts, I was a little confused by your explaination, the way I see it, people can link to a page with an advert on it anyway?

Yes Rum, I will be adding text returns to all current API's now that they work, so that's newest friend name(s), custom online/offline text (implemented but for some reason broken), newest project name(s) and random text.

Any replies to your emails?


http://i46.tinypic.com/dw7zft.png

Offline

 

#260 2011-07-23 14:33:33

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: self-updating images and links in posts!

sparks wrote:

Right, I LOVE the "lowest loves" or "lowest views" API Idea. I can add the name, link and thumb to action=projects&type=
leastViews
leastLoves
leastFaves
&return =
link
image
text

My main worry is comparing all the projects of a user could be slow, and potentially increase forum page loading time, especially if the user has a LOT of projects.

As for adverts, I was a little confused by your explaination, the way I see it, people can link to a page with an advert on it anyway?

Yes Rum, I will be adding text returns to all current API's now that they work, so that's newest friend name(s), custom online/offline text (implemented but for some reason broken), newest project name(s) and random text.

Sounds good  smile
and yes I was confused about the ads thing aswell.
I was thinking about it and the only useful way of doing it is that a load of people would have to put the same code in there sig and people could somehow be chosen to feature in an ad and it would be like unofficial featuring. People would have to submit an ad image for there project and someone would decide which ones would be in the ad it would be like the rota-sig


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#261 2011-07-23 14:39:43

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

Sep, I commented on the same project about that  smile

Rum, I don't see why someone would be willing to advertise a random ad in their sig in turn for seeing their own ad there sometimes too when they can just advertise themselves. They might be pulled in by seeing their project advertised by others' sigs but there's no way of telling if someone drops out other than direct moderating or using MySQL, in which case it's not an API anymore.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#262 2011-07-23 14:57:00

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

How are you doing with the case-insensitivity?
You can just use Scratch's equals block for that.  tongue  JK, but it is not case sensitive, which is sometimes annoying.

Offline

 

#263 2011-07-23 15:16:29

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

scimonster wrote:

How are you doing with the case-insensitivity?
You can just use Scratch's equals block for that.  tongue  JK, but it is not case sensitive, which is sometimes annoying.

It is annoying!  And making it case-sensitive isn't even hard!

Code:

^ t1 = t2.

(or something, my smalltalk is being corrupted by php  tongue )

Maybe the Scratch team thought it would be less confusing to people?

Anyway, I suppose I can do the case insensitivity thing now, it's just going to need a lot of reworking the code.

Last edited by sparks (2011-07-23 15:21:58)


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#264 2011-07-23 15:56:51

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

sparks wrote:

Right, I LOVE the "lowest loves" or "lowest views" API Idea. I can add the name, link and thumb to action=projects&type=
leastViews
leastLoves
leastFaves
&return =
link
image
text

My main worry is comparing all the projects of a user could be slow, and potentially increase forum page loading time, especially if the user has a LOT of projects.

As for adverts, I was a little confused by your explaination, the way I see it, people can link to a page with an advert on it anyway?

Yes Rum, I will be adding text returns to all current API's now that they work, so that's newest friend name(s), custom online/offline text (implemented but for some reason broken), newest project name(s) and random text.

hmmm... yeah but it is nice to just be able to see an ad straight on the forums...


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#265 2011-07-23 16:53:36

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

Okay, case insensitivity took a lot of time but it's done, thank sky for find and replace!

The following attributes are still case sensitive due to their potential need for capitals:
online
offline
link 1-10
string


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#266 2011-07-23 16:54:52

paulpsicle
Scratcher
Registered: 2008-10-12
Posts: 100+

Re: ITopic: self-updating images and links in posts!

Can you fix the Content-Type header?


http://blocks.scratchr.org/API.php?user=paulpsicle&amp;action=onlineStatus&amp;online=http://fishery.dyndns.org/paulpsicle.png&amp;offline=http://fishery.dyndns.org/paulpsicle_o.png

Offline

 

#267 2011-07-23 16:56:07

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

What's the problem?


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#268 2011-07-23 17:30:22

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

Wow. The API just DIED when I tried adding project love-it return... Will try again tomorrow.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#269 2011-07-23 17:52:57

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: self-updating images and links in posts!

lol


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#270 2011-07-23 18:31:54

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

My first project, http://blocks.scratchr.org/API.php?user=sparks&amp;action=projects&amp;type=newest&amp;return=text&amp;num=1, has http://blocks.scratchr.org/API.php?user=sparks&amp;action=projects&amp;type=newest&amp;return=loves&amp;num=1 love-it's.
My second project, http://blocks.scratchr.org/API.php?user=sparks&amp;action=projects&amp;type=newest&amp;return=text&amp;num=2, has http://blocks.scratchr.org/API.php?user=sparks&amp;action=projects&amp;type=newest&amp;return=loves&amp;num=2 love-it's.
My third project, http://blocks.scratchr.org/API.php?user=sparks&amp;action=projects&amp;type=newest&amp;return=text&amp;num=3, has http://blocks.scratchr.org/API.php?user=sparks&amp;action=projects&amp;type=newest&amp;return=loves&amp;num=3 love-it's.
My fourth project, http://blocks.scratchr.org/API.php?user=sparks&amp;action=projects&amp;type=newest&amp;return=text&amp;num=4, has http://blocks.scratchr.org/API.php?user=sparks&amp;action=projects&amp;type=newest&amp;return=loves&amp;num=4 love-it's.

To get the love it's of your n'th newest project:

Code:

[img]http://blocks.scratchr.org/API.php?user=USERNAME&action=projects&type=newest&return=loves&num=NUMBER[/img]

Last edited by sparks (2011-07-23 18:38:22)


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#271 2011-07-23 18:56:31

RUMCHEERYPOOPOO
Scratcher
Registered: 2008-12-23
Posts: 100+

Re: ITopic: self-updating images and links in posts!

cool


I AM ROOKWOOD101 NOW! (just so you know)

Offline

 

#272 2011-07-23 19:17:35

paulpsicle
Scratcher
Registered: 2008-10-12
Posts: 100+

Re: ITopic: self-updating images and links in posts!

sparks wrote:

What's the problem?

it seems to always do text/html.


http://blocks.scratchr.org/API.php?user=paulpsicle&amp;action=onlineStatus&amp;online=http://fishery.dyndns.org/paulpsicle.png&amp;offline=http://fishery.dyndns.org/paulpsicle_o.png

Offline

 

#273 2011-07-23 19:37:36

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

IDEA  big_smile

Have a block render with either the blockspec code, or something like it.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#274 2011-07-23 23:48:30

LiquidMetal
Scratcher
Registered: 2011-06-15
Posts: 500+

Re: ITopic: self-updating images and links in posts!

gbear605 wrote:

IDEA  big_smile

Have a block render with either the blockspec code, or something like it.

So the byob block editor that gives you blockspec when you are done?

Offline

 

#275 2011-07-23 23:55:53

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: ITopic: self-updating images and links in posts!

gbear605 wrote:

IDEA  big_smile

Have a block render with either the blockspec code, or something like it.

http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=We+have+one+already.+%3AP&amp;type=stack&amp;color=control

sparks wrote:

scimonster wrote:

How are you doing with the case-insensitivity?
You can just use Scratch's equals block for that.  tongue  JK, but it is not case sensitive, which is sometimes annoying.

It is annoying!  And making it case-sensitive isn't even hard!

Code:

^ t1 = t2.

(or something, my smalltalk is being corrupted by php  tongue )

Maybe the Scratch team thought it would be less confusing to people?

Anyway, I suppose I can do the case insensitivity thing now, it's just going to need a lot of reworking the code.

Code:

^ t1 asLowercase = t2 asLowercase

Or maybe asUppercase... I honestly don't know where the code for those is.  tongue
Remember, the Squeak equals operator is case sensitive (I made a block that uses that) but the Scratch one is not. ;P

Offline

 

Board footer