Search found 113 matches

by subvertbeats
Mon Jun 27, 2011 7:10 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 69869

Re: UQM 2.0 - Predictions Extensions

Hey battye thanks for that. I guess some of teh code you referenced is from a newer version of UQM - we based this mod around a beta of 2.0, and it doesnt contain those lines that you referenced. However, we were thinking on the same lines, and I was looking through the code in quiz.php to find the ...
by subvertbeats
Mon Jun 27, 2011 1:05 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 69869

Re: UQM 2.0 - Predictions Extensions

Hi battye OK, so I figured out sending PMs on successful submission of a quiz. I'll post the code here when complete. What I would like to do is add to the PM content the list of questions, with the answer chosen by the user for each question So I need to know how to iterate over all questions in th...
by subvertbeats
Fri Jun 24, 2011 10:54 am
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 69869

Re: UQM 2.0 - Predictions Extensions

hey battye I hope all is well with you?

Ive had requests for a modification of the system such that it sends a forum PM to the user with details of their answers when they successfully submit a quiz/competition.

any thoughts on the simplest way to do this?

many thanks
by subvertbeats
Sat May 29, 2010 9:49 am
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 69869

Re: UQM 2.0 - Predictions Extensions

It doesn't appear to be affecting an un-modded UQM, see http://forums.cricketmx.com/quiz.php?mode=play&q=27 (answers are $2 and "$6" respectively, and it counts them correctly). Interesting.....its definitely that. If I edit the question options, and change all the users answers for t...
by subvertbeats
Fri May 21, 2010 6:12 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 69869

Re: UQM 2.0 - Predictions Extensions

Thanks Battye, that did the trick.

Ive found an issue (dont know if it affects the core UQM too) whereby if a correct quiz answer has non alphanumeric characters in it eg quotation marks, then it is not counted correctly when the quiz answers are submitted.

Any ideas?
by subvertbeats
Thu May 20, 2010 12:33 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 69869

Re: UQM 2.0 - Predictions Extensions

Battye

Quick Q - do you know of any way for a given quiz I can get a dump of all the answers that each user submitted?
by subvertbeats
Thu Mar 04, 2010 11:17 am
Forum: Web Design
Topic: [ALPHA] Ultimate Quiz MOD v2.1.2 Progress
Replies: 477
Views: 279854

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

Ok thanks, So now.... - ENABLE saving of quizzes in the ACP - Set time limit to 0 in the ACP - Set Users can only play a competition once to Yes in the ACP - Create a new quiz - SAVE the quiz (Do NOT navigate away from the page until you have clicked SAVE) - Post what the next page says here (we're ...
by subvertbeats
Wed Mar 03, 2010 7:49 pm
Forum: Web Design
Topic: [ALPHA] Ultimate Quiz MOD v2.1.2 Progress
Replies: 477
Views: 279854

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

and a related question for battye.....

should

Code: Select all

$user->lang['SUBMIT']
return the language value for the current user for language key 'SUBMIT' ?

My quiz.php language file doesnt contain a 'SUBMIT' key....
by subvertbeats
Wed Mar 03, 2010 7:44 pm
Forum: Web Design
Topic: [ALPHA] Ultimate Quiz MOD v2.1.2 Progress
Replies: 477
Views: 279854

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

cafeine....Is this on a new quiz? It should only show the cheating attempt if youve clicked SUBMIT before on a quiz - which I think you said you did. If you clicked the SAVE option instead of submitting the quiz, then you shouldnt see the cheating attempt warning. Try this: open quiz.php and find (a...
by subvertbeats
Wed Mar 03, 2010 5:44 pm
Forum: Web Design
Topic: [ALPHA] Ultimate Quiz MOD v2.1.2 Progress
Replies: 477
Views: 279854

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

What do you have set in the Quiz CP for 'Allow Saved Competitions' ?
by subvertbeats
Sat Feb 06, 2010 4:27 pm
Forum: Web Design
Topic: [ALPHA] Ultimate Quiz MOD v2.1.2 Progress
Replies: 477
Views: 279854

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

I will make that change and try - but is there a way to view a survey without going through the submit form?
Since we have the option set to only play once, I cant resubmit (I could create a new user for the purpose of the test but I dont want to affect the results)
Cheers!
by subvertbeats
Sat Feb 06, 2010 10:20 am
Forum: Web Design
Topic: [ALPHA] Ultimate Quiz MOD v2.1.2 Progress
Replies: 477
Views: 279854

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

yes, a few times now - both specifically deleted that template cache, and done a general purge cache.
by subvertbeats
Sat Feb 06, 2010 9:58 am
Forum: Web Design
Topic: [ALPHA] Ultimate Quiz MOD v2.1.2 Progress
Replies: 477
Views: 279854

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

by the way this is by no means urgent :)
by subvertbeats
Sat Feb 06, 2010 9:46 am
Forum: Web Design
Topic: [ALPHA] Ultimate Quiz MOD v2.1.2 Progress
Replies: 477
Views: 279854

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

indeed they are, and validated that fact in the DB too...
by subvertbeats
Sat Feb 06, 2010 9:20 am
Forum: Web Design
Topic: [ALPHA] Ultimate Quiz MOD v2.1.2 Progress
Replies: 477
Views: 279854

Re: [BETA 4] Ultimate Quiz MOD v2.0.0 Progress

No, it is the quiz_statistics table that is responsible for the surveys. (this is the line you leave uncommented) Is there any data in the quiz_statistics table? yes its recording data as normal now.... in the template (quiz_results_body.html) I have commented out some lines (eg RESULTS_SUMMARY, TI...