I've got a strange problem with the Nano-Gong module right now and I'm sure its a fairly legitimate problem.
....at least one that I can't figure out.
'NanoGong' is so far, working pretty well. The problem is the following:
I've assigned myself the role as 'administrator' / 'teacher' yet I still cannot get inside nanogong postings made by 'students'. (or made by myself assuming the role of 'student') In fact, as an 'admin' or 'teacher' I cannot even SEE the postings.
I can only access anything using 'student mode'.
Basically, when I am in 'teachers' or 'admin' mode, and I'm viewing the 'messages' page, I cannot see anything beneath the word : "Message List".
Its as if it is not recognizing the 'admin' or 'teacher' privilege.
This, despite the fact that -as a 'student'- I've actually posted a message so I know the message is actually there.
I cannot figure out what the problem is.
Know what I'm doing wrong?
Any help would be greatly appreciated.
Hello!
I have some problems using NanoGong too.
When I view message list as admin, I see error message: "Fatal error: Call to undefined function get_context_instance() in z:\home\moodle166.loc\www\mod\nanogong\locallib.php on line 370"
And when I try to submit a message as a student, I get another error: "Unknown parameter type: PARAM_TEXT". The table nanogong_message is empty.
I am using Moodle 1.6.6.
Can anyone help or should I use another version of Moodle (1.7.4, 1.8.4, 1.9)?
Hi, Ian.
Thank you for your advice! Of course I understand that it would be much better to use newer version of moodle, but I have already made so many changes to the version I use, that it seems to me very doubtful to upgrade in the short time.
Of course, I have plans to upgrade, but not now.
By the way, I solved the problem:
I have copied functions get_context_instance (), create_context (), get_context_instance_by_id () from Moodle 1.9.
And I have added TEXT_PARAM in the function clean_param()
And I had to cut the first symbol from the string, which contained the path to the uploaded file (it was some strange unprintable thing... in some other encoding, and the address of the file was wrong). File mod/nanogong/locallib.php (line 916) and file lib/editor/htmlarea/popups/insert_sound.php (line 86)
May be someone will need the solution..
Please see another solution for recording audio in moodle
It is a plugin (one of many) similar to nanogong
Hello Glenys
I hope it will get some approval from the core team and be part of Moodle 2 core.
so people would only need to drag and drop plugin folders to get a new plugin available to them.
It is a very small patch.
I have allot on my hands right now,
but when i get some more free time, i'll port it into TinyMCE too.
Cheers,
Nadav