## Blocks: PBLTool (CLPMTool)

block_pbltool
Maintained by Marcelo Schmitt
This block implements a project management tool create to be used with collaborative learning. It is integrated with group forum and chat. The main ideia is that students and teacher plan ther activities together.
37 sites
11 fans
Current versions available: 2

### Contributors

• Tue, Apr 14, 2015, 12:26 AM
Ryan
I published a new release. I think it is ok now.
• Tue, Apr 14, 2015, 1:43 PM
Hi there,
I am getting the error : "Sorry, but you do not currently have permissions to do that (pbltool:viewpages)" when I am logged in as an admin user.
• Sat, Apr 25, 2015, 3:06 AM
JAswinder, what are you trying to access? I have to simulate the error.
• Sat, Apr 25, 2015, 9:49 PM
Hi Marcelo, I have added the block to my course page and when I am clicking the Project not configured link, then I am getting the error "Sorry, but you do not currently have permissions to do that (pbltool:viewpages)" even after I am logged in as an admin user.
• Fri, May 8, 2015, 1:14 AM
Hey guys, I was unable to reproduce the error Jaswinder is experiencing. Does anybody has the same problem?
• Tue, May 12, 2015, 8:42 PM
I do : I create groups, fill them with students, a forum with groups, a chat with groups, then a block where I select both forum and chat previously created, I save and click on "Project not configured" and get :
Désolé, vous n'avez actuellement pas les droits d'accès requis pour effectuer ceci (pbltool:viewpages) <- In English : Sorry, but you do not currently have permissions to do that

Debug info:
Error code: nopermissions
Stack trace:
line 786 of /lib/accesslib.php: required_capability_exception thrown
line 41 of /blocks/pbltool/authorization.php: call to require_capability()
line 36 of /blocks/pbltool/view.php: call to include()

I'm on Moodle 2.8.2 on MAMP.
• Fri, May 15, 2015, 4:05 AM
Sorry guys. I had make a terrible mistake. When I fixed db/access.php, changing admin for manager, I had copied from another plugin of mine. I uploaded a new version correcting it. You can notice that in access.php, I am referencing analytics_graphs instead of pbltool. I hope everything works now.
• Wed, Nov 11, 2015, 10:40 PM
Hi,
If I have understood correctly, a student should be able to change the task definition if a teacher marks the task as "Teacher did not agree with the task and students must improve planning", however a student can not change any of a task details (name, start, end). The only available option to a student is to change the status to "Students are asking teacher if the task was well planned".
Regards,
Pero
• Thu, Nov 12, 2015, 8:07 PM
Strange... I have never had such issue. I will test and try to reproduce to see what is happening. Sorry for that, Pero.
• Thu, Nov 19, 2015, 7:53 PM
If it helps, software versions are: PBLTool (CLPMTool) - v2.7-r2, Moodle 2.9.2
• Thu, Dec 3, 2015, 12:28 AM
Ok. Fix it. Thanks a lot.
• Mon, Jun 19, 2017, 10:55 PM
Plugin parece ser interessante mas não consigo correr no Moodle 3.2
O plugin instala sem dar qualquer tipo de erro. Consigo adicionar o bloco mas quando o professor tenta editar dá o erro:
block_pbltool/nogroup user

Instalando o bloco com a conta de administrador consigo editar, mas quando carrego nas Tasks de um grupo, recebo o erro:
Foi detetado o seguinte erro de programação que deve ser corrigido por um programador: notlocalisederrormessage

Vai existir alguma versão do plugin para o moodle 3.2?

####

Plugin with 2 errors:
As teacher I receive the error "block_pbltool/nogroup user" when I try to edit the work.

Best regards.

César
• Wed, Sep 19, 2018, 5:05 PM
Is there still any development on this plugin? It would be nice to use but JpGraph seems not to be compatible with PHP7 anymore. Would be nice if you could fix that.

Kind regards
• Wed, Sep 19, 2018, 9:11 PM
Hi,

I figured out, that JPGraph itself seems to work with PHP 7. Just that the procedure to determine the minimum PHP version is bound to the major Version 5. If you have a look at the jpgraph/jpgraph.php file you see in the function CheckPHPVersion that it compares the major version number and returns false if it differs! (So not regarding if it is lower or higher - just if it differs!)

To fix this it is just necessary to change
if ($majorC !=$majorR) return false;
to
if ($majorC >$majorR) return true;

Kind regards
• Mon, Sep 24, 2018, 7:19 PM
Robert, I can come back to this project. I will do that. Give one week, please.