what about the future for UQM?

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

Post Reply
jpd
Greenhorn
Greenhorn
Posts: 7
Joined: Sat Aug 20, 2005 2:39 pm

I would like to know If it could be possible one day to make quizzes with pictures? I mean that a small picture (for example, taken from smartor album) could be shown instead of a question?

I 'll get a lot of use of it : education testing for students of biology with pictures of microscopy
jpd
Greenhorn
Greenhorn
Posts: 7
Joined: Sat Aug 20, 2005 2:39 pm

I 've installed the last release of UQM (1.1.0) and I encounter thsi problem :
SQL Error : 1054 Unknown column 'quiz_category' in 'where clause'

Line : 47
File : functions_quiz.php

help me!
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Hi, bbCode will be standard, likely in 1.1.1. That includes pictures.

Regarding the error, did you run quiz_install.php?
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
jpd
Greenhorn
Greenhorn
Posts: 7
Joined: Sat Aug 20, 2005 2:39 pm

yes of course I did the install
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

Does your line 47 match this area:

Code: Select all

function category_quizzes($id)
{
global $db;

$sql = "SELECT * FROM " . QUIZ_GENERAL_TABLE . " WHERE quiz_category = '" . intval($id) . "'";
		
	if(!$result = $db->sql_query($sql))
	{
	message_die(GENERAL_ERROR, '', 'Could not obtain quiz category data', __LINE__, __FILE__);
	}
	
return $db->sql_numrows($result);
}
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!

"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
Post Reply