Yes thats fine by me! i'll hopefully get in touch with him sometime tomorrow about designs if i get the chance.
As for what TGC would need to provide:
- A way of checking that login details are correct, so for example a PHP script (Or whatever language the forum uses) that you can pass the users email address and password and will return true or false depending on whether or not the member exists.
- 3 JSON Endpoints that return information on :
1) A list of the boards
2) pass in an ID of a board and it returns the Threads in that board
3) pass in the ID of a thread and it returns the different posts in a thread.
I have created templates for these, they may be missing a few things as they were done quickly:
Boards:
{
"categories": [
{
"categoryName":"App Game Kit",
"boards": [
{
"id":1,
"name":"AGK Product Chat",
"description":"General chat about the cross platform AGK dev kit",
"Topics":3420,
"Posts":38036
},
{
"id":2,
"name":"AGK Showcase",
"description":"Made something in AGK? Show it off here!",
"Topics":333,
"Posts":4800
},
{
"id":3,
"name":"Windows",
"description":"AGK topics relating to Windows",
"Topics":333,
"Posts":4800
},
{
"id":4,
"name":"iOS",
"description":"AGK topics relating to iPhone, iPad, and other iOS devices",
"Topics":333,
"Posts":4800
},
{
"id":5,
"name":"Android",
"description":"AGK topics relating to Android",
"Topics":333,
"Posts":4800
},
{
"id":6,
"name":"MacOS",
"description":"AGK topics relating to MacOS",
"Topics":333,
"Posts":4800
},
{
"id":7,
"name":"Blackberry",
"description":"AGK topics relating to Blackberry",
"Topics":333,
"Posts":4800
},
{
"id":8,
"name":"Freedom Engine",
"description":"AGK topics relating to Freedom Engine",
"Topics":333,
"Posts":4800
}
]
},
{
"categoryName":"DarkBasic Products",
"boards": [
{
...etc...
}
]
},
{
"categoryName":"FPS Creator",
"boards": [
{
...etc...
}
]
}
]
}
Threads:
{
"threads": [
{
"id":1,
"subject":"App Game Kit 108 Beta 16",
"sticky":true,
"posts":63,
"author":"Paul Johnston",
"views":3246,
"lastpost":"Ancient Lady"
},
{
"id":2,
"subject":"AGK V2 Kickstarter",
"sticky":true,
"posts":301,
"author":"RickV",
"views":25984,
"lastpost":"Markus"
}
..etc..
]
}
Posts
{
"posts": [
{
"id":1,
"author":{
"name":"Paul Johnston",
"title":"TGC Developer",
"moderator":true,
"avatarUrl":"http://forum.thegamecreators.com/g/avatars/xlava.gif",
"dateJoined":"Sat Nov 16th 2002",
"location":"United Kingdom"
},
"datePosted":"23rd Jul 2013 05:11",
"message":"Beta 16 is now available in the downloads section with the following changes\n
- Fixed Mac tier 2 apps not receiving key pressed and released events
\n- Fixed print text appearing behind opaque sprites with depth 8 or less
\n- Fixed template_android_lite project not compiling
\n- Fixed iOS edit boxes not responding to touch events to move the cursor
\n- Fixed a crash on Ouya if an app was started with a joystick held off center
\n- Fixed a crash when using virtual joysticks in multiple broadcasts to
\nthe AGK Player
\n- Reduced memory footprint of font images",
"reportUrl":"http://forum.thegamecreators.com/?m=report_abuse&i=2473467"
},
...etc...
]
}
- There would also need a way to make posts, so a PHP script where you could pass in the users email address and password, the thread ID and the contents of the post.
- Method of searching - So you can pass in the search phrase and it would return an endpoint similar to the Threads JSON, containing a list of all the threads found by the search
- I dont know if you would like a user to be able to register through the app or not, if you did want this option then a script to do this would also be needed.
This is all I can think of at the minute.
Ashley