17 posts / 0 new
Last post
kengrayfield
Offline
Last seen: 5 years 4 months ago
Joined: 04/20/2014
Multiple questions, problems and suggestions.

Hi,

I have encountered a few issues with Opigno that can really need improving:

  1. Import lesson problem: when I try to import multiple choice lessons with excel files, it always fails when the questions are in paragraphs ( I think it's more to do with the length of the question.)

  2. Lesson result comments: I want to have more than 5 result options. How do I do it?

  3. Lesson scores: I cannot give scores in decimal. It always rounds up the scores

  4. Site slogan: How can I enable platon theme to display my site slogan?

Here are a few at the moment. Thank you so much for the platform. I hope it continues to improve.

axel
Offline
Last seen: 10 hours 22 min ago
Staff
Joined: 09/25/2013
Hi,

Hi,

Here are some answers to your questions

1. This can be  because of a tool long text. Have you tried reducing the texts to check if the importation works ?

2. You can go to: http://your.domain.tld/admin/quiz/settings/config

3. At the moment this is unfortunately not possible. You can open an issue on drupal.org if you want

4. Platon does not integrate the site slogan at the moment. You can change it if you want, it's quite easy. Or, even more easily, you can use blocks (for example if you want to put it into the footer).

Thanks for your feedback. It helps us improving Opigno.

Best regards,

kengrayfield
Offline
Last seen: 5 years 4 months ago
Joined: 04/20/2014
Thank you for the reply.

Thank you for the reply.

  1. There is still error whenever I enter anything longer than a few lines. Error upon import.
  2. It works. Thanks!
  3. I will.
  4. Creating a new block view fixes this issues. Thanks!

Best, Ken

axel
Offline
Last seen: 10 hours 22 min ago
Staff
Joined: 09/25/2013
Hi

Hi

Thanks for your feedback.

Could you please post the error message when importing questions?

If you could also tell us what appears in "Recent log messages" (Report menu)?

Best regards

mahatma.heil@gm...
mahatma.heil@gmail.com's picture
Offline
Last seen: 6 years 3 months ago
Joined: 02/05/2014
Quiz Error on Excel Upload

We have had an error when uploading an excel spreadsheet for a quiz. An error occurred when parsing the data.

Any suggestions?

James Aparicio
James Aparicio's picture
Offline
Last seen: 2 months 1 week ago
Staff
Joined: 10/30/2013
Hi mahatma,

Hi mahatma,
Can you share the details of the error ocurred?
Best regards

kengrayfield
Offline
Last seen: 5 years 4 months ago
Joined: 04/20/2014
Ok, sorry to take so long to

Ok, sorry to take so long to respond. Here's the error code whenever I try to import quiz with excel with questions containing the return characters (the questions are in paragraph form)

PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'title' at row 1: INSERT INTO {node} (type, language, title, uid, created, changed) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( [:db_insert_placeholder_0] => multichoice [:db_insert_placeholder_1] => und [:db_insert_placeholder_2] => Read the following passage. Then answer the questions: 1 Sometimes the meaning of glowing water is ominous. Off the Pacific Coast of North America, it may mean that the sea is filled with a minute plant that contains a poison 5 of strange and terrible virulence. About four days after this minute plant comes to alter the coastal plankton, some of the fishes and shellfish in the vicinity become toxic. This is be cause in their normal 10 feeding, they have strained the poison ous plankton out of the water. Fish and shellfish become toxic when they: [:db_insert_placeholder_3] => 1 [:db_insert_placeholder_4] => 1402409625 [:db_insert_placeholder_5] => 1402409625 ) in drupal_write_record() (line 7207 of /home/edlink/domains/edlink.linux-hk01.host-adm.com/public_html/includes/common.inc).

James Aparicio
James Aparicio's picture
Offline
Last seen: 2 months 1 week ago
Staff
Joined: 10/30/2013
Hi kengrayfield,

Hi kengrayfield,
The script is reading

"Then answer the questions: 1 Sometimes the meaning of glowing water is ominous. Off the Pacific Coast of North America, it may mean that the sea is filled with a minute plant that contains a poison 5 of strange and terrible virulence. About four days after this minute plant comes to alter the coastal plankton, some of the fishes and shellfish in the vicinity become toxic. This is be cause in their normal 10 feeding, they have strained the poison ous plankton out of the water. Fish and shellfish become toxic when they:"

as the title, creating an error because it is to big for the title field.
Either there is something wrong with the structure or the format of the file you are importing.
Best regards

kengrayfield
Offline
Last seen: 5 years 4 months ago
Joined: 04/20/2014
James,

James,

Thanks for the speedy reply. However I followed the quiz import excel format found in the manual. I do not know how to set a different title from the actual questions.

Regards, Ken

James Aparicio
James Aparicio's picture
Offline
Last seen: 2 months 1 week ago
Staff
Joined: 10/30/2013
If you are sure that the

If you are sure that the structure and format is ok,
To debug open the file opigno_quiz_import_app.module and inside the function opigno_quiz_import_app_import_form_submit($form, $form_state)
you can add
print_r($variable you want to check);
die();
or dpm or watchdog
This way you can debug it.

Best regards

James Aparicio
James Aparicio's picture
Offline
Last seen: 2 months 1 week ago
Staff
Joined: 10/30/2013
You can send me the file if

You can send me the file if you dont think you can figure it out.

Best regards
James Aparicio

kengrayfield
Offline
Last seen: 5 years 4 months ago
Joined: 04/20/2014
James,

James,

I am far from a programmer and the word debugging sounds as alien to me as deep water squid hunting ;)

Here's the file in question:

www.edlink.cn/sites/opigno.local/files/images/lessons/sat-critical-readi...

Regards, Ken

James Aparicio
James Aparicio's picture
Offline
Last seen: 2 months 1 week ago
Staff
Joined: 10/30/2013
Hi kengrayfield,

Hi kengrayfield,
Seems that the only problem is the size of the question, it is to big.
I will add this to our to do list. To add a new column for the title.
In the meanwhile if you go to the file opigno_quiz_import_app.module and where you have

// Start a new one.
$node = (object) array(
'title' => $question,

can you please put

// Start a new one.
$trimmed = substr($question, 0, 250);
$node = (object) array(
'title' => $trimmed,

Thank you for letting us now of this,

Best regards

jumpthattb
Offline
Last seen: 2 months 1 week ago
Joined: 12/16/2019
Thank you You are the bomb

Works perfect!

kengrayfield
Offline
Last seen: 5 years 4 months ago
Joined: 04/20/2014
That solves it! Definitely

That solves it! Definitely include this in the next update!

chadels44
chadels44's picture
Offline
Last seen: 3 years 7 months ago
Joined: 12/05/2016
Multiple Choice Questions

Im have a problem, i have put in all Q&A into the lessons, when i go and do the rest the answers pop up but not the questions, it is the multiple choice template opigno provides, is there a setting or some thing i have missed?

Thanks

Ajascosoft
Offline
Last seen: 2 years 7 months ago
Joined: 02/15/2018
Preamble question in Opigno

I just found out about Opigno and i must say it is a great tool, congratulations! I am adding lessons and i have some questions with preambles. Thus, i have a passage which is to be used to answer a set of multiple choice questions. How do i make the passage available for all the questions that emanate from the passage?