Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Quizzer 1 1.0.01 Beta (for testing only)
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

runsh
Starting Member

34 Posts

Posted - 05 February 2007 :  16:20:16  Show Profile  Visit runsh's Homepage  Reply with Quote
cripto9t check your email.<
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 05 February 2007 :  17:29:51  Show Profile  Reply with Quote
runsh reply sent

Anon and anyone else interested in this, I updated the zip.
Thanks to runsh and M2k it should cut down on the access error messages . Just replace all the files with the new ones, except for the ones in the includes folder I don't think I touched them.
<

    _-/Cripto9t\-_
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 05 February 2007 :  18:19:00  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
i will have a look at it a bit later and see if i can find anymore errors...apart from the few problems already spotted the quizzer seems to work great, probly when you have implamented the user tracking to see peoples scores, this could be used with the points mod. just an idea :-)<

© 1999-2010 MaD2ko0l
Go to Top of Page

runsh
Starting Member

34 Posts

Posted - 06 February 2007 :  00:20:54  Show Profile  Visit runsh's Homepage  Reply with Quote
minor point
line between first and second question is missing.
<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 06 February 2007 :  16:40:24  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Got some odd problems, but with so much other custom code it could just be me...

However, I noticed that when you reference the MEMBERS table you are using strTablePrefix, when it should be strMemberTablePrefix - "out of the box" they are the same, and rarely does anyone ever change them... but some people do and it could cause problems.

Unfortunately, one of my co-workers is out sick so instead of programming I'm teaching classes.... hopefully I'll get to work on it some more later this week. =/<
Go to Top of Page

runsh
Starting Member

34 Posts

Posted - 06 February 2007 :  16:46:10  Show Profile  Visit runsh's Homepage  Reply with Quote
is there a way to add categories to quizzer? all related quizzes in one CAT. i.e sports, etc..

<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 06 February 2007 :  16:54:42  Show Profile  Visit AnonJr's Homepage  Reply with Quote
One other small suggestion - provide a little more feedback when something errors out other than sending the user to default.asp ... I'm pulling up my new theme song - Metallica's The Frayed Ends of Sanity <
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 06 February 2007 :  18:15:31  Show Profile  Reply with Quote
Anon I noticed the table prefix thing yesterday and thought I had changed it in the update. It will be in the next update. As for the error messages, I had errors marked before I released it. I'll go through and put in the marks again for testing. You gotta admit the redirect thing is a pretty good deterrent . I tried to give admins and mods an error message instead, but I don't know if I covered all the bases.

runsh, Categories are on the todo list. Right know I'm working on question templates, and I think I've finally got something to build on.<

    _-/Cripto9t\-_
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 07 February 2007 :  09:07:31  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Cool. Hopefully I'll get to play with it some more this afternoon - I'm stuck in meetings all morning, starting in an hour. <
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 07 February 2007 :  14:38:23  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Found another interesting error... The reason it wasn't working yesterday is because I had Quiz Corrections turned off, but the WriteQuiz() is checking for the Quiz Corrections value even though that part of the form wasn't written out - since it was turned off.

I'm working on a fix...<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 15 February 2007 :  10:01:57  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Hey Cripto9t, have you had much of a chance to work on this lately? I've been playing with the code some more and I like what you are doing. I'm trying to get your testing engine to interface with all the record keeping and reporting I built into my testing engine since I need those features along with what you've built into the testing bit. I'll let you know if I manage to get it working.

As to the other issue, I kinda cheated and did this:

if strQuizCorrections = "1" then
                        Response.Write  "<tr valign=""top"">" & vbNewLine & _
			                			"<td class=""r""><b>Show Corrected Answers</b><br /><span class=""ffs"">Display this quiz with the corrections to members/visitors after quiz is graded. </span></td>" & vbNewLine & _
                                        "<td>" & vbNewLine & _
                                        " <input type=""radio"" name=""Quiz_Corrections"" value=""1"" checked /> Yes<br />" & vbNewLine & _
                                        " <input type=""radio"" name=""Quiz_Corrections"" value=""0"" /> No" & vbNewLine & _
                                        "</td>" & vbNewLine & _
                                        "</tr>" & vbNewLine
                Else
				        Response.Write  "<tr valign=""top"">" & vbNewLine & _
			               				"<td class=""r""><b>Show Corrected Answers</b><br /><span class=""ffs"">Display this quiz with the corrections to members/visitors after quiz is graded. </span></td>" & vbNewLine & _
                                        "<td>" & vbNewLine & _
                                        " <input type=""radio"" name=""Quiz_Corrections"" value=""1"" disabled /> Yes<br />" & vbNewLine & _
                                        " <input type=""radio"" name=""Quiz_Corrections"" value=""0"" checked disabled /> No" & vbNewLine & _
                                        "<input type=""hidden"" name=""Quiz_Corrections"" value=""0"" /></td>" & vbNewLine & _
                                        "</tr>" & vbNewLine
				end if


Please note, I've converted everything to work with the SB2 CSS that I've been using ever since I discovered that little gem.

Because I'm on a relatively short timetable (i.e. now or sooner) I'm tempted to just take what you've done, get done what I need to get done, and then giving you back what I've put together. But, I also don't want to fork the MOD or get things too far out of sync... you could do something absolutely brilliant and I want to make sure I don't go so far astray that I can't incorporate it.
</rambling><
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 15 February 2007 :  12:00:49  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Found another bug - after deleting a question from an existing quiz, the number of questions isn't updated and creates a "Subscript out of range" error when trying to take the test.

I'll dig into the whys and whatfors and try to post a bug-fix.<
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 18 February 2007 :  11:01:27  Show Profile  Reply with Quote
Anon, I havent been able to work on the quiz. Windows is freezing up on my testing machine. I did fix the corrections bug before I got the blue screen blues.
I assign it a value after submission if none is found.
replace this
if chkInput(Request.Form("Quiz_Corrections")) = 1 then
                        intCorrections = cLng(Request.Form("Quiz_Corrections"))
                else
                        call redirect()
                end if

with this
if strQuizCorrections = "1" then
                        if chkInput(Request.Form("Quiz_Corrections")) = 1 then
                                intCorrections = cLng(Request.Form("Quiz_Corrections"))
                        else
                                screwed_up "Form problem.","Quiz Corrections"  'call redirect()
                        end if
                else
                        intCorrections = 0
                end if


I'll give the last error a look and see if I can spot something.<

    _-/Cripto9t\-_
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 19 February 2007 :  09:59:56  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Cool. Let me know when you're back up and running. I'll keep hacking away at it. I'm hoping to be able to tie it into the record keeping code I wrote for our current testing engine.... I'll let you know how that goes.<
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 08 July 2007 :  21:40:34  Show Profile  Visit Etymon's Homepage  Reply with Quote
I installed this MOD the other day and found it enjoyable to use.

I hope that there is continued development on it!

Very nice work! Great idea! Thank you for the code! Awesome potential!

Sincerely,

Etymon<
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07