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.
Offline
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)
Offline
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?
Offline
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)
Offline
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.
Offline
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.
Offline
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.pngOk, 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.
Offline
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.pngOk, 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.
Offline
Ok, now that pwiter has PHP for Go Everywhere, I can introduce something awesome I made yesterday while I was bored:
This is a dynamicaly created block, so the color and label of the block can be changed accordingly. The URL syntax for it is:
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.
Offline
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
Offline
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)
Offline
Now it loads!
heres what i get:
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)
Offline
Now I get a access_token:"texttext" thing
Offline
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:
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)
Offline
https://api.github.com/user?access_token=REMOVED
Offline
Works great!
Offline
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):
$sessionCookieExpireTime=8*60*60; session_set_cookie_params($sessionCookieExpireTime); session_start();
Last edited by GP1 (2013-01-01 22:36:05)
Offline
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.
Offline
Except the footer.txt and sidebar.txt files can't be found
Offline