ucla / moodle-enrol_invitation

GNU General Public License v3.0
2 stars 14 forks source link

Moodle 3.0 #2

Open elmatusov opened 8 years ago

elmatusov commented 8 years ago

Dear Yurij, I love your plugin. I tried it on Moodle 3.0.2 and it does not seem to work. Can you check if it and if needed, fix it, please? Thanks, Eugene

PetrovskYYY commented 8 years ago

Could you be more specific about what is wrong with plugin? (Also, please, note what version you use). I had upgraded my university installation to version 3.0.2 recently and it seemed to work.

OptrixAU commented 8 years ago

If you have problems installing, see issue #3.

elmatusov commented 8 years ago

It works with Moodle 3.0.4 but I have to made the following changes in \enrol\invitation\locallib.php: Line 155: $invitation->subject = $data->subject;//Eugene edit: cut period before = Line 201: $contactuser->id=-99;//Eugene edit: add the statement

kchetan92 commented 8 years ago

I got the following error while trying to install it on version 3.1

Debug info: Missing $plugin->component declaration in version.php. Error code: detectedbrokenplugin

Stack trace: line 464 of /lib/upgradelib.php: plugin_defective_exception thrown line 1742 of /lib/upgradelib.php: call to upgrade_plugins() line 677 of /admin/index.php: call to upgrade_noncore()

elmatusov commented 8 years ago

Dear kchetan92,

Please open the version.php file, located in the invitation folder, in any text editor and check if the following statements are there:

$plugin->version = 2013030102; $plugin->requires = 2011120500; // Requires Moodle 2.2 or later $plugin->maturity = MATURITY_RC; $plugin->component = 'enrol_invitation';

If not, please add it from my list. I suspect that the last statement is missing. It was not required in Moodle2.x version.

After the editing the version.php file, please try again to install the invitation plugin.

I hope this will help,

Eugene

kchetan92 commented 8 years ago

This worked. Great! Thanks, I'll try it out now.

On Sun, Aug 7, 2016 at 10:58 PM, elmatusov notifications@github.com wrote:

Dear kchetan92,

Please open the version.php file, located in the invitation folder, in any text editor and check if the following statements are there:

$plugin->version = 2013030102; $plugin->requires = 2011120500; // Requires Moodle 2.2 or later $plugin->maturity = MATURITY_RC; $plugin->component = 'enrol_invitation';

If not, please add it from my list. I suspect that the last statement is missing. It was not required in Moodle2.x version.

After the editing the version.php file, please try again to install the invitation plugin.

I hope this will help,

Eugene

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ucla/moodle-enrol_invitation/issues/2#issuecomment-238095713, or mute the thread https://github.com/notifications/unsubscribe-auth/AFqEmC7YcJOyUsW11Qc6mJYm8pJQYqmkks5qdhW_gaJpZM4HZvbT .

K Chetan

ernanims commented 4 years ago

For me it does not work Is it possible to use in Moodle 3.6.2 (Build: 20190114) ??

After the installation, and change in version.php file, the Moodle start to check for update and does not back