Search found 113 matches

by subvertbeats
Tue Feb 02, 2010 12:45 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

Same as before - no output:
>>

Warning: Cannot modify header information - headers already sent by (output started at /home/mmadent/public_html/foru/control_quiz.php:64) in /home/mmadent/public_html/foru/includes/functions.php on line 3543
by subvertbeats
Tue Feb 02, 2010 12:40 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

hey battye

It is indeed correct (ID 10).

its the only Quiz in the DB.

and of course when I load control_quiz.php?mode=enter_answers&id=10 the page loads just fine and I am shown all the questions to enter the correct results.

Its only when I submit the answers that the SQL error occurs
by subvertbeats
Tue Feb 02, 2010 9:00 am
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

thanks battye... I get no output there:
>>

Warning: Cannot modify header information - headers already sent by (output started at /home/mmadent/public_html/foru/control_quiz.php:64) in /home/mmadent/public_html/foru/includes/functions.php on line 3543
by subvertbeats
Mon Feb 01, 2010 2:13 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

Hi battye

Yep, column exists and is populated throughout
by subvertbeats
Mon Feb 01, 2010 1:15 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

Hi battye Im about to patch this custom version upto beta 4, but before I do thought id try and resolve an issue. Ive just run our first competition...60 or so entries, 11 questions (predictions). I closed the competition successfully. Today Ive come to enter the correct answers, and Im getting this...
by subvertbeats
Mon Jan 25, 2010 1:43 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

OPEN quiz.php FIND around line 60 $result = $db->sql_query($sql); while( $row = $db->sql_fetchrow($result) ) REPLACE WITH $result = $db->sql_query($sql); while( $row = $db->sql_fetchrow($result) && $_POST['question' . $question_id_set[$i]] != 'cancelled' ) Then if a match is cancelled, ente...
by subvertbeats
Mon Jan 25, 2010 9:18 am
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

Thanks :) So Id first edit the question so that 'Cancelled' is one of the multiple choice options for that question (maybe replaced 'Draw' with 'Cancelled')? Then re-enter the answer using ?mode=enter_answers, and select the 'cancelled' option for that question? Also, just to confirm that re-enterin...
by subvertbeats
Mon Jan 25, 2010 2:14 am
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

Hi battye, I hope your weekend has been good.....thanks for the reply... One usage question on this battye.... If a match is cancelled, perhaps mid way through the week, when the comp is still open and lots of people have made their votes already, what is the correct procedure to remove that questio...
by subvertbeats
Sat Jan 23, 2010 11:43 am
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

Thanks moongirl !! Cheating attempts happen because you refreshed the quiz submission page. It is to stop people from refreshing the page in order to reset the time limit. So don't ever refresh a quiz page :wink: battye....where should I be looking to relax the cheating detection. Specifically I onl...
by subvertbeats
Fri Jan 22, 2010 5:44 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

One usage question on this battye.... If a match is cancelled, perhaps mid way through the week, when the comp is still open and lots of people have made their votes already, what is the correct procedure to remove that question from the comp (or mark it as invalid if removal is not possible), such ...
by subvertbeats
Fri Jan 22, 2010 5:23 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

In the spirit of the site....and to remember one of the greats

Image
by subvertbeats
Fri Jan 22, 2010 5:14 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

Many thanks battye......Looks to be working, but in reverse: QUIZ ID: 9 QUIZ NAME: Test Event Kamara666 (correct: 0, incorrect: 3) jnrpepaseed (correct: 1, incorrect: 2) Dragonfoxy (correct: 1, incorrect: 2) subvertbeats (correct: 2, incorrect: 1) SQL Query entered Is it simple to swap the order to ...
by subvertbeats
Fri Jan 22, 2010 4:43 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

Ahh not quite there.... The correct/incorrect ordering seems wrong: QUIZ ID: 8 QUIZ NAME: Heres my test comp Dent (correct: 1, incorrect: 2) subvertbeats (correct: 2, incorrect: 1) SQL Query entered (in the above example subvertbeats should be above Dent, with less incorrect answers). Is this workin...
by subvertbeats
Fri Jan 22, 2010 4:39 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

It is indeed a minor thing, and with that SQL code to delete the stats for a given quiz ID I think we're set!

Ive updated the OP, and everything in Phase 1 seems to be taken care of!
by subvertbeats
Fri Jan 22, 2010 4:30 pm
Forum: Web Design
Topic: UQM 2.0 - Predictions Extensions
Replies: 165
Views: 78040

Re: UQM 2.0 - Predictions Extensions

Ok..... So, its all looking great. One safety feature Id like to put in is for the stats for a given comp to be removed when you change the answers (i.e. to prevent stats being recorded twice). In reality, it shouldnt happen - but human error could easily mean an incorrect result is submitted with t...