Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 14    Views: 149

Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
12/03/13 04:22 PM (11 years ago)

3.0 interactive quiz - anybody having luck with it?

I still can't get the interactive quiz plugin to work for me. This plugin in particular is so complex I don't even know where to start looking. As of right now, opening the quiz screen just brings up a black screen. So that's really my main issue now - how do I get the good old "start" button back?
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
12/03/13 04:28 PM (11 years ago)
I am up in arms too :( NAD quiz works the best so far with more features. I was a die hard interactive quiz user until this last update. You can take the json txt and put in NAD quiz pretty well and host on your own server or dropbox. Smoother for end user experience. Sad to see the interactive quiz go but I will have to admit after getting use to all of the NAD features I do prefer using it.
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
12/03/13 04:35 PM (11 years ago)
Wait, so the interactive quiz is officially dead? Did I miss the announcement somewhere?
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
12/03/13 05:04 PM (11 years ago)
not "officially" that I know of. But I am having the same results you are :( Kinda sucked after ios7 because of button features for me now it's black screen
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
12/03/13 05:36 PM (11 years ago)
hmm, it looks like the NAD quiz has mysteriously vanished from the plugin page
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
12/03/13 08:19 PM (11 years ago)
The Advanced quiz will be back. The CP portion is only half updated. There was no sense in selling the plugin till its finished. Should be done sometime this week.
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
12/04/13 09:08 AM (11 years ago)
I am playing withe the interactive quiz now. There is definitly some problems with it. I'll be home all day today. Hit me up on skype if you want to work on this. skype handle: nadthevlad
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
12/04/13 09:10 AM (11 years ago)
nvmd
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
12/04/13 03:00 PM (11 years ago)
ok, I figured out the solution to stop the app from crashing when an answer button is tapped. Some of the BT_viewUtilities code that relates to the quiz has been changed for 3.0 and apparently the quiz wasn't updated to match it. The "getButtonForQuiz" method in BT_viewUtilities creates a selector to look for when the quiz is running. The selector in BT 3.0 is "refresanswerClickhData" (I'm guessing David was up late when he typed that one out :D ). The problem is that there is no method in the quiz plugin called -(void)refresanswerClickhData so this selector isn't matching up to anything and is crashing the app. There IS a method called -(void)answerClick though, and that is the one that this selector should be pointing to. Simply changing "refresanswerClickhData" to "answerClick:" solves this issue (make sure to include the colon) now lets see if I can get that start button back...
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
12/04/13 06:21 PM (11 years ago)
I realize now that it looks like it's just bringing up a black screen because there is no frame around the button. A UIButton in iOS 7 now just defaults to plain text. So, all there is by default when you download the project is a black text button on a black background. Changing the background color makes the text stand out clearly, but I kind of prefer having a frame around the button in this case. I've used this for custom buttons in the past - https://github.com/jcampbell1/ios-buttons I'm just going to create a transparent .xib for the quiz and implement the start button that way. After that, i think this plugin will be good to go
 
SheriDee
Code is Art
Profile
Posts: 1094
Reg: Sep 23, 2011
location unknow...
22,840
like
12/05/13 12:05 PM (11 years ago)
ninja----let me know if I can help in some way :) skype: sheri.miles
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
12/17/13 03:32 AM (11 years ago)
@Absentia.. I was just trying to get the quiz to stop crashing using your changes, but it still seems to crash. I want to clarify. I should be renaming the select from: SEL sel15 = NSSelectorFromString(@"refresanswerClickhData"); to SEL sel15 = NSSelectorFromString(@"clickData:"); on line 902 in BT_viewUtilities correct? Or am I doing it wrong? Thanks
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
12/17/13 03:02 PM (11 years ago)
Oh wow, I'm really sorry that was a total typo on my part.. it should actually be "answerClick:" instead of "clickData:" ..just edited the original post to be correct. Let me know if it works out now
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
12/17/13 03:38 PM (11 years ago)
not a problem! that worked perfectly! thanks :)
 
Redbullet
Aspiring developer
Profile
Posts: 42
Reg: Mar 05, 2011
Earth
3,170
like
03/01/14 07:52 PM (11 years ago)
Is there anyone who managed to make this work on Android?
 

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.