Nanogong module issue.

Nanogong module issue.

Elton Shmutz發表於
Number of replies: 12
Hello,

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.
評比平均分數: -
In reply to Elton Shmutz

Re: Nanogong module issue.

Евгения Лалетина發表於

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)?

In reply to Евгения Лалетина

Re: Nanogong module issue.

Ian Semey發表於
Hi Евгения,

It would be very good to use a newer version of Moodle - you will get all the goodies that newer versions have.

And not so many moodlers use the old versions, so much fever people would be able to help.

/Ian
In reply to Ian Semey

Re: Nanogong module issue.

Евгения Лалетина發表於

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..

In reply to Евгения Лалетина

Re: Nanogong module issue.

Sébastien Grégoire發表於

Hi Евгения

I'm experiencing the same difficulties as you had last year with nanogon and version 1.6 of Moodle.

Could you possibly tell me where you found the specified functions in Moodle 1.9 so that I can copy them as well to 1.6?

Thanks a lot

In reply to Elton Shmutz

Re: Nanogong module issue.

Chris Delaney發表於

I'm having this exact problem.... did anyone get a solution (3 years ago!!).

Moodle v 1.9.8

Nanogong v 2010042200

Thanks in adavnce!!

In reply to Chris Delaney

Re: Nanogong module issue.

Nadav Kavalerchik發表於
Core developers的相片 Plugin developers的相片 Testers的相片 Translators的相片

Please see another solution for recording audio in moodle

It is a plugin (one of many) similar to nanogong

http://tracker.moodle.org/browse/CONTRIB-2730

In reply to Nadav Kavalerchik

Re: Nanogong module issue.

Glenys Hanson發表於

Hello Nadav,

Your plugin does look interesting but I'm afraid I'm not techie enough to understand how to install it.

Will there be version for Moodle 2.0 ?

Cheers,

Glenys

In reply to Glenys Hanson

Re: Nanogong module issue.

Nadav Kavalerchik發表於
Core developers的相片 Plugin developers的相片 Testers的相片 Translators的相片

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 微笑