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

#201 2013-01-01 21:44:42

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

Laternenpfahl wrote:

GP1 wrote:

Laternenpfahl wrote:

This is NOT What we need! When we have all the snapping done, I'll do some CSS Magic

• Textboxes for the alert test

• () + () blocks that can be dragged into these textboxes... (how?)

I'm working on drawing blocks, then I need to work on putting blocks inside of blocks.

You should have dragging stacks of blocks first imo

Yeah, actually that would be better. I'll work on that tonight.


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#202 2013-01-01 21:45:54

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

Laternenpfahl wrote:

May I delete the old page?

Yes, you may.
!!!60 second rule, AAAHH!!!


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#203 2013-01-01 21:46:04

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Go Everywhere Beta 0.2

pwiter wrote:

YAY! I have just finished my script(no decoration), that allows devs to login at goeverywhere.tk/admin with their github account and push stable changes on the Go Everywhere github repo to the site at goeverywhere.tk.

Just saying it is still not 100% complete, as I need to take an array of the devs from github to check if you are a dev.

EDIT: Also, this means we will be able to use php in our code!

Last edited by pwiter (2013-01-01 21:48:26)


http://i.imgur.com/YBeXc.png

Offline

 

#204 2013-01-01 21:49:39

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

pwiter wrote:

YAY! I have just finished my script(no decoration), that allows devs to login at goeverywhere.tk/admin with their github account and push stable changes on the Go Everywhere github repo to the site at goeverywhere.tk.

Well, the site works, but the admin thing was not really that successful, I think. I went to the page. I clicked login. I allowed the app to access my account, it redirected me back and showed ALLOT of random text (well, not random, but it was really weird stuff. I think it was the stuff that GitHub gives back to the OAuth app.). Is this what it was supposed to do?


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#205 2013-01-01 21:51:01

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Go Everywhere Beta 0.2

GP1 wrote:

pwiter wrote:

YAY! I have just finished my script(no decoration), that allows devs to login at goeverywhere.tk/admin with their github account and push stable changes on the Go Everywhere github repo to the site at goeverywhere.tk.

Well, the site works, but the admin thing was not really that successful, I think. I went to the page. I clicked login. I allowed the app to access my account, it redirected me back and showed ALLOT of random text (well, not random, but it was really weird stuff. I think it was the stuff that GitHub gives back to the OAuth app.). Is this what it was supposed to do?

Hmm... Screenshot?

EDIT: I just got rid of some debug stuff.

Last edited by pwiter (2013-01-01 21:53:04)


http://i.imgur.com/YBeXc.png

Offline

 

#206 2013-01-01 21:54:28

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

pwiter wrote:

GP1 wrote:

pwiter wrote:

YAY! I have just finished my script(no decoration), that allows devs to login at goeverywhere.tk/admin with their github account and push stable changes on the Go Everywhere github repo to the site at goeverywhere.tk.

Well, the site works, but the admin thing was not really that successful, I think. I went to the page. I clicked login. I allowed the app to access my account, it redirected me back and showed ALLOT of random text (well, not random, but it was really weird stuff. I think it was the stuff that GitHub gives back to the OAuth app.). Is this what it was supposed to do?

Hmm... Screenshot?

EDIT: I just got rid of some debug stuff.

Sure. Let me know when you are done looking at it, I don't want to expose it too long.
http://i46.tinypic.com/24wa71g.png


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#207 2013-01-01 21:56:08

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Go Everywhere Beta 0.2

GP1 wrote:

pwiter wrote:

GP1 wrote:


Well, the site works, but the admin thing was not really that successful, I think. I went to the page. I clicked login. I allowed the app to access my account, it redirected me back and showed ALLOT of random text (well, not random, but it was really weird stuff. I think it was the stuff that GitHub gives back to the OAuth app.). Is this what it was supposed to do?

Hmm... Screenshot?

EDIT: I just got rid of some debug stuff.

Sure. Let me know when you are done looking at it, I don't want to expose it too long.
http://i46.tinypic.com/24wa71g.png

Ok, that means for some reason github is returning different things. I'll look into it

P.S.:
You can get rid of it now.


http://i.imgur.com/YBeXc.png

Offline

 

#208 2013-01-01 21:58:54

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

pwiter wrote:

GP1 wrote:

pwiter wrote:


Hmm... Screenshot?

EDIT: I just got rid of some debug stuff.

Sure. Let me know when you are done looking at it, I don't want to expose it too long.
http://i46.tinypic.com/24wa71g.png

Ok, that means for some reason github is returning different things. I'll look into it

P.S.:
You can get rid of it now.

Ok, awesome. I hope its not too hard to fix.


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#209 2013-01-01 21:59:58

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Go Everywhere Beta 0.2

GP1 wrote:

pwiter wrote:

GP1 wrote:


Sure. Let me know when you are done looking at it, I don't want to expose it too long.
http://i46.tinypic.com/24wa71g.png

Ok, that means for some reason github is returning different things. I'll look into it

P.S.:
You can get rid of it now.

Ok, awesome. I hope its not too hard to fix.

I just need to add some json decoding code in, so pretty easy.


http://i.imgur.com/YBeXc.png

Offline

 

#210 2013-01-01 22:03:49

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

Ok, now that pwiter has PHP for Go Everywhere, I can introduce something awesome I made yesterday while I was bored:
http://i46.tinypic.com/10876ea.png
This is a dynamicaly created block, so the color and label of the block can be changed accordingly. The URL syntax for it is:

Code:

http://goeverywhere.tk/Go-Everywhere-master/images/blocks.php?catagory=CATAGORY_NAME&label=TEXT_TO_DISPLAY

The URL for the above block is: http://goeverywhere.tk/Go-Everywhere-ma … st%20block. Lets see how this can fit into something.


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#211 2013-01-01 22:06:05

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Go Everywhere Beta 0.2

GP1, can you try now and see if it works(It's going to display a blank screen if it doesn't work)?


http://i.imgur.com/YBeXc.png

Offline

 

#212 2013-01-01 22:09:35

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

pwiter wrote:

YAY! I have just finished my script(no decoration), that allows devs to login at goeverywhere.tk/admin with their github account and push stable changes on the Go Everywhere github repo to the site at goeverywhere.tk.

What?

I cant seem to log in, page doesn't load


http://i46.tinypic.com/6yd4c0.png

Offline

 

#213 2013-01-01 22:10:31

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Go Everywhere Beta 0.2

Laternenpfahl wrote:

pwiter wrote:

YAY! I have just finished my script(no decoration), that allows devs to login at goeverywhere.tk/admin with their github account and push stable changes on the Go Everywhere github repo to the site at goeverywhere.tk.

What?

I cant seem to log in, page doesn't load

UGH... Let me just review my code. It was working fine for me.

Last edited by pwiter (2013-01-01 22:12:25)


http://i.imgur.com/YBeXc.png

Offline

 

#214 2013-01-01 22:17:34

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

Now it loads!

heres what i get:

Code:

string(1346) "{"collaborators":0,"type":"User","organizations_url":"https://api.github.com/users/laternenpfahl/orgs","starred_url":"https://api.github.com/users/laternenpfahl/starred{/owner}{/repo}","gravatar_id":"861ac32525d03458672e333dd12b3e70","plan":{"collaborators":0,"private_repos":0,"name":"free","space":307200},"followers":0,"html_url":"https://github.com/laternenpfahl","updated_at":"2013-01-01T02:21:17Z","repos_url":"https://api.github.com/users/laternenpfahl/repos","subscriptions_url":"https://api.github.com/users/laternenpfahl/subscriptions","total_private_repos":0,"url":"https://api.github.com/users/laternenpfahl","avatar_url":"https://secure.gravatar.com/avatar/861ac32525d03458672e333dd12b3e70?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","disk_usage":0,"events_url":"https://api.github.com/users/laternenpfahl/events{/privacy}","gists_url":"https://api.github.com/users/laternenpfahl/gists{/gist_id}","owned_private_repos":0,"public_gists":0,"login":"laternenpfahl","created_at":"2012-12-31T21:18:54Z","received_events_url":"https://api.github.com/users/laternenpfahl/received_events","private_gists":0,"public_repos":0,"followers_url":"https://api.github.com/users/laternenpfahl/followers","id":3160750,"following":0,"following_url":"https://api.github.com/users/laternenpfahl/following"}"

Last edited by Laternenpfahl (2013-01-01 22:17:51)


http://i46.tinypic.com/6yd4c0.png

Offline

 

#215 2013-01-01 22:18:44

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

Now I get a access_token:"texttext" thing


http://i46.tinypic.com/6yd4c0.png

Offline

 

#216 2013-01-01 22:19:12

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

pwiter wrote:

GP1, can you try now and see if it works(It's going to display a blank screen if it doesn't work)?

Just tried it. I got this:

Code:

string(53) "access_token=PRIVATE"

(the private is where i replaced the secret stuff, at least I think it is private. Just a precaution.)

Last edited by GP1 (2013-01-01 22:20:01)


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#217 2013-01-01 22:21:14

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

https://api.github.com/user?access_token=REMOVED


http://i46.tinypic.com/6yd4c0.png

Offline

 

#218 2013-01-01 22:25:55

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

Works great!


http://i46.tinypic.com/6yd4c0.png

Offline

 

#219 2013-01-01 22:26:03

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Go Everywhere Beta 0.2

Try now guys I added a json decoder.


http://i.imgur.com/YBeXc.png

Offline

 

#220 2013-01-01 22:27:10

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Go Everywhere Beta 0.2

Laternenpfahl wrote:

Works great!

Yay!


http://i.imgur.com/YBeXc.png

Offline

 

#221 2013-01-01 22:29:30

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Go Everywhere Beta 0.2

Oh yeah, Gp1, is there a way to change the session variable after a certain amount of time?(I'm not that good with the session stuff)


http://i.imgur.com/YBeXc.png

Offline

 

#222 2013-01-01 22:32:08

pwiter
Scratcher
Registered: 2010-06-02
Posts: 100+

Re: Go Everywhere Beta 0.2

1 question to devs:
Should I add pretty stuff at the admin place, or should I just leave it the way it is. Just be warned, I'm not the best graphic designer.


http://i.imgur.com/YBeXc.png

Offline

 

#223 2013-01-01 22:33:51

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

pwiter wrote:

Oh yeah, Gp1, is there a way to change the session variable after a certain amount of time?(I'm not that good with the session stuff)

Yes, I beleive there is. HOWEVER, you can't do it without php.ini. I think, i'll check again.
EDIT: There is a way. Try this code (you have to replace session_start() with this code):

Code:

$sessionCookieExpireTime=8*60*60;
session_set_cookie_params($sessionCookieExpireTime);
session_start();

Last edited by GP1 (2013-01-01 22:36:05)


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#224 2013-01-01 22:36:41

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Go Everywhere Beta 0.2

pwiter wrote:

1 question to devs:
Should I add pretty stuff at the admin place, or should I just leave it the way it is. Just be warned, I'm not the best graphic designer.

I think a little styling up should do. You could make it look like a button, thats not too hard.


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#225 2013-01-01 22:36:42

Laternenpfahl
Scratcher
Registered: 2011-06-24
Posts: 1000+

Re: Go Everywhere Beta 0.2

Except the footer.txt and sidebar.txt files can't be found


http://i46.tinypic.com/6yd4c0.png

Offline

 

Board footer