Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 8    Views: 89

Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
02/01/13 02:20 PM (12 years ago)

Store Quiz Questions on Server

Hi All, How would I store quiz questions on a separate server? Maybe a .txt file? Thanks, Jake
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/01/13 02:22 PM (12 years ago)
I use a text file. https://dl.dropbox.com/u/115208762/prequalquiz.txt Cheers! -- Smug
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/01/13 02:23 PM (12 years ago)
Where do you put the URL in the control panel?
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
02/01/13 02:24 PM (12 years ago)
Hi @Jake Chasan, If already created then copy the child item of of your congig. data, which are your q and a's, and create another text file and point your quiz data to that url. If not created then create one question and answer then look at the config so you can have an idea on the formatting. Hope this helps some. LA
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/01/13 02:25 PM (12 years ago)
Can you store the .txt file locally on the device?
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
02/01/13 02:31 PM (12 years ago)
Probably if you point to it some how. LA
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/01/13 03:05 PM (12 years ago)
Try uploading my questions into your BT Project, and link them locally ('select' the local file). Then add the file to your project and try it out. Cheers! -- Smug
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
02/01/13 03:05 PM (12 years ago)
In the BT_Docs folder?
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
02/01/13 03:21 PM (12 years ago)
If you want to store the quiz data locally you'll need to modify some code. It's not hard. Just follow the instructions here. http://idevdepot.com/including-quiz-data-files-inside-an-ios-build/ For storing online use the public folder of dropbox. Use the Screen Data URL field to but the http link in. You can also upload the text file to your BT control panel. Then link to the file there.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.