## Activities: Virtual programming lab

mod_vpl
Maintained by Juan Carlos Rodríguez-del-Pino
VPL is an activity module to manage programming assignments
13k
240
11
Moodle 2.3, 2.4, 2.5
##### The development team of VPL for Moodle is conducting a survey about possible improvements.  This survey will take you less than 5 minutes. By filling this survey, you are helping the evolution of VPL in the best way.

VPL- Virtual Programming Lab is a activity module that manage programming assignments and whose salient features are:

• Enable to edit the programs source code in the browser
• Students can run interactively programs in the browser
• You can run tests to review the programs.
• Allows searching for similarity between files.
• Allows setting editing restrictions and avoiding external text pasting.

### Contributors

• Tue, Apr 9, 2013, 1:05 AM
Hi Aparup,
yes I had seen the Anthony's suggestions, but I need time to learn how to manage Git and move my old CVS to github.
I am still using the old forum to answer questions from users.
Your comment has moved this element in my TODO list to a higher position.
Regards
Juan Carlos.
• Tue, Apr 9, 2013, 10:48 AM
Hi Juan,
That's cool.
There's just one change i see that can be easily fixed so that we can publish this.
- rename the REAME.txt file to README.txt

Also consider
- adding a website url : i think http://vpl.dis.ulpgc.es is ok for this.

You can add your source control (GIT or even CVS) when you come around to it.
• Tue, Apr 9, 2013, 10:37 PM
Thanks Aparup,
but I need time to make a new release, we have fix errors and made improvements to the submitted version.
We hope upload a new version in one or two weeks.
Best regards
• Wed, Apr 17, 2013, 11:24 AM
no problem , just schedule this for approval again
• Tue, Jul 23, 2013, 10:36 AM
Hi,
Have you managed to get the code onto a public git repository? We will need to put the link to code repository as well as documentation urls in the useful links section.
• Fri, Sep 27, 2013, 8:13 PM
Finally, all the related software of this module is now available in github.
Best regards.
• Thu, Oct 10, 2013, 10:36 AM
Thanks Juan! I've updated your tracker to point to your vpl project now.
• Thu, Mar 20, 2014, 4:21 AM
Hi Juan,

Thank you for this impressive plugin

After playing around with it, I found some issues you might like to fix:
in matlab_run.sh
-#52 echo "xterm -e matlab -nosplash" >> vpl_wexecution
+#52 echo "xterm -e matlab -nosplash" >> vpl_execution

I noticed that the the jail build script cannot remount the mount bind correctly. So my Jail ended with all mounts rw.
in vpl-jail-system.initd
-#174 mount -o remount,ro,nosuid "$JAILPATH$1"
+#174 mount -o remount,ro,nosuid,bind "$JAILPATH$1"

the "bind" option seems to be the only "workaround" to get the remount working?

I'm using Debian 7.2 amd64

regards Mario
• Fri, Mar 21, 2014, 1:24 AM
Thanks Mario, for your bug report and thanks again for your fix.

Regards,
Juan Carlos
• Sun, Apr 20, 2014, 8:15 PM
Hello,
when using moodle with RTL language the VPL editor is appearing from RTL and it's not convenient.
what css code will influence just the editor to appear from LTR -

Thank you
• Mon, Apr 21, 2014, 8:10 PM
Hello James,
to resolve the issue of the editor do the following:
Add the following properties to the class vpl_ide_root
text-align:left;
direction:ltr;
in file "editor/VPLIDE.css"

to get a complete solution see changes in v3.1 in github
https://github.com/jcrodriguez-dis/vpl/tree/v3.1

Notice that the editor (http://ace.c9.io) can't manages correctly embedded rtl text .

Best regards.
• Tue, Sep 9, 2014, 6:42 AM
Hello,
Can I ask why the website of plugin is offline?

Best regards
• Tue, Sep 9, 2014, 5:35 PM
Sorry Zbigniew,
It is my fault, we are migrating the server to other system and it is taking more time than expected.
Best regards
• Thu, Apr 30, 2015, 3:46 PM
hello everyone, I have downloaded this plugin and successfully added it into my Moodle app, but when I ran the plug in and wrote a sample code on it, it doesn't have Run button or other functions that would allow me to test my code.
• Thu, Apr 30, 2015, 10:01 PM
Hello gm pepz,
If you are logged as teacher you can use any button (run/debug/evaluate). If you want to activate these buttons for students, you must go to the VPL activity that you want to manage and go to "Settings->Execution options" and select the features that you want to offer to your students.
Best regards.