Nanogong module issue.

Nanogong module issue.

door Elton Shmutz -
Aantal antwoorden: 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.
Gemiddelde van de beoordelingen:  -
Als antwoord op Elton Shmutz

Re: Nanogong module issue.

door Евгения Лалетина -

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

Gemiddelde van de beoordelingen:  -
Als antwoord op Евгения Лалетина

Re: Nanogong module issue.

door 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
Gemiddelde van de beoordelingen:  -
Als antwoord op Ian Semey

Re: Nanogong module issue.

door Евгения Лалетина -

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

Gemiddelde van de beoordelingen:  -
Als antwoord op Евгения Лалетина

Re: Nanogong module issue.

door 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

Gemiddelde van de beoordelingen:  -
Als antwoord op Elton Shmutz

Re: Nanogong module issue.

door chihuei lu -
I have the same problem. I don't see anything beneath the word : "Message List" as a administrator or a teacher.
Gemiddelde van de beoordelingen:  -
Als antwoord op Elton Shmutz

Re: Nanogong module issue.

door 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!!

Gemiddelde van de beoordelingen:  -
Als antwoord op Chris Delaney

Re: Nanogong module issue.

door Nadav Kavalerchik -
Foto van Core developers Foto van Plugin developers Foto van Testers Foto van 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

Gemiddelde van de beoordelingen:  -
Als antwoord op Nadav Kavalerchik

Re: Nanogong module issue.

door 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

Gemiddelde van de beoordelingen:  -
Als antwoord op Glenys Hanson

Re: Nanogong module issue.

door Nadav Kavalerchik -
Foto van Core developers Foto van Plugin developers Foto van Testers Foto van Translators

Hello Glenys glimlach

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 glimlach

Gemiddelde van de beoordelingen:  -