Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 124

Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
03/24/12 12:00 PM (13 years ago)

Quiz score.php

In my advanced settings of the quiz app I cannot point to the score.php file. Any ideas. Self hosted BT -server 2.0
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
03/24/12 12:22 PM (13 years ago)
Hi kittsapps, Could you please explain more.... Why can't you point to the score.php Is there no field to fill in the details? Best Regards, Danny
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
03/24/12 12:29 PM (13 years ago)
HI danny have managed to get that part working, but now when I press show score it comes up wit a parse error.
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
03/24/12 01:29 PM (13 years ago)
Hi Kittapps, Sorry but too little information to be able to help you out but..... I think the parse error comes from the php-script. Did you read the first lines of score.php. You have to create a database and fill in the database details (db-name/ db password etc) in score.php Most problems come when you enter the wrong details so it cannot connect to the database. Glad you solved the first problem. Best Regards, Danny
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
03/24/12 03:06 PM (13 years ago)
To test if your server (setting) is working use this url and only change the location of your score.php file (change: http://www.mywebsite/) http://www.mywebsite/score.php?command=getQuizScoreboardData&appGuid=12345&apiKey=12345&screenId=12345&deviceModel=iphone&deviceLatitude=50.000&deviceLongitude=-6.000 if this gives no errors your database is setup correctly Best Regards Danny
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
03/25/12 05:10 AM (13 years ago)
Figured out my problem didn't realise I had to set up the database thought it do it automatically. Just looking through the rest of the script in Xcode to start using the streaks do I just need to remove the @ symbols and put pictures in that match the star.png.
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
03/25/12 06:25 AM (13 years ago)
I don't know exactly what you mean but if you mean: goldStar.png then put an images named goldStar.png in your project (xcode). Best Regards, Danny
 

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.