Installing Feedback Module

Installing Feedback Module

by Michelle Eames -
Number of replies: 27

I have Moodle 1.8 and have just been given access to the server (so I don't want to mess it up!)  How do i actually install this module?

Thanks in advance

Michelle

Average of ratings: -
In reply to Michelle Eames

Re: Installing Feedback Module

by Heather P -
Hi
try the documentation http://docs.moodle.org/en/Category:Modules_%28non-standard%29
In brief I seem to recall that Feedback is both a module and a block, so you would add the module part to the modules folder and the block part to the block folder and the language bit if there is one in the Moodledata/lang folder. Visit the admin page and hey presto.
Definitely suggest reading the documentation page though!
In reply to Michelle Eames

Re: Installing Feedback Module

by Richard Goddard -
  • Unzip the package to a temporary folder somewhere.
  • Inside the moodle folder in the unzip, find mod and inside that find feedback.Copy this feedback folder into (yourmoodle)/mod
  • Inside the moodle folder in the unzip, find blocks and inside that find feedback.Copy this feedback folder into (yourmoodle)/blocks
  • Inside the moodle folder in the unzip, find lang and inside that find the relevant language folder for you (english is en_utf8). Therein you'll find two php files (block_feedback.php and feedback.php). Copy these two files into (yourmoodle)/lang/(language) - e.g. (yourmoodle)/lang/en_utf8
  • Also in the relevant language folder you'll find a help folder and inside that a feedback folder. Copy this feedback folder into (yourmoodle)/lang/(language)/help - e.g. (yourmoodle)/lang/en_utf8/help
  • Finally. go to your moodle front page, log on as an Admin and click Notifications in the Site Admin block.

NOT a standard install!!! But it's a brilliant little package once it's in place - I use it all the time for all sorts of things.




Average of ratings:Useful (1)
In reply to Richard Goddard

Re: Installing Feedback Module

by Anthony Borrow -
Immàgine de Core developers Immàgine de Plugin developers Immàgine de Testers
Richard - Thanks for the clear instructions on how to install the feedback module! I agree that the feedback activity module is very useful. Hopes are (and work is being done) to have it incorporated into Moodle core for 2.0. Peace - Anthony
In reply to Richard Goddard

Re: Installing Feedback Module

by Ian Evans -
Thank you for the instructions, but the Feedback zip file for moodle v1.8 doesn't have a mod or a blocks subfolder. I installed it under the mod directory in my moodle installation, but I don't have a block in which to use the feedback that I have created.

Any suggestions for how to correctly install the latest version for moodle? I'm running moodle 1.9.

Thanks,
Ian
In reply to Ian Evans

Re: Installing Feedback Module

by Anthony Borrow -
Immàgine de Core developers Immàgine de Plugin developers Immàgine de Testers
Ian and Deece - Let me check with Andreas (the developer of the feedback module and block). I have confirmed that the current zip file that he is using on his site does not include the block and I want to make sure that I am telling you correctly how to get it. I want to make sure that what is in CVS is the most up to date version. As you note there are two components to the feedback activity - one is the module and the other is the feedback block. A download of the module for Moodle 1.8 (at least the current one in CVS CONTRIB) is available at:

http://download.moodle.org/plugins18/mod/feedback.zip

The block is available at:

http://download.moodle.org/plugins18/blocks/feedback.zip

Let me know if that helps you out. Peace - Anthony
In reply to Anthony Borrow

Re: Installing Feedback Module

by Ian Evans -
Thank you. Yes. There is another discussion topic ("Feedback: best version for 1.8+") in which you discuss installing the version for Moodle 1.7 first (which contains mod and block subfolders) and then install the version for Moodle 1.8+ into your 'mod' folder. I did that and things are working fine. Also, I confirmed that the version you posted up above is the same as contained in feedback1.7.zip.

There may be another issue that I was having, though. I had my Front Page default role set to Authenticated User, and things didn't work correctly until I set it to Student. Now, instead of everyone being directed to the feedback edit page, they are actually directed to take the survey. I'm kind of a newbie, so I don't know if that's how it's supposed to work or not.

Anyway, thanks much for your help!
Ian
In reply to Ian Evans

Re: Installing Feedback Module

by Anthony Borrow -
Immàgine de Core developers Immàgine de Plugin developers Immàgine de Testers
Ian - It has been a while since I looked at the code so I am not sure what permission checks are made. If I understand you correctly though, I would not want everyone to see the edit page if the default role is set to Authenticated User on the front page. That sounds like a bug to me and would be worthy of reporting in the tracker. Perhaps if Andreas sees this question he might have some insights. Peace - Anthony
In reply to Ian Evans

Re: Installing Feedback Module

by Andreas Grabs -
Immàgine de Core developers Immàgine de Particularly helpful Moodlers Immàgine de Peer reviewers Immàgine de Plugin developers Immàgine de Translators
Hi Ian,

the feedback_18.zip now includes the block again. Sorry, I did forget to put it in.
Your second issue I am not sure whether I do understand you. The feedback edit page is shown by default only for editing teachers or admins and still in this version the course creators. If you want the authenticated users should see the edit page too, so you have to override the permissions for that role.

Andreas
In reply to Andreas Grabs

Re: Installing Feedback Module

by Ian Evans -
Hi Andreas,
First, thank you for all of your excellent work!

As for this issue, you seem to understand it correctly. I do NOT want all authenticated users to be able to edit a feedback, only the admins and course creators. However, I previously had the Frontpage Default Role set to Authenticated User (under Front Page settings.) With that setting, everybody who logs in can edit the feedbacks that I create, and nobody can actually do the feedback activities. When I changed the Frontpage Default Role to Student, then everything works as intended.

Is this how it should behave?

Thanks again!
Ian
In reply to Ian Evans

Re: Installing Feedback Module

by Andreas Grabs -
Immàgine de Core developers Immàgine de Particularly helpful Moodlers Immàgine de Peer reviewers Immàgine de Plugin developers Immàgine de Translators
Hi Ian,

no. By default no authenticated user should be able to see the edit page except admins, teachers or coursecreators. The default role for all users (Site Administration->Users->Permissions->User policies) should be "authenticated user".
By the way on frontpage settings I can't see an option for default role. Did you mean the same as me?

Andreas
In reply to Andreas Grabs

Re: Installing Feedback Module

by Ian Evans -
Hello Again,
When logged in as my admin user, I select Front Page >> Front Page settings. The last option on this settings page is "Default frontpage role" for which the Moodle default appears to be None. I had it set to "Authenticated User" and this seems to have caused the unwanted behavior I mentioned earlier (eg - everybody could edit the feedbacks.) When I changed it to "Student" things began working as expected.

On the Site Administration >> Users >> Permissions >> User Policies screen, I still have the "Default role for all users" set to "Authenticated User". Thing seem to be working fine, now.

I hope this is helpful, but my understanding of the Roles versus User Permissions and how they interact is not crystal clear, so this could just be a misunderstanding on my part.

Ian
In reply to Ian Evans

Re: Installing Feedback Module

by Andreas Grabs -
Immàgine de Core developers Immàgine de Particularly helpful Moodlers Immàgine de Peer reviewers Immàgine de Plugin developers Immàgine de Translators
Sorry, I did forget you use version 1.9.
But nevertheless if there is set authenticated users so no user should be see the edit page.

Andreas
In reply to Anthony Borrow

Vast: Re: Installing Feedback Module

by lasse utti -
After installing those two zipfiles my problem, export feedback results to Excel-files, gone away.... Thanks.

...Lasse...

ps. I hope that upgrading to Moodle1.9x do not break feedback as last time ( 1.8 -> 1.83 ) happened.



In reply to lasse utti

Re: Vast: Re: Installing Feedback Module

by Anthony Borrow -
Immàgine de Core developers Immàgine de Plugin developers Immàgine de Testers
Lasse - I'm glad the excel problem is fixed for you. When working with CONTRIB (contributed) code (like the feedback block and module), there is always a risk. However, the latest version from Andreas has been tested on 1.8 and 1.9 so I would not expect that you will have a problem. If you do, I suspect that it is simply a matter of getting the right code in place and you should be in good shape. Let us know if you have any troubles. Peace - Anthony
In reply to Anthony Borrow

Re: Vast: Re: Installing Feedback Module

by Janet Smith -

Hi,

Perhaps I am doing something wrong, but when I install the feedback block the name of the block appears as feedback on the screen, rather than Feedback as I would expect.  I found in the php file where I can change the f to a capital, but how do I get rid of the 2 sets of brackets.  I just looks sort of odd on the screen surrounded by brackets like that.

Thanks!

In reply to Janet Smith

Re: Vast: Re: Installing Feedback Module

by Anthony Borrow -
Immàgine de Core developers Immàgine de Plugin developers Immàgine de Testers
Janet - The double brackets indicate that the block is not finding the string 'feedback' in the language pack. I think you need to verify that you have the file /mod/feedback/lang/en_utf8/block_feedback.php on your server. I am assuming that you are using an English language file. Once the block can find the language string the brackets will go away. Also, I would change the capital F back to a f so that the language string is found since PHP is case sensitive. Peace - Anthony
In reply to Anthony Borrow

Re: Vast: Re: Installing Feedback Module

by Richard Goddard -
Hi! It's important, as Anthony says, to make sure the language files are correctly in place (see my earlier post to this forum on Friday, 11 January 2008 for "how to"). It's also useful to understand how language edits which are made locally (i.e. in "your" Moodle) are stored. Essentially, changed phrases (only) are stored in a special "local" version of the relevant language file. This is in order not to lose the edited phrases when Moodle is upgraded to a new version.

If you aren't aware of this, replacing language files can be confusing. See this link for details: http://docs.moodle.org/en/Language

In reply to Richard Goddard

Re: Vast: Re: Installing Feedback Module

by Janet Smith -

Hi,

Thanks Anthony and Richard for your responses on the  bracketed feedback block name.  I found that in my install there were no language files associated with the block, just with the module.  I went into moodle\mods\feedback\lang and copied the en_utf8 folder.  I then went to \moodle\blocks\feedback, created a 'lang' folder and pasted en_utf8 in there.  Once I did that, the block name fixed itself and looks great. 

Not sure if this was the best way to fix this or not, but it worked. 

Thanks!

Average of ratings:Useful (1)
In reply to Janet Smith

Re: Vast: Re: Installing Feedback Module

by Scott Karren -
Janet,

Thanks, I was having the same issue, your response solved it.

Scott Karren
In reply to Richard Goddard

Re: Installing Feedback Module

by Mario Villalobos -
I follow your installation guide, but the message
--Module "feedback_18" is not readable - check permissions--

keeps showing in the top of the page, after restart moodle

what can I do?
In reply to Mario Villalobos

Re: Installing Feedback Module

by Andreas Grabs -
Immàgine de Core developers Immàgine de Particularly helpful Moodlers Immàgine de Peer reviewers Immàgine de Plugin developers Immàgine de Translators
Hi Mario,

you have to rename the folder "feedback_18" to "feedback".

Andreas
In reply to Andreas Grabs

Re: Installing Feedback Module

by Rachelle Hernandez -

Hello...

I am fairly new to using moodle but have made good progress in a few short weeks. However, I have tried installing the feedback module and also keep getting the permission message:

Module feedback: /home/elearni9/public_html/mod/feedback/version.php was not readable

I have two questions.

1. Does it matter that I've upgraded to 1.9 version of moodle and am trying to use feedback_18?

2. If it does matter, I have also tried downloading the feedback module for 1.9 and get the exact same message as above, so what am I still missing?

Thanks for your help! 

In reply to Rachelle Hernandez

Re: Installing Feedback Module

by Andreas Grabs -
Immàgine de Core developers Immàgine de Particularly helpful Moodlers Immàgine de Peer reviewers Immàgine de Plugin developers Immàgine de Translators
Hi,

I think you have to check the file permissions. The feedback-folder and its including files have to be world-readable.
The version of feedback do you want to use depends of the version of moodle.

Andreas
In reply to Andreas Grabs

Re: Installing Feedback Module

by Rachelle Hernandez -
This may be a stupid question, but where do I check the file permissions? If you could point me in the direction I can probably figure it out from there! Thanks!
In reply to Rachelle Hernandez

Re: Installing Feedback Module

by Andreas Grabs -
Immàgine de Core developers Immàgine de Particularly helpful Moodlers Immàgine de Peer reviewers Immàgine de Plugin developers Immàgine de Translators
Hi,

it depends from your server configuration. If you use linux/unix so you can use the chmod-command. On windows-Servers you can do that on the file-property dialog.

Andreas