Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 66

kevindosi
I hate code!
Profile
Posts: 22
Reg: May 09, 2012
location unknow...
2,070
06/10/12 12:14 AM (13 years ago)

Can't get scoreboard to work

Hey everyone, I'm using PSMDanny's scoreboard plugin and really liking it now that I'm figuring it out. I'm kind of a moron, though, and can't figure out how to get the scoreboard to work. After touching "show scoreboard," I get an error that says "There was a problem parsing some configuration data. Please make sure that it is well-formed." I'm assuming that I'm just copying the scoreboard URL into the control panel wrong, but don't know how to fix it. It says to add the following to the end of the url pointing to score.php: ?command=getQuizScoreboardData&appGuid=[buzztouchAppId]&apiKey=[buzztouchAPIKey]&screenId=[screenId]&deviceModel=[deviceModel]&deviceLatitude=[deviceLatitude]&deviceLongitude=[deviceLongitude] Do I need to replace all the things between brackets with values? I tried replacing the app id and keys, but not sure what to do for the rest. I'd appreciate the help Edit: I should also mention that I can't seem to get the sound effects to work. When I choose to select a sound file from the control panel, I just get my host's error page saying that the page doesn't exist. Edit x2: As long as I'm talking about problems I'm having, I can't figure out how to get the scoring right. I created 18 questions in random order, for a 10 question quiz. I set the quiz to count every question for 1 point, so a perfect score would be 10. It seems that, in practice, every question ends up counting for more than the question before it. In the end, a perfect score is something like a 60. Don't know what I'm doing wrong here either! I should mention that I had to delete line 14 of the scoreboard because it was causing errors, and saw Danny suggest that on another thread.
 
kevindosi
I hate code!
Profile
Posts: 22
Reg: May 09, 2012
location unknow...
2,070
like
06/10/12 01:16 AM (13 years ago)
Alright, I've spent quite a bit of time on this and have finally figured it out! It was just that I hadn't created a table, which I should have done in the first place. As for the scores, apparently the app is made to count certain answers as more than others. Not sure why. I'd much prefer to have each question worth the same amount. The sound effects, however, are still a mystery to me. If anyone knows anything about that, I'm all ears.
 
kevindosi
I hate code!
Profile
Posts: 22
Reg: May 09, 2012
location unknow...
2,070
like
06/10/12 03:00 PM (13 years ago)
Still working on the sound effects issue. I figured that the problem is that the inc_quizBehavior.php file under bt_v15/bt_includes had some broken links on it. I opened that file and saw that the sound effects were pointing to app_picker.php, which doesn't exist. So, I changed "app_picker.php" on lines 117, 124, 131 and 137 to "bt_pickerFile.php" - this seemed to do the trick for my control panel. Now, I can choose mp3 files on my control panel as sound effects. I copied them into the "Sound" folder in XCode, but doesn't seem to play any sounds still. Not sure what I'm doing wrong.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
09/04/12 01:53 PM (13 years ago)
You still having problem with the sounds?
 

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.